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

Issue 684993007: Support style invalidation for ::cue selectors. (Closed)

Created:
6 years, 1 month ago by rune
Modified:
6 years, 1 month ago
Reviewers:
chrishtr, esprehn
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, dglazkov+blink, ed+blinkwatch_opera.com, eric.carlson_apple.com, feature-media-reviews_chromium.org, fs, gasubic, philipj_slow, rwlbuis, nessy, vcarbune.chromium
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Support style invalidation for ::cue selectors. Don't resort to subtree recalc in the presence of ::cue, ::cue(), :past and :future selectors. Traverse the selector list in ::cue() to find invalidation set features. The test for the ::cue element yields a recalc for more than two elements because ::cue is currently a PseudoWebKitCustomElement, and other such elements are present as part of the shadow DOM for video elements. R=esprehn@chromium.org,chrishtr@chromium.org BUG=432110 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185255

Patch Set 1 #

Total comments: 1

Patch Set 2 : Review fix #

Total comments: 1

Patch Set 3 : Sort alphabetically #

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -8 lines) Patch
A LayoutTests/media/track/captions-webvtt/invalidation.vtt View 1 chunk +5 lines, -0 lines 0 comments Download
A LayoutTests/media/track/cue-style-invalidation.html View 1 chunk +78 lines, -0 lines 0 comments Download
A LayoutTests/media/track/cue-style-invalidation-expected.txt View 1 chunk +17 lines, -0 lines 0 comments Download
M Source/core/css/RuleFeature.cpp View 1 2 6 chunks +14 lines, -8 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
rune
6 years, 1 month ago (2014-11-11 13:12:01 UTC) #1
rune
Added fs in case we need a Track/VTT expert.
6 years, 1 month ago (2014-11-12 21:35:44 UTC) #3
chrishtr
https://codereview.chromium.org/684993007/diff/1/Source/core/css/RuleFeature.cpp File Source/core/css/RuleFeature.cpp (right): https://codereview.chromium.org/684993007/diff/1/Source/core/css/RuleFeature.cpp#newcode409 Source/core/css/RuleFeature.cpp:409: ASSERT(current->pseudoType() == CSSSelector::PseudoHost || current->pseudoType() == CSSSelector::PseudoAny || current->pseudoType() ...
6 years, 1 month ago (2014-11-12 21:36:42 UTC) #5
rune
On 2014/11/12 at 21:36:42, chrishtr wrote: > https://codereview.chromium.org/684993007/diff/1/Source/core/css/RuleFeature.cpp > File Source/core/css/RuleFeature.cpp (right): > > https://codereview.chromium.org/684993007/diff/1/Source/core/css/RuleFeature.cpp#newcode409 ...
6 years, 1 month ago (2014-11-12 22:14:02 UTC) #6
chrishtr
lgtm https://codereview.chromium.org/684993007/diff/20001/Source/core/css/RuleFeature.cpp File Source/core/css/RuleFeature.cpp (right): https://codereview.chromium.org/684993007/diff/20001/Source/core/css/RuleFeature.cpp#newcode205 Source/core/css/RuleFeature.cpp:205: return pseudo == CSSSelector::PseudoHost Alphabetical would be nice.
6 years, 1 month ago (2014-11-12 22:15:54 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/684993007/40001
6 years, 1 month ago (2014-11-12 22:20:50 UTC) #9
commit-bot: I haz the power
6 years, 1 month ago (2014-11-12 23:44:01 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as 185255

Powered by Google App Engine
This is Rietveld 408576698