Bug 5511 - deleteRule has no effect on displayed page
Summary: deleteRule has no effect on displayed page
Status: RESOLVED DUPLICATE of bug 5153
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 312.x
Hardware: Mac OS X 10.3
: P2 Normal
Assignee: Dave Hyatt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-25 18:17 PDT by Sebastien Boisvert
Modified: 2006-01-03 16:02 PST (History)
0 users

See Also:


Attachments
testcase (258 bytes, text/html)
2005-10-25 18:17 PDT, Sebastien Boisvert
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***