changeset 8ba155073257 in sao:default
details: https://hg.tryton.org/sao?cmd=changeset;node=8ba155073257
description:
        Hide also image without src attribute

        We add also the img tag on empty src attribute because it is faster for 
the
        browser and it is the only tag we used with src attribute.

        issue8066
        review68461002
diffstat:

 src/sao.less |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff -r 2a43e5b36ed7 -r 8ba155073257 src/sao.less
--- a/src/sao.less      Sun Feb 03 20:44:50 2019 +0100
+++ b/src/sao.less      Tue Feb 05 19:05:10 2019 +0100
@@ -142,7 +142,8 @@
 }
 
 /* Hide empty image displayed as broken image */
-[src=''] {
+img[src=''],
+img:not([src]) {
     visibility: hidden;
 }
 

Reply via email to