<option><span><option> parsed wrong

RESOLVED FIXED

Status

()

Core
HTML: Parser
P2
normal
RESOLVED FIXED
7 years ago
7 years ago

People

(Reporter: hsivonen, Assigned: hsivonen)

Tracking

unspecified
Points:
---
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(blocking2.0 betaN+)

Details

Attachments

(1 attachment)

Input: 
<option><span><option>
-
Expected:
| <html>
|   <head>
|   <body>
|     <option>
|       <span>
|         <option>
-
Output:
| <html>
|   <head>
|   <body>
|     <option>
|       <span>
|     <option>

No idea if this is a long-time bug or if the spec changed recently.
Per discussion with jst, nominating all HTML5 parsing spec change bugs as
blockers.

The practical impact of this bug is unclear to me, but the bug makes Firefox fail a test case in the best known HTML5 parsing test suite.
blocking2.0: --- → ?
I think we should fix this, the more of these spec change bugs we fix, the smaller the number of differences between different implementations of the spec. Blocking.
blocking2.0: ? → betaN+
Created attachment 493347 [details] [diff] [review]
Make <option> and <optgroup> imply </option> in the "in body" insertion mode only if the current node is "option"
Assignee: nobody → hsivonen
Status: NEW → ASSIGNED
Attachment #493347 - Flags: review?(jonas)
Comment on attachment 493347 [details] [diff] [review]
Make <option> and <optgroup> imply </option> in the "in body" insertion mode only if the current node is "option"

rs=me
Attachment #493347 - Flags: review?(jonas) → review+
Whiteboard: [waiting for all patches on bug 612529 to get r+]
http://hg.mozilla.org/mozilla-central/rev/a6947315d38e
Status: ASSIGNED → RESOLVED
Last Resolved: 7 years ago
Flags: in-testsuite+
Priority: -- → P2
Resolution: --- → FIXED
Whiteboard: [waiting for all patches on bug 612529 to get r+]
You need to log in before you can comment on or make changes to this bug.