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

Issue 1717303002: Ignore title attribute for style elements in shadow trees. (Closed)

Created:
4 years, 10 months ago by rune
Modified:
4 years, 10 months ago
Reviewers:
hayato, dglazkov
CC:
blink-reviews, blink-reviews-dom_chromium.org, blink-reviews-style_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, rwlbuis, sof
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Ignore title attribute for style elements in shadow trees. Title attributes on style elements in shadow trees should not set the preferred stylesheet name for the whole document. Also, title on style elements in shadow trees should not respond to the preferred stylesheet set in the top document. BUG=588718 Committed: https://crrev.com/9c477d3b1df82392e5953d2bccfdf0ca371a6c07 Cr-Commit-Position: refs/heads/master@{#376776}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Use isInShadowTree #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -7 lines) Patch
A third_party/WebKit/LayoutTests/fast/dom/shadow/alternate-stylesheets.html View 1 chunk +17 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/dom/shadow/alternate-stylesheets-expected.txt View 1 chunk +11 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/ShadowTreeStyleSheetCollection.cpp View 1 chunk +1 line, -7 lines 0 comments Download
M third_party/WebKit/Source/core/dom/StyleSheetCandidate.cpp View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1717303002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1717303002/1
4 years, 10 months ago (2016-02-22 14:45:54 UTC) #2
rune
I've created an issue for the shadow dom spec, but it's not been included, so ...
4 years, 10 months ago (2016-02-22 14:46:52 UTC) #4
dglazkov
https://codereview.chromium.org/1717303002/diff/1/third_party/WebKit/Source/core/dom/StyleSheetCandidate.cpp File third_party/WebKit/Source/core/dom/StyleSheetCandidate.cpp (right): https://codereview.chromium.org/1717303002/diff/1/third_party/WebKit/Source/core/dom/StyleSheetCandidate.cpp#newcode97 third_party/WebKit/Source/core/dom/StyleSheetCandidate.cpp:97: if (sheet->ownerNode() && sheet->ownerNode()->treeScope().rootNode().isShadowRoot()) would ownerNode()->isInShadowTree() not work?
4 years, 10 months ago (2016-02-22 16:44:45 UTC) #5
rune
https://codereview.chromium.org/1717303002/diff/1/third_party/WebKit/Source/core/dom/StyleSheetCandidate.cpp File third_party/WebKit/Source/core/dom/StyleSheetCandidate.cpp (right): https://codereview.chromium.org/1717303002/diff/1/third_party/WebKit/Source/core/dom/StyleSheetCandidate.cpp#newcode97 third_party/WebKit/Source/core/dom/StyleSheetCandidate.cpp:97: if (sheet->ownerNode() && sheet->ownerNode()->treeScope().rootNode().isShadowRoot()) On 2016/02/22 16:44:45, dglazkov wrote: ...
4 years, 10 months ago (2016-02-22 17:38:16 UTC) #6
dglazkov
lgtm
4 years, 10 months ago (2016-02-22 17:56:41 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1717303002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1717303002/20001
4 years, 10 months ago (2016-02-22 18:04:21 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 10 months ago (2016-02-22 19:37:20 UTC) #10
commit-bot: I haz the power
4 years, 10 months ago (2016-02-22 19:38:44 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/9c477d3b1df82392e5953d2bccfdf0ca371a6c07
Cr-Commit-Position: refs/heads/master@{#376776}

Powered by Google App Engine
This is Rietveld 408576698