Closed Bug 328930 Opened 18 years ago Closed 14 years ago

implement safari-style residual style handling

Categories

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

defect

Tracking

()

RESOLVED FIXED
mozilla2.0

People

(Reporter: beltzner, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [fixed by the HTML5 parser])

We need to implement Safari-style residual style handling in order to make our DOM deterministic irrespective of network packet boundaries.

(filed by dictation for shaver)
Priority: -- → P2
Except without the crashing part, eh?  ;)
Optional, we'll see what our compatibility requirements are.  (Go, mrbkap, go!)
I'd recommend using the HTML5 spec rather than my blog as a starting point for this. However, note that I haven't yet tested it (I need to write a couple of test implementations and check it against real-world markup before I'm sure we want to implement it). Also note that Safari's implementation is somewhat buggy with respect to a number of major cases that Mozilla's current implementation handles well. The HTML5 spec is a superset of Safari's behaviour which handles those cases as well (in theory -- again, untested).

Spec:
   http://whatwg.org/specs/web-apps/current-work/#parsing

Page useful for testing:
   http://software.hixie.ch/utilities/js/live-dom-viewer/
Blocks: 343843
Blocks: 381808
Blocks: 291047
This won't make Gecko 1.9.
Target Milestone: mozilla1.9alpha1 → mozilla2.0
Fixed in the HTML5 parsing repo.
Assignee: mrbkap → nobody
No longer blocks: html5-parsing
Depends on: html5-parsing
Is this FIXED now?
Yes, this is FIXED now.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: [fixed by the HTML5 parser]
You need to log in before you can comment on or make changes to this bug.