Summary: | Upgrade to SelectorFailsAllSiblings failure when Child selector is failed | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Yusuke Suzuki <ysuzuki> | ||||
Component: | CSS | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | allan.jensen, benjamin, commit-queue, esprehn+autocc, glenn, gyuyoung.kim, macpherson, menard | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Yusuke Suzuki
2014-03-31 01:02:44 PDT
Created attachment 228158 [details]
Patch
To clearify the executing model in my mind, I've created a small patch to match markRecursively's resuming strategy to CSS JIT's. Comment on attachment 228158 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=228158&action=review Great idea! > Source/WebCore/css/SelectorChecker.cpp:219 > + nextContext.elementStyle = 0; You can change this to nullptr now that WebKit supports C++ 11. Committed r166808: <http://trac.webkit.org/changeset/166808> Thank you for your review and fixing 0 to nullptr! |