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

Issue 878743003: Use the tree of trees for the lang attributes in Shadow DOM (Closed)

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

Description

Use the tree of trees for the lang attributes in Shadow DOM To accommodate the spec change, computing the lang attribute was changed to traverse tree of trees. The relevant W3C bug is 27222 https://www.w3.org/Bugs/Public/show_bug.cgi?id=27222 BUG=450115 TEST=fast/dom/shadow/attr-lang-inherit.html Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=189903

Patch Set 1 #

Total comments: 6

Patch Set 2 : More tests added #

Total comments: 4

Patch Set 3 : Update tests to reflect comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -1 line) Patch
A LayoutTests/fast/dom/shadow/attr-lang-inherit.html View 1 2 1 chunk +87 lines, -0 lines 0 comments Download
M Source/core/dom/Element.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 14 (2 generated)
kojii
hayato@, PTAL!
5 years, 10 months ago (2015-01-28 07:45:43 UTC) #2
hayato
Nit: The first line of CL should start with 'verb' in general. https://codereview.chromium.org/878743003/diff/1/LayoutTests/fast/dom/shadow/attr-lang-inherit.html File LayoutTests/fast/dom/shadow/attr-lang-inherit.html ...
5 years, 10 months ago (2015-01-28 09:56:12 UTC) #3
kojii
hayato@, PTAL! https://codereview.chromium.org/878743003/diff/1/LayoutTests/fast/dom/shadow/attr-lang-inherit.html File LayoutTests/fast/dom/shadow/attr-lang-inherit.html (right): https://codereview.chromium.org/878743003/diff/1/LayoutTests/fast/dom/shadow/attr-lang-inherit.html#newcode24 LayoutTests/fast/dom/shadow/attr-lang-inherit.html:24: [[function (root) { return root.lastChild.previousSibling; }, fr], ...
5 years, 10 months ago (2015-01-29 11:05:24 UTC) #4
hayato
https://codereview.chromium.org/878743003/diff/20001/LayoutTests/fast/dom/shadow/attr-lang-inherit.html File LayoutTests/fast/dom/shadow/attr-lang-inherit.html (right): https://codereview.chromium.org/878743003/diff/20001/LayoutTests/fast/dom/shadow/attr-lang-inherit.html#newcode80 LayoutTests/fast/dom/shadow/attr-lang-inherit.html:80: var element = elementAndExpected[0](root); I think that calling function ...
5 years, 10 months ago (2015-02-03 02:22:27 UTC) #5
hayato
On 2015/01/29 11:05:24, koji wrote: > hayato@, PTAL! > > https://codereview.chromium.org/878743003/diff/1/LayoutTests/fast/dom/shadow/attr-lang-inherit.html > File LayoutTests/fast/dom/shadow/attr-lang-inherit.html (right): ...
5 years, 10 months ago (2015-02-03 02:23:59 UTC) #6
kojii
On 2015/02/03 02:23:59, hayato wrote: > On 2015/01/29 11:05:24, koji wrote: > > > > ...
5 years, 10 months ago (2015-02-03 07:36:01 UTC) #7
hayato
If there is no way to test an 'inherited attribute' from JS, we have to ...
5 years, 10 months ago (2015-02-03 22:14:30 UTC) #8
kojii
On 2015/02/03 22:14:30, hayato wrote: > If there is no way to test an 'inherited ...
5 years, 10 months ago (2015-02-04 02:04:33 UTC) #9
kojii
Comments fixed. Please let me know WDYT on testing disconnected nodes in my previous reply. ...
5 years, 10 months ago (2015-02-04 02:10:05 UTC) #10
hayato
lgtm
5 years, 10 months ago (2015-02-10 10:16:17 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/878743003/40001
5 years, 10 months ago (2015-02-10 15:41:40 UTC) #13
commit-bot: I haz the power
5 years, 10 months ago (2015-02-10 15:45:20 UTC) #14
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=189903

Powered by Google App Engine
This is Rietveld 408576698