[Webkit-unassigned] [Bug 69211] HTML document is re-requested for empty URL in background:url()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Oct 2 02:18:51 PDT 2011


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


Vsevolod Vlasov <vsevik at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vsevik at chromium.org




--- Comment #6 from Vsevolod Vlasov <vsevik at chromium.org>  2011-10-02 02:18:50 PST ---
(In reply to comment #5)
> Could you please attach your test case?
> 
> This sounds like a missed case in bug 30303 and related bugs.

http://www.w3.org/TR/CSS2/syndata.html#uri
Relative URIs (as defined in [RFC3986]) are resolved to full URIs using a base URI. RFC 3986, section 5, defines the normative algorithm for this process. For CSS style sheets, the base URI is that of the style sheet, not that of the source document.

So according to spec adding url() to css triggers another load if this stylesheet as an image, this is not a bug.

>From this moment on CachedResource stored in MemoryCache for this url has Image type, and it is not possible to correctly show it in Web Inspector.

See also http://code.google.com/p/chromium/issues/detail?id=84605 for the same problem.

-- 
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