By accident, I found that SeaMonkey 2.52a1 now has a new about:config entry: layout.css.style-attr-with-xml-base.disabled
Can anybody tell me anything about this one? It sounds promising, but a quick and dirty test shows that it does nothing. At least, not what I thought it might do.
So anyway, I find that I cannot search for this pref. No matter what search engine I use or if I wrap it in quotes or not, all I get is pages that happen to contain the individual words, but not the whole string.
Help?
layout.css.style-attr-with-xml-base.disabled in about:config
- Pim
- Posts: 2215
- Joined: May 17th, 2004, 2:04 pm
- Location: Netherlands
-
- Posts: 1504
- Joined: October 1st, 2014, 3:25 pm
- Pim
- Posts: 2215
- Joined: May 17th, 2004, 2:04 pm
- Location: Netherlands
Re: layout.css.style-attr-with-xml-base.disabled in about:co
Thanks.
Unfortunately I don't know enough about the sources to be able to tell from it if it's SVG only, or what it is they add the ref to. But thanks anyway!
Unfortunately I don't know enough about the sources to be able to tell from it if it's SVG only, or what it is they add the ref to. But thanks anyway!
Groetjes, Pim
-
- Posts: 1504
- Joined: October 1st, 2014, 3:25 pm
Re: layout.css.style-attr-with-xml-base.disabled in about:co
You're welcome.
Neither do I. I was hoping someone else could figure out what that code does.Pim wrote:Unfortunately I don't know enough about the sources to be able to tell from it if it's SVG only, or what it is they add the ref to.
-
- Posts: 319
- Joined: October 18th, 2004, 9:47 am
Re: layout.css.style-attr-with-xml-base.disabled in about:co
https://bugzilla.mozilla.org/show_bug.cgi?id=1345343
1345343 - Add a pref to turn off xml:base for style attribute
https://reviewboard.mozilla.org/r/118918/diff/1/
1345343 - Add a pref to turn off xml:base for style attribute
https://reviewboard.mozilla.org/r/118918/diff/1/
- Pim
- Posts: 2215
- Joined: May 17th, 2004, 2:04 pm
- Location: Netherlands
Re: layout.css.style-attr-with-xml-base.disabled in about:co
Ah, now I get it. Thank you!
For people who are interested, this flag disables the effect of the xml:base attribute for loading of resources in the style attribute.
So if you have a piece of XHTML code (not HTML)
this will normally load the background picture from the url http://storagesite.com/picture.png. But if you set layout.css.style-attr-with-xml-base.disabled, it won't work (it will only try the current directory, obviousy).
And the reason for this flag is that people want to remove xml:base altogether, and this flag will help in phasing it out (by making testing easier).
For people who are interested, this flag disables the effect of the xml:base attribute for loading of resources in the style attribute.
So if you have a piece of XHTML code (not HTML)
Code: Select all
<div xml:base="http://storagesite.com/" style="background:url('picture.png')"></div>
And the reason for this flag is that people want to remove xml:base altogether, and this flag will help in phasing it out (by making testing easier).
Groetjes, Pim