Bug 5511

Summary: deleteRule has no effect on displayed page
Product: WebKit Reporter: Sebastien Boisvert <sebastienboisvert>
Component: CSSAssignee: Dave Hyatt <hyatt>
Status: RESOLVED DUPLICATE    
Severity: Normal    
Priority: P2    
Version: 312.x   
Hardware: Mac   
OS: OS X 10.3   
Attachments:
Description Flags
testcase none

Description Sebastien Boisvert 2005-10-25 18:17:23 PDT
Deleting a stylesheet's rule does not apply the changes to the current page once it has been deleted by 
deleteRule.

Steps to reproduce:
1. Load attached testcase. The link has a style defined to make it bold when hovered over.
2. Click button to disable said style; hover over link.

Expected result:
Once the rule deleted, the link should not go bold when hovered over.

Actual result:
The original style remains, the page is unaffected; the link still goes bold when hovered.

Notes:
Testcase works correctly on Firefox.
This bug observed on both official releases of Safari on updated 10.3 & 10.4
Comment 1 Sebastien Boisvert 2005-10-25 18:17:48 PDT
Created attachment 4481 [details]
testcase
Comment 2 Alexey Proskuryakov 2006-01-03 16:02:48 PST

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