- From: Henri Sivonen <hsivonen@iki.fi>
- Date: Fri, 11 Nov 2011 13:00:02 +0200
- To: public-webapps@w3.org
On Fri, Nov 11, 2011 at 11:49 AM, Anne van Kesteren <annevk@opera.com> wrote: >> Unfortunately <style> and <script> are parsed differently depending on >> if they live in foreign content or not. However this is something we >> can fix, and would lead to a lot of other benefits (such as scripts >> parsed consistently when moved around in the markup). > > I do agree it would make sense to parse these consistently throughout > text/html. I think http://www.w3.org/Bugs/Public/show_bug.cgi?id=10901 should remain as WONTFIX. * We have interop between Gecko, WebKit, Trident (since IE9 on this point) and Presto (once Ragnarök ships). Hooray! Interop is hard. When it has been achieved, we shouldn't self-sabotage it. * Even if we considered the replacement cycles of Firefox and Chrome to be fast enough that Firefox or Chrome legacy didn't matter, Microsoft has deployed XML-style tokenization of SVG in IE. (Apple has deployed the parsing in Safari, too.) Microsoft says IE9 will be supported until January 2020. Even if IE9 doesn't have a large active userbase all the way until 2020, I think authors who try to make Web content that works would be worse of if we had a period of even a couple of years with browsers that support SVG-in-text/html tokenizing script&style content substantially differently. (Which would be the case if we changed the tokenization but MS didn't agree to issue such a drastic change as a patch for IE9.) * If we changed SVG style to tokenize like HTML style, we'd most likely end up breaking the kind of copy&paste scenarios that the SVG WG really wanted to work in the first place. (This argument also applies to script, but style is even more likely to occur in the kind of content one would expect to be able to copy&paste and have it just work.) Maybe the SVG WG has changed their mind now, but we shouldn't let them flipflop now that we've reached interop. This ship has sailed. -- Henri Sivonen hsivonen@iki.fi http://hsivonen.iki.fi/
Received on Friday, 11 November 2011 11:00:39 UTC