Closed
Bug 773825
Opened 12 years ago
Closed 5 years ago
resolving relative urls in style attribute depends on relative order of xml:base and style attrs
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: fantasai.bugs, Assigned: jkt)
References
()
Details
Attachments
(1 file)
1.47 KB,
application/xhtml+xml
|
Details |
If I understand correctly, these two should be processed the same way: <p style="background-image: url(swatch-lime.png)" xml:base="../"> <p xml:base="../" style="background-image: url(swatch-lime.png)"> However only the second one works in Gecko.
Comment 1•12 years ago
|
||
Basically, we don't handle dynamic changes to xml:base in any sort of useful way.... and we parse the style attribute eagerly. We could "fix" the latter, but the former would remain. And similar for <base>, of course. Imho we should simply drop xml:base support, btw.
If we want to do that, we probably want to get it dropped from the HTML5 spec, too. (Fwiw, both us and Opera support xml:base, just not on style attributes. I haven't checked IE.)
This test is also: http://test.csswg.org/suites/css-style-attr/nightly-unstable/xhtml1/style-attr-urls-003.xht (In reply to Boris Zbarsky (:bz) from comment #1) > Basically, we don't handle dynamic changes to xml:base in any sort of useful > way.... This is bug 303478.
Assignee | ||
Comment 4•5 years ago
|
||
Marking WONTFIX as Bug 903372 removed support for xml:base. Even if it is reopened, I don't think we intent to continue support for this feature.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
Assignee | ||
Updated•5 years ago
|
Assignee: nobody → jkt
You need to log in
before you can comment on or make changes to this bug.
Description
•