Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(322)

Issue 1129673002: Remove support for pseudo classes in <content select>. (Closed)

Created:
5 years, 7 months ago by esprehn
Modified:
5 years, 7 months ago
Reviewers:
hayato, dglazkov
CC:
darktears, apavlov+blink_chromium.org, arv+blink, blink-reviews, blink-reviews-css, blink-reviews-dom_chromium.org, blink-reviews-html_chromium.org, Inactive, dglazkov+blink, eae+blinkwatch, ed+blinkwatch_opera.com, rwlbuis, sof, vivekg_samsung, vivekg, webcomponents-bugzilla_chromium.org
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Remove support for pseudo classes in <content select>. This removes the ShadowDOMSiblingTraversalStrategy and un-templatizes the SelectorChecker. It also removes all the distribution invalidation logic related to pseudo classes changing. For now we mark the web-platform-tests related to pseudos as failing, an upstream patch will fix (or remove) the tests. BUG=484953 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=195027

Patch Set 1 #

Patch Set 2 : Remove more test stuff. #

Patch Set 3 : Fix more tests. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+139 lines, -2140 lines) Patch
M LayoutTests/FlakyTests View 1 1 chunk +0 lines, -1 line 0 comments Download
M LayoutTests/TestExpectations View 1 1 chunk +16 lines, -0 lines 0 comments Download
M LayoutTests/fast/dom/shadow/content-selector-query.html View 1 chunk +3 lines, -46 lines 0 comments Download
M LayoutTests/fast/dom/shadow/content-selector-query-expected.txt View 1 chunk +0 lines, -162 lines 0 comments Download
A LayoutTests/fast/dom/shadow/pseudo-not.html View 1 1 chunk +25 lines, -0 lines 0 comments Download
A LayoutTests/fast/dom/shadow/pseudo-not-expected.txt View 1 1 chunk +13 lines, -0 lines 0 comments Download
D LayoutTests/fast/dom/shadow/pseudo-not-traversal.html View 1 1 chunk +0 lines, -54 lines 0 comments Download
D LayoutTests/fast/dom/shadow/pseudo-not-traversal-expected.txt View 1 1 chunk +0 lines, -14 lines 0 comments Download
D LayoutTests/fast/dom/shadow/pseudoclass-update-checked-input.html View 1 1 chunk +0 lines, -51 lines 0 comments Download
D LayoutTests/fast/dom/shadow/pseudoclass-update-checked-input-expected.html View 1 1 chunk +0 lines, -21 lines 0 comments Download
D LayoutTests/fast/dom/shadow/pseudoclass-update-checked-option.html View 1 1 chunk +0 lines, -59 lines 0 comments Download
D LayoutTests/fast/dom/shadow/pseudoclass-update-checked-option-expected.txt View 1 1 chunk +0 lines, -13 lines 0 comments Download
D LayoutTests/fast/dom/shadow/pseudoclass-update-disabled-button.html View 1 1 chunk +0 lines, -36 lines 0 comments Download
D LayoutTests/fast/dom/shadow/pseudoclass-update-disabled-button-expected.html View 1 1 chunk +0 lines, -16 lines 0 comments Download
D LayoutTests/fast/dom/shadow/pseudoclass-update-disabled-fieldset.html View 1 1 chunk +0 lines, -36 lines 0 comments Download
D LayoutTests/fast/dom/shadow/pseudoclass-update-disabled-fieldset-expected.html View 1 1 chunk +0 lines, -16 lines 0 comments Download
D LayoutTests/fast/dom/shadow/pseudoclass-update-disabled-input.html View 1 1 chunk +0 lines, -36 lines 0 comments Download
D LayoutTests/fast/dom/shadow/pseudoclass-update-disabled-input-expected.html View 1 1 chunk +0 lines, -16 lines 0 comments Download
D LayoutTests/fast/dom/shadow/pseudoclass-update-disabled-optgroup.html View 1 1 chunk +0 lines, -56 lines 0 comments Download
D LayoutTests/fast/dom/shadow/pseudoclass-update-disabled-optgroup-expected.txt View 1 1 chunk +0 lines, -12 lines 0 comments Download
D LayoutTests/fast/dom/shadow/pseudoclass-update-disabled-option.html View 1 1 chunk +0 lines, -56 lines 0 comments Download
D LayoutTests/fast/dom/shadow/pseudoclass-update-disabled-option-expected.txt View 1 1 chunk +0 lines, -12 lines 0 comments Download
D LayoutTests/fast/dom/shadow/pseudoclass-update-disabled-select.html View 1 1 chunk +0 lines, -36 lines 0 comments Download
D LayoutTests/fast/dom/shadow/pseudoclass-update-disabled-select-expected.html View 1 1 chunk +0 lines, -16 lines 0 comments Download
D LayoutTests/fast/dom/shadow/pseudoclass-update-disabled-textarea.html View 1 1 chunk +0 lines, -36 lines 0 comments Download
D LayoutTests/fast/dom/shadow/pseudoclass-update-disabled-textarea-expected.html View 1 1 chunk +0 lines, -16 lines 0 comments Download
D LayoutTests/fast/dom/shadow/pseudoclass-update-enabled-button.html View 1 1 chunk +0 lines, -36 lines 0 comments Download
D LayoutTests/fast/dom/shadow/pseudoclass-update-enabled-button-expected.html View 1 1 chunk +0 lines, -16 lines 0 comments Download
D LayoutTests/fast/dom/shadow/pseudoclass-update-enabled-fieldset.html View 1 1 chunk +0 lines, -36 lines 0 comments Download
D LayoutTests/fast/dom/shadow/pseudoclass-update-enabled-fieldset-expected.html View 1 1 chunk +0 lines, -16 lines 0 comments Download
D LayoutTests/fast/dom/shadow/pseudoclass-update-enabled-input.html View 1 1 chunk +0 lines, -36 lines 0 comments Download
D LayoutTests/fast/dom/shadow/pseudoclass-update-enabled-input-expected.html View 1 1 chunk +0 lines, -16 lines 0 comments Download
D LayoutTests/fast/dom/shadow/pseudoclass-update-enabled-optgroup.html View 1 1 chunk +0 lines, -56 lines 0 comments Download
D LayoutTests/fast/dom/shadow/pseudoclass-update-enabled-optgroup-expected.txt View 1 1 chunk +0 lines, -12 lines 0 comments Download
D LayoutTests/fast/dom/shadow/pseudoclass-update-enabled-option.html View 1 1 chunk +0 lines, -56 lines 0 comments Download
D LayoutTests/fast/dom/shadow/pseudoclass-update-enabled-option-expected.txt View 1 1 chunk +0 lines, -12 lines 0 comments Download
D LayoutTests/fast/dom/shadow/pseudoclass-update-enabled-select.html View 1 1 chunk +0 lines, -36 lines 0 comments Download
D LayoutTests/fast/dom/shadow/pseudoclass-update-enabled-select-expected.html View 1 1 chunk +0 lines, -16 lines 0 comments Download
D LayoutTests/fast/dom/shadow/pseudoclass-update-enabled-textarea.html View 1 1 chunk +0 lines, -36 lines 0 comments Download
D LayoutTests/fast/dom/shadow/pseudoclass-update-enabled-textarea-expected.html View 1 1 chunk +0 lines, -16 lines 0 comments Download
D LayoutTests/fast/dom/shadow/pseudoclass-update-indeterminate-input.html View 1 1 chunk +0 lines, -49 lines 0 comments Download
D LayoutTests/fast/dom/shadow/pseudoclass-update-indeterminate-input-expected.html View 1 1 chunk +0 lines, -17 lines 0 comments Download
D LayoutTests/fast/dom/shadow/pseudoclass-update-indeterminate-progress.html View 1 1 chunk +0 lines, -37 lines 0 comments Download
D LayoutTests/fast/dom/shadow/pseudoclass-update-indeterminate-progress-expected.html View 1 1 chunk +0 lines, -18 lines 0 comments Download
D LayoutTests/fast/dom/shadow/pseudoclass-update-link-anchor.html View 1 1 chunk +0 lines, -36 lines 0 comments Download
D LayoutTests/fast/dom/shadow/pseudoclass-update-link-anchor-expected.html View 1 1 chunk +0 lines, -13 lines 0 comments Download
D LayoutTests/fast/dom/shadow/pseudoclass-update-link-area.html View 1 1 chunk +0 lines, -56 lines 0 comments Download
D LayoutTests/fast/dom/shadow/pseudoclass-update-link-area-expected.html View 1 1 chunk +0 lines, -38 lines 0 comments Download
D LayoutTests/fast/dom/shadow/pseudoclass-update-target.html View 1 1 chunk +0 lines, -33 lines 0 comments Download
D LayoutTests/fast/dom/shadow/pseudoclass-update-target-expected.html View 1 1 chunk +0 lines, -13 lines 0 comments Download
D LayoutTests/fast/dom/shadow/pseudoclass-update-visited-anchor.html View 1 1 chunk +0 lines, -36 lines 0 comments Download
D LayoutTests/fast/dom/shadow/pseudoclass-update-visited-anchor-expected.html View 1 1 chunk +0 lines, -13 lines 0 comments Download
D LayoutTests/fast/dom/shadow/pseudoclass-update-visited-area.html View 1 1 chunk +0 lines, -56 lines 0 comments Download
D LayoutTests/fast/dom/shadow/pseudoclass-update-visited-area-expected.html View 1 1 chunk +0 lines, -38 lines 0 comments Download
M LayoutTests/fast/dom/shadow/shadow-contents-select.html View 1 2 2 chunks +0 lines, -30 lines 0 comments Download
M LayoutTests/fast/dom/shadow/shadow-contents-select-expected.html View 1 2 1 chunk +0 lines, -6 lines 0 comments Download
M LayoutTests/fast/dom/shadow/shadow-select-attribute-featureset.html View 1 1 chunk +0 lines, -98 lines 0 comments Download
M LayoutTests/fast/dom/shadow/shadow-select-attribute-featureset-expected.txt View 1 1 chunk +0 lines, -63 lines 0 comments Download
M LayoutTests/fast/selectors/style-sharing-shadow.html View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/css/ElementRuleCollector.cpp View 2 chunks +1 line, -2 lines 0 comments Download
M Source/core/css/RuleFeature.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/css/SelectorChecker.h View 1 chunk +9 lines, -20 lines 0 comments Download
M Source/core/css/SelectorChecker.cpp View 34 chunks +44 lines, -59 lines 0 comments Download
M Source/core/css/SiblingTraversalStrategies.h View 6 chunks +17 lines, -141 lines 0 comments Download
M Source/core/dom/Element.cpp View 1 chunk +0 lines, -3 lines 0 comments Download
M Source/core/dom/SelectorQuery.cpp View 2 chunks +1 line, -2 lines 0 comments Download
M Source/core/dom/shadow/ElementShadow.h View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/dom/shadow/ElementShadow.cpp View 1 chunk +0 lines, -6 lines 0 comments Download
M Source/core/html/HTMLContentElement.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/html/HTMLContentElement.cpp View 3 chunks +6 lines, -15 lines 1 comment Download
M Source/core/testing/InternalSettings.h View 2 chunks +0 lines, -2 lines 0 comments Download
M Source/core/testing/InternalSettings.cpp View 3 chunks +0 lines, -7 lines 0 comments Download
M Source/core/testing/InternalSettings.idl View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/testing/Internals.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/testing/Internals.cpp View 1 1 chunk +0 lines, -10 lines 0 comments Download
M Source/core/testing/Internals.idl View 1 1 chunk +0 lines, -1 line 0 comments Download
M Source/platform/RuntimeEnabledFeatures.in View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 12 (4 generated)
esprehn
5 years, 7 months ago (2015-05-06 23:55:40 UTC) #2
esprehn
https://codereview.chromium.org/1129673002/diff/40001/Source/core/html/HTMLContentElement.cpp File Source/core/html/HTMLContentElement.cpp (right): https://codereview.chromium.org/1129673002/diff/40001/Source/core/html/HTMLContentElement.cpp#newcode121 Source/core/html/HTMLContentElement.cpp:121: SelectorChecker::SelectorCheckingContext context(*selector, &element, SelectorChecker::VisitedMatchDisabled); I also switched this to ...
5 years, 7 months ago (2015-05-06 23:57:52 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1129673002/40001
5 years, 7 months ago (2015-05-07 00:48:21 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 7 months ago (2015-05-07 01:53:29 UTC) #7
hayato
lgtm since these are dead code in production. We don't have a plan to recover ...
5 years, 7 months ago (2015-05-07 06:09:35 UTC) #8
esprehn
On 2015/05/07 at 06:09:35, hayato wrote: > lgtm since these are dead code in production. ...
5 years, 7 months ago (2015-05-07 06:12:57 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1129673002/40001
5 years, 7 months ago (2015-05-07 06:13:27 UTC) #11
commit-bot: I haz the power
5 years, 7 months ago (2015-05-07 06:17:50 UTC) #12
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=195027

Powered by Google App Engine
This is Rietveld 408576698