Summary: | Kill transitive effects of SelectorChecker::checkOneSelector. | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Dimitri Glazkov (Google) <dglazkov> | ||||||||
Component: | New Bugs | Assignee: | Dimitri Glazkov (Google) <dglazkov> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | cmarcelo, eric, kling, koivisto, macpherson, menard, ojan, simon.fraser, webkit.review.bot | ||||||||
Priority: | P2 | ||||||||||
Version: | 528+ (Nightly build) | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Bug Depends on: | 98181 | ||||||||||
Bug Blocks: | 89879 | ||||||||||
Attachments: |
|
Description
Dimitri Glazkov (Google)
2012-09-28 16:44:19 PDT
Created attachment 166329 [details]
WIP
Nice! Created attachment 166546 [details]
Patch
Created attachment 166548 [details]
Patch
Comment on attachment 166548 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=166548&action=review > Source/WebCore/css/SelectorChecker.cpp:448 > + if (context.selector->m_match == CSSSelector::PseudoElement) { None of the other callers care about this block? Comment on attachment 166548 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=166548&action=review >> Source/WebCore/css/SelectorChecker.cpp:448 >> + if (context.selector->m_match == CSSSelector::PseudoElement) { > > None of the other callers care about this block? Well, no -- since the code inside is operating on the assumption that it's looking at a pseudoelement selector :) Comment on attachment 166548 [details]
Patch
LGTM.
Comment on attachment 166548 [details] Patch Clearing flags on attachment: 166548 Committed r130089: <http://trac.webkit.org/changeset/130089> All reviewed patches have been landed. Closing bug. This may have caused a performance regression on the dromaeo tests. http://build.chromium.org/f/chromium/perf/linux-release-webkit-latest/dromaeo_domcoremodify/report.html?history=150&rev=-1&graph=dom_modify http://build.chromium.org/f/chromium/perf/linux-release-webkit-latest/dom_perf/report.html?history=150&rev=-1&graph=CloneNodes http://build.chromium.org/f/chromium/perf/linux-release-webkit-latest/dromaeo_domcoremodify/report.html?history=150&rev=-1&graph=dom_modify_insertBefore http://trac.webkit.org/log/?verbose=on&rev=130099&stop_rev=130089 Re-opened since this is blocked by bug 98181 |