Closed Bug 422865 Opened 16 years ago Closed 16 years ago

[FIX]:root should not match disconnected nodes

Categories

(Core :: CSS Parsing and Computation, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9.1a1

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

Details

Attachments

(1 file)

Attached patch Like so.Splinter Review
Per CSS3 Selectors, it should only match the "root content of a document".  I'm assuming they'll rephrase it per my suggestion as "an element which is the documentElement of its ownerDocument".
Attachment #309333 - Flags: superreview?(dbaron)
Attachment #309333 - Flags: review?(dbaron)
Comment on attachment 309333 [details] [diff] [review]
Like so.

r+sr=dbaron.  There's also been discussion of other behavior in scoped style sheets, but we can fix that if it ever comes true.
Attachment #309333 - Flags: superreview?(dbaron)
Attachment #309333 - Flags: superreview+
Attachment #309333 - Flags: review?(dbaron)
Attachment #309333 - Flags: review+
Indeed.  I should note that I'm not planning to pursue approval for this at this time; I'll just land it when I get closer to landing bug 416317, since that's when I'll be able to test it anyway.
Fixed.
Target Milestone: --- → mozilla1.9.1a1
Er, this really was fixed back in July!
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Depends on: 446483
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: