Summary: | CSS2/3: Selectors are not re-evaluated after dynamically updating the DOM (Acid3 bug) | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Niels Leenheer (HTML5test) <info> | ||||
Component: | CSS | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | allan.jensen, bdakin, eric, michiel, mrowe, webkit | ||||
Priority: | P2 | Keywords: | HasReduction | ||||
Version: | 420+ | ||||||
Hardware: | Mac | ||||||
OS: | OS X 10.4 | ||||||
URL: | http://www.css3.info/selectors-test/ | ||||||
Bug Depends on: | 17143 | ||||||
Bug Blocks: | 11390, 17064 | ||||||
Attachments: |
|
Description
Niels Leenheer (HTML5test)
2006-10-23 02:43:41 PDT
I believe there an existing bug which may already cover this issue, but I can't find it in my quick skim through Bugzilla. Created attachment 18758 [details]
Minimal test case
I've created minimal test case for this bug based on CSS3 Selectors test suite.
(In reply to comment #1) > I believe there an existing bug which may already cover this issue, but I can't > find it in my quick skim through Bugzilla. After searching I've found three reports similar to this bug: bug 12519, bug 12520, bug 16706. *** Bug 16706 has been marked as a duplicate of this bug. *** Interesting behavior regarding test case found by Alexey: 1. Open the test case in a new tab in background. 2. Don't activate the background tab unless it loads completely. 3. Switch to the background tab and you see the test case passed. IMO this behavior is caused by the fact that styles are applied when the page becomes visible (not earlier). So the styles are applied on modified DOM tree. The styles don't need to be re-evaluated. This has been taken care of. |