Bug 13276

Summary: Comments in tags
Product: WebKit Reporter: Nicholas Shanks <nickshanks>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: ian
Priority: P2    
Version: 523.x (Safari 3)   
Hardware: Mac   
OS: OS X 10.4   

Description Nicholas Shanks 2007-04-03 19:49:58 PDT
I was thinking, although for acid2 Hixie decided that using -- in tags beginning <! shouldn't toggle comment mode on and off, I think it should do so in element tags. This would allow things like the following:

<object
    foo="bar"    -- this does foobar stuff --
    bish="bosh"  -- this hits people over the head --
    bash="bush"  -- this elects a democrat --
>
Comment 1 Ian 'Hixie' Hickson 2008-01-07 03:06:48 PST
This has never been allowed (not even in SGML) and it isn't really possible to add now with the legacy content we have -- and in HTML5 we're not adding it. So all in all, I'd say WONTFIX.