Bug 44871
| Summary: | :empty matches non-empty element | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | ivovlnni |
| Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | ap |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Mac (Intel) | ||
| OS: | OS X 10.6 | ||
ivovlnni
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
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
*** This bug has been marked as a duplicate of bug 26570 ***