Bug 50176

Summary: Table rendering not update after matched css rule change
Product: WebKit Reporter: xiyuan <xiyuan>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: arv, dglazkov
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Simplified test case. none

Description xiyuan 2010-11-29 13:24:25 PST
Created attachment 75053 [details]
Simplified test case.

- Have a container div that hosts a table;
- Use CSS[attr] to show/hide table row;
- After initial loading, container's attribute change will change the matched css rules but the rendered result does not change.

Attached is a test page. There are two rows in the table and when click on the top button, it changes container attribute which should hide the first table row and show the 2nd one. You can confirm that matched css rule changed from the inspector that row1 should have "display:none". However, row1 remains visible and row2 remains hidden.
Comment 1 Erik Arvidsson 2010-11-29 14:12:52 PST

*** This bug has been marked as a duplicate of bug 12519 ***