[Webkit-unassigned] [Bug 52523] New: DOM style modifications don't fire mutation events

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jan 15 17:37:35 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=52523

           Summary: DOM style modifications don't fire mutation events
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
               URL: http://code.eligrey.com/testcases/all/dom-style-mutati
                    on-events.xhtml
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: bugmail at eligrey.com


Created an attachment (id=79082)
 --> (https://bugs.webkit.org/attachment.cgi?id=79082&action=review)
Testcase

Modifying stylesheets or modifying element styles via the DOM Style API doesn't fire mutation events, and it should.

Reproducible: Always

Steps to Reproduce:
1. Listen for DOMSubtreeModified on the document or the appropriate mutation events for what you're modifying.
2. Change the style of an element or modify a stylesheet.

Actual Results:
Nothing happens.

Expected Results:  
Appropriate mutation events are fired.

This bug introduces a vulnerability into an untrusted DOM security lib I'm writing to see what's possible for XSS defense.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list