[Webkit-unassigned] [Bug 136886] New: webkit doesn't redraw an element that *was* hidden with :empty display: none

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 17 05:47:11 PDT 2014


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

           Summary: webkit doesn't redraw an element that *was* hidden
                    with :empty display: none
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: andrew at paprotsky.com


1. Create a non-empty element with the following style applied :empty {display: none}
2. Remove all children of the element or simply set innerHTML to an empty string.
3. At this point the element is hidden.
4. Add some children to the element or set innerHTML to a non-empty string.
5. The element is still hidden.

See the attachment for a reproducible test case.

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