[Bug 8038] Permit closing tag for new, void elements - for legacy compatibility = XHTML alignment

http://www.w3.org/Bugs/Public/show_bug.cgi?id=8038


Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |NE




--- Comment #9 from Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>  2009-10-27 15:17:53 ---
(In reply to comment #8)

> Could you describe what DOMs you expect to see in conforming HTML5 user agents,
> assuming we adopt your proposal, for the following fragments? (For example, by
> translating them into the equivalent well-formed XML.)

In order of appearance (I did not mark up text nodes):

       <video><source /></video>A
       <video><source />A</video>B
       <video><source />AB</video>C
       <video><source />A</video>C
       <video><source /><source />A</video>B

The above describes the DOM already implemented in Safari and Firefox 3.6beta, 
as can be verified in this live DOM viewer demo: 
http://software.hixie.ch/utilities/js/live-dom-viewer/saved/294

> Similarly, could you state which of the above you think should be conforming,
> and which should be non-conforming, 

These 4  should be conforming.

   <video><source></video>A
   <video><source>A</video>B
   <video><source></source>A</video>C
   <video><source><source>A</video>B

This 1 example should NOT be conforming.

   <video><source>A</source>B</video>C

> and how to detect the difference?

Is this a validation detection question? Or is it a user agent parsing
question?


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Tuesday, 27 October 2009 15:17:55 UTC