[Webkit-unassigned] [Bug 79730] New: Dynamically adding content to an element does not remove the :empty styling

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 27 18:33:40 PST 2012


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

           Summary: Dynamically adding content to an element does not
                    remove the :empty styling
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
               URL: http://jsfiddle.net/gaby/BSbEw/
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: gpetrioli at gmail.com


Other browsers tested:
  Add OK or FAIL after other browsers where you have tested this issue:
     Safari 5 / Chrome: FAIL
  Firefox 4.x: OK
     IE 7/8/9: (7/8 FAIL) - (9 OK)

What steps will reproduce the problem?
1.set an :empty CSS rule, for some element , with display:none
2.dynamically set the content of that element with javascript


What is the expected result?
Once content is added dynamically the element should lose the :empty styling

What happens instead?
The element remains display:none


It is similar to https://bugs.webkit.org/show_bug.cgi?id=26570 but for dynamic content..

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