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

Issue 2566523003: Fix meta-theme-color not working outside <head> (Closed)

Created:
4 years ago by lpy
Modified:
4 years ago
Reviewers:
tkent
CC:
blink-reviews, blink-reviews-dom_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, rwlbuis, sof
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix meta-theme-color not working outside <head> Document::themeColor() only looks for meta-theme-color inside <head>, however, the spec for meta-theme-color does not restrict it to <head>. BUG=671823 Committed: https://crrev.com/b0dcd96c51e12739407d11a0259e338d7630e150 Cr-Commit-Position: refs/heads/master@{#437619}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add tests #

Total comments: 4

Patch Set 3 : Address comments #

Total comments: 6

Patch Set 4 : update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -6 lines) Patch
M third_party/WebKit/Source/core/dom/Document.cpp View 1 2 3 1 chunk +7 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/dom/DocumentTest.cpp View 1 2 3 1 chunk +19 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (16 generated)
lpy
PTAL.
4 years ago (2016-12-09 05:38:44 UTC) #4
tkent
Please add a test. Probably C++ unit test. https://codereview.chromium.org/2566523003/diff/1/third_party/WebKit/Source/core/dom/Document.cpp File third_party/WebKit/Source/core/dom/Document.cpp (right): https://codereview.chromium.org/2566523003/diff/1/third_party/WebKit/Source/core/dom/Document.cpp#newcode5400 third_party/WebKit/Source/core/dom/Document.cpp:5400: for ...
4 years ago (2016-12-09 06:07:25 UTC) #5
lpy
On 2016/12/09 06:07:25, tkent wrote: > Please add a test. Probably C++ unit test. Where ...
4 years ago (2016-12-09 07:14:26 UTC) #8
tkent
On 2016/12/09 at 07:14:26, lpy wrote: > On 2016/12/09 06:07:25, tkent wrote: > > Please ...
4 years ago (2016-12-09 07:25:29 UTC) #9
lpy
Thanks, I updated the patch, ptal. https://codereview.chromium.org/2566523003/diff/1/third_party/WebKit/Source/core/dom/Document.cpp File third_party/WebKit/Source/core/dom/Document.cpp (right): https://codereview.chromium.org/2566523003/diff/1/third_party/WebKit/Source/core/dom/Document.cpp#newcode5400 third_party/WebKit/Source/core/dom/Document.cpp:5400: for (HTMLElement* child ...
4 years ago (2016-12-09 08:43:43 UTC) #12
tkent
https://codereview.chromium.org/2566523003/diff/20001/third_party/WebKit/Source/core/dom/Document.cpp File third_party/WebKit/Source/core/dom/Document.cpp (right): https://codereview.chromium.org/2566523003/diff/20001/third_party/WebKit/Source/core/dom/Document.cpp#newcode5401 third_party/WebKit/Source/core/dom/Document.cpp:5401: Traversal<HTMLMetaElement>::descendantsOf(*documentElement())) { Crash if documentElement() is nullptr. https://codereview.chromium.org/2566523003/diff/20001/third_party/WebKit/Source/core/dom/DocumentTest.cpp File ...
4 years ago (2016-12-09 08:48:38 UTC) #13
lpy
Thanks, please take another look. https://codereview.chromium.org/2566523003/diff/20001/third_party/WebKit/Source/core/dom/Document.cpp File third_party/WebKit/Source/core/dom/Document.cpp (right): https://codereview.chromium.org/2566523003/diff/20001/third_party/WebKit/Source/core/dom/Document.cpp#newcode5401 third_party/WebKit/Source/core/dom/Document.cpp:5401: Traversal<HTMLMetaElement>::descendantsOf(*documentElement())) { On 2016/12/09 ...
4 years ago (2016-12-09 09:17:37 UTC) #16
tkent
lgtm https://codereview.chromium.org/2566523003/diff/40001/third_party/WebKit/Source/core/dom/Document.cpp File third_party/WebKit/Source/core/dom/Document.cpp (right): https://codereview.chromium.org/2566523003/diff/40001/third_party/WebKit/Source/core/dom/Document.cpp#newcode5400 third_party/WebKit/Source/core/dom/Document.cpp:5400: auto de = documentElement(); 'de' isn't a good ...
4 years ago (2016-12-09 09:20:53 UTC) #17
lpy
https://codereview.chromium.org/2566523003/diff/40001/third_party/WebKit/Source/core/dom/Document.cpp File third_party/WebKit/Source/core/dom/Document.cpp (right): https://codereview.chromium.org/2566523003/diff/40001/third_party/WebKit/Source/core/dom/Document.cpp#newcode5400 third_party/WebKit/Source/core/dom/Document.cpp:5400: auto de = documentElement(); On 2016/12/09 09:20:53, tkent wrote: ...
4 years ago (2016-12-09 17:53:37 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2566523003/60001
4 years ago (2016-12-09 17:54:29 UTC) #23
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years ago (2016-12-09 20:20:26 UTC) #26
commit-bot: I haz the power
4 years ago (2016-12-12 14:37:15 UTC) #28
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/b0dcd96c51e12739407d11a0259e338d7630e150
Cr-Commit-Position: refs/heads/master@{#437619}

Powered by Google App Engine
This is Rietveld 408576698