[Webkit-unassigned] [Bug 42614] :empty css selector is not working correctly
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jul 19 22:25:33 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=42614
--- Comment #2 from Simon Charette <charette.s at gmail.com> 2010-07-19 22:25:33 PST ---
(From update of attachment 62033)
><!doctype html>
><html>
> <head>
> <style type="text/css">
> h2:empty,
> tbody:empty,
> thead:empty {
> display: none;
> }
> h2:not(:empty),
> tbody:not(:empty),
> thead:not(:empty) {
> background: green;
> }
> </style>
> </head>
> <body>
> <a href="https://bug-42614-attachments.webkit.org/attachment.cgi?id=62033">Reload</a>
> <input onclick="document.body.innerHTML = document.body.innerHTML" id="refresher" type="button" value="force redraw (document.body.innerHTML = document.body.innerHTML)" />
> <h2>I'm not empty</h2>
> <table>
> <thead>
> <tr>
> <th>/html/body/table/thead/tr/th</th>
> </tr>
> </thead>
> <tbody>
> <tr>
> <td>/html/body/table/tbody/tr/td</td>
> </tr>
> </tbody>
> <tr>
> <td>/html/body/table/tr/td => /html/body/table/tbody[2]/tr/td</td>
> </tr>
> </table>
> </body>
></html>
>
--
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