Closed Bug 188953 Opened 22 years ago Closed 19 years ago

url with css selector test, testcase fails (:empty matches when it should not)

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 323052

People

(Reporter: harm.verhagen+bugzilla, Assigned: dbaron)

References

()

Details

(Keywords: css3, testcase)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021212
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021212

The URL has some webbrowser tests.
The test mentioned above failed for mozilla (1.3a with xft on RedHat 8.0)
I did not make the test, I do not know if mozilla is at fault or the testcase.





Reproducible: Always

Steps to Reproduce:
1. goto url
2. read page
3.

Actual Results:  
2 green boxes appear on the page  (one small one in a bigger one)

Expected Results:  
only 1 green box should appear on the page
style system
Assignee: jst → dbaron
Component: DOM Style → Style System
Summary: url with css selector test, testcase fails → url with css selector test, testcase fails (:empty matches when it should not)
Blocks: 75186
Keywords: css3, testcase
OS: Linux → All
Hardware: PC → All
This is basically bug 98997 
Depends on: 98997
Yep; it seems the body is initially created empty.  Try changing document.body.style.display to 'none' and then back to '' -- it'll make the bug go away.
resolving duplicate of properly-summarized bug

*** This bug has been marked as a duplicate of 323052 ***
No longer blocks: 75186
Status: NEW → RESOLVED
Closed: 19 years ago
No longer depends on: 98997
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.