[Webkit-unassigned] [Bug 70325] New: Web Inspector: CSS background-image applied inline shows a warning, but still works.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 18 06:35:48 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=70325

           Summary: Web Inspector: CSS background-image applied inline
                    shows a warning, but still works.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Keywords: InChromiumBugs
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: apavlov at chromium.org
                CC: timothy at apple.com, rik at webkit.org, keishi at webkit.org,
                    pmuellr at yahoo.com, joepeck at webkit.org,
                    pfeldman at chromium.org, yurys at chromium.org,
                    bweinstein at apple.com, apavlov at chromium.org,
                    loislo at chromium.org


1. declare a CSS background-image inline (within the style
attribute of a <tag>)

What do you see instead?

Chrome's Developer Tools shows a warning icon
and strikethrough of the rule, yet the image still renders fine. No
warning is shown if the background-image is declared as a CSS rule.

Changing the inline rule from 'background-image' to just
'background' (but leaving only the url value) causes the warning to go
away. This seems very strange and I am curious if it is a bug.

Please see this example where there are 3 background-images (1 CSS
rule, 2 inline). The 2 inline have warnings. Change one of them to be
just 'background' and the warning will go away.

http://jsfiddle.net/sandeep/RDmRz/2/show/


Upstreaming http://code.google.com/p/chromium/issues/detail?id=100646

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list