Closed Bug 344990 Opened 18 years ago Closed 18 years ago

adjacent sibling selector broken when using createElement

Categories

(Firefox :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 229915

People

(Reporter: martijntje, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.0.4) Gecko/20060709 Firefox/1.5.0.4
Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.0.4) Gecko/20060709 Firefox/1.5.0.4

When using createElement to insert an element before another element, and there is an adjacent sibling selector, this selector is never functional.

Reproducible: Always

Steps to Reproduce:
1. Open a webpage using this functionality
Actual Results:  
The selector was not matched, and the style as a result was not updated

Expected Results:  
Selector should have matched, and style altered.

*** This bug has been marked as a duplicate of 229915 ***
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.