Bug 44871 - :empty matches non-empty element
Summary: :empty matches non-empty element
Status: RESOLVED DUPLICATE of bug 26570
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac (Intel) OS X 10.6
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-30 08:33 PDT by ivovlnni
Modified: 2010-08-30 10:13 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***