[Webkit-unassigned] [Bug 66887] CSS rules not being applied when a hidden field is inserted between an input[type=checkbox] and a label

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 9 10:55:20 PDT 2011


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





--- Comment #8 from Dave Hyatt <hyatt at apple.com>  2011-09-09 10:55:20 PST ---
(From update of attachment 106651)
View in context: https://bugs.webkit.org/attachment.cgi?id=106651&action=review

> Source/WebCore/dom/Element.cpp:1157
> +        bool childAffectedByDirectAdjacentRules = element->renderStyle() ? element->renderStyle()->affectedByDirectAdjacentRules() : false;
> +        if (childAffectedByDirectAdjacentRules || forceCheckOfNextElementSibling || forceCheckOfAnyElementSibling)

Seems like you can kill forceCheckOfNextElementSibling, no? I don't think it serves any purpose any longer. It's causing you to check one node too many I believe.

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