[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
Wed Sep 7 15:03:23 PDT 2011


Kulanthaivel Palanichamy <kulanthaivel at codeaurora.org> changed:

           What    |Removed                     |Added
 Attachment #106612|0                           |1
        is obsolete|                            |
 Attachment #106651|                            |review?, commit-queue?
               Flag|                            |

--- Comment #7 from Kulanthaivel Palanichamy <kulanthaivel at codeaurora.org>  2011-09-07 15:03:23 PST ---
Created an attachment (id=106651)
 --> (https://bugs.webkit.org/attachment.cgi?id=106651&action=review)
Proposed patch

More cleaner version.

This patch removes childrenAffectedByDirectAdjacentRules parent flag and forces style calculation for adjacent sibling if the current element is affected by direct adjacent rules irrespective of whether the adjacent sibling is affected by direct adjacent rules or not. This change is needed to make sure that the adjacent sibling's style is recalculated when there is no renderer attached to the adjacent sibling but it may be affected by direct adjacent rules at that moment.

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