[Webkit-unassigned] [Bug 50363] New: display:none not being recognized with CSS3 + DOM Manipulation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 1 17:57:55 PST 2010


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

           Summary: display:none not being recognized with CSS3 + DOM
                    Manipulation
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
               URL: unavailable
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: bugzilla-webkit at aldomx.com


I have in my CCS:

.selector
{
    display: none;
}
.selector[data-attribute]
{
    display: block;
}

<div id="container" style="height: 400px; overflow-x: auto; overflow-y: scroll;">
<div class="selector" data-attribute="1">Element 1</div>
<div class="selector" data-attribute="1">Element 2</div>
<div class="selector" data-attribute="1">Element 3</div>
... etc
</div>

When removing "data-attribute" via DOM Manipulation the div's are still showing until you move the container's scroll

It happens in the latest stable versions of Google Chrome and Safari.

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