[Webkit-unassigned] [Bug 47971] css combinator "+" in combination with NAV tag is buggy

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 22 11:56:24 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=47971


Ojan Vafai <ojan at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #98129|review?, commit-queue?      |review+, commit-queue-
               Flag|                            |




--- Comment #15 from Ojan Vafai <ojan at chromium.org>  2011-06-22 11:56:24 PST ---
(From update of attachment 98129)
View in context: https://bugs.webkit.org/attachment.cgi?id=98129&action=review

Patch looks good. Please consider addressing my two comments before committing (or if you're not a committer, you can post a new patch and I can cq+ it for you).

> LayoutTests/fast/css/div_plus_nav_bug47971.html:6
> +#one + nav { color: green; }
> +#two+nav { color: green; }
> +label+nav { color: green; }

For thoroughness sake, maybe add the following cases as well:
#foo +nav
#bar+ nav

> LayoutTests/fast/css/div_plus_nav_bug47971.html:42
> +    } catch(e) {
> +        document.writeln("Fail: " + element + ": Exception \"" + e + "\".<br />");
> +    }

When would you ever hit this exception? Do you need the try/catch at all? It's fine for the test to throw an error if there is a JS error. It's worth having less extra cruft in the test.

-- 
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