RESOLVED INVALID 75295
SelectorChecker should have non side-effect mode.
https://bugs.webkit.org/show_bug.cgi?id=75295
Summary SelectorChecker should have non side-effect mode.
Shinya Kawanaka
Reported 2011-12-28 00:48:44 PST
SelectorChecker is also used for Node#querySelector. If query has some pseudo type like first-of-type, the style of the parent element may be modified like: parentStyle->setChildrenAffectedByForwardPositionalRules(); This may affect performance, because DOM modification for children will cause extra style recalculation.
Attachments
Shinya Kawanaka
Comment 1 2011-12-28 00:52:41 PST
Sorry, this may be achieved by m_isCollectingRulesOnly...
Note You need to log in before you can comment on or make changes to this bug.