Bug 79730

Summary: Dynamically adding content to an element does not remove the :empty styling
Product: WebKit Reporter: Gabriele <gpetrioli>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: gpetrioli, noel.gordon
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jsfiddle.net/gaby/BSbEw/

Gabriele
Reported 2012-02-27 18:33:40 PST
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..
Attachments
noel gordon
Comment 1 2012-02-27 19:08:50 PST
*** This bug has been marked as a duplicate of bug 79734 ***
Note You need to log in before you can comment on or make changes to this bug.