Bug 44871

Summary: :empty matches non-empty element
Product: WebKit Reporter: ivovlnni
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: ap
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac (Intel)   
OS: OS X 10.6   

Description ivovlnni 2010-08-30 08:33:53 PDT
test.html:

<!DOCTYPE html>
<html>
<head>
<title>Test</title>
<style>
strong {display: block;}
strong:empty {display: none;}
</style>
</head>
<body>


<div id="container">
	<strong>Test</strong>
</div>

</body>
</html>

Result: empty page
Comment 1 Alexey Proskuryakov 2010-08-30 10:13:48 PDT

*** This bug has been marked as a duplicate of bug 26570 ***