[Webkit-unassigned] [Bug 99295] New: removeAttribute('style') not working in certain circumstances

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Oct 14 23:29:37 PDT 2012


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

           Summary: removeAttribute('style') not working in certain
                    circumstances
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: justice360 at gmail.com


Created an attachment (id=168630)
 --> (https://bugs.webkit.org/attachment.cgi?id=168630&action=review)
Test cases for removeAttribute('style')

Hi all.

It seems that the creation of 'style' content attribute for an HTML element is delayed until getAttribute('style') or setAttribute('style', '...') is called for the first time *and* HTML style attribute exists. If style is modified through IDL attributes before that, the style cannot be removed successfully by calling removeAttribute('style').

-- 
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