[Webkit-unassigned] [Bug 43128] New: Self Closing Tags Parsed with Attributes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 28 10:48:52 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=43128

           Summary: Self Closing Tags Parsed with Attributes
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Minor
          Priority: P5
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: stanaland at gmail.com


Created an attachment (id=62847)
 --> (https://bugs.webkit.org/attachment.cgi?id=62847)
Example HTML File

I have found that when attributes do not have quotes, a self closing tag can cause a minor parse problem.  For Example:

<input type="button" type=button tabindex=1 value=Test/>
<input name="title" type="text" id="title"  maxLength=255 value="" tabindex=1/>

The forward slash is counted as part of the last attribute.  Quotes on the attribute or a space before the forward slash fixes this.  I have attached an HTML file that shows this behavior.  In the example, the button text shows the forward slash and the tabindexes like the above are skipped when tabbing through the fields.

Note: I am not arguing whether the above HTML is valid, but it would help with compatibility with other browsers.

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



More information about the webkit-unassigned mailing list