[Webkit-unassigned] [Bug 18691] New: <legend> element is dropped on the floor

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 22 22:45:56 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=18691

           Summary: <legend> element is dropped on the floor
           Product: WebKit
           Version: 526+ (Nightly build)
          Platform: Macintosh
               URL: http://software.hixie.ch/utilities/js/live-dom-
                    viewer/?%3C!DOCTYPE%20html%3E...%3Clegend%3E...%3C%2Fleg
                    end%3E
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ian at hixie.ch


STEPS TO REPRODUCE:
 1. parse data:text/html,<legend>test</legend>
 2. examine the DOM

EXPECTED RESULTS
 <html><head></head><body><legend>test</legend></body></html>

ACTUAL RESULTS
 There's no <legend> there!

Could we make the <legend> element parse like any unknown element, instead of
dropping it on the floor if it is found outside a <fieldset>?

See also:
http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E...%3Clegend%3E...%3C%2Flegend%3E

If we can resolved this relatively soon (like a Safari 3 point release) that
would be cool. If we can't get browsers to fix this, then we're going to have
to introduce a new element for <figure>'s caption, which would be a pain.

As far as I know, other browsers don't have this behaviour with <legend>.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list