Created attachment 642087 [details] testcase 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.
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.
You need to log in before you can comment on or make changes to this bug.