Closed Bug 606925 Opened 15 years ago Closed 15 years ago

Refresh the HTML5 parser to spec on insertion mode resetting

Categories

(Core :: DOM: HTML Parser, defect, P2)

defect

Tracking

()

RESOLVED FIXED
Tracking Status
blocking2.0 --- betaN+

People

(Reporter: hsivonen, Assigned: hsivonen)

References

()

Details

Attachments

(1 file)

Apparently the spec has changed on how <math><mi><div><object><div><span></span></div></object></div></mi><mi> should parse. Need to track down the spec change and fix the parser accordingly.
Per discussion with jst, nominating all HTML5 parsing spec change bugs as blockers. This bug is part of the family of bugs arising from spec-level optimizations around foreign content. Per discussion with jst, I'm planning on fixing this by de-optimizing the implementation to implement the conceptual model instead of the spec's imperfect optimization of the conceptual model. The main reason why this should be fixed for Firefox 4 is that it's confusing to authors if foreign content doesn't work intuitively and there are bizarre edge cases.
blocking2.0: --- → ?
Yup, I think we should block on this.
blocking2.0: ? → betaN+
As mentioned in an earlier comment, this fix implements the conceptual model of behind the spec directly instead of implementing the more complex spec-level optimizations.
Assignee: nobody → hsivonen
Status: NEW → ASSIGNED
Attachment #493249 - Flags: review?(jonas)
Comment on attachment 493249 [details] [diff] [review] Get rid of the "in foreign content" insertion mode. Check the namespace of the current node instead. rs=me
Attachment #493249 - Flags: review?(jonas) → review+
Whiteboard: [waiting for all patches on bug 612529 to get r+]
Status: ASSIGNED → RESOLVED
Closed: 15 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.

Attachment

General

Created:
Updated:
Size: