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

Issue 2321363002: Custom Elements: layout tests for custom built-in elements definition (Closed)

Created:
4 years, 3 months ago by yurak
Modified:
4 years, 3 months ago
CC:
blink-reviews, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Custom Elements: layout tests for custom built-in elements definition For custom built-in elements: https://html.spec.whatwg.org/multipage/scripting.html#element-definition 7. If an element interface is provided for the extends option, it is assumed to be a customized built-in element. 7.1. If element interface is valid custom element name, throws NotSupportedError DOMException https://html.spec.whatwg.org/multipage/scripting.html#valid-custom-element-name 7.2. If element interface is HTMLUnknownElement, throws NotSupportedError DOMException https://html.spec.whatwg.org/multipage/dom.html#elements-in-the-dom:element-interface 7.3. localName set to extends value and not the define-name A -expected.txt file was included since this isn't implemented yet. BUG= Committed: https://crrev.com/cf5d797834090f88d671a9cc97659a2011f094c6 Cr-Commit-Position: refs/heads/master@{#418762}

Patch Set 1 #

Total comments: 11

Patch Set 2 : Changes made according to comments #

Patch Set 3 : Removed comment #

Patch Set 4 : New file for custom built-in element definition #

Patch Set 5 : New file for custom built-in element definition #

Total comments: 3

Patch Set 6 : New file for custom built-in element definition #

Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -0 lines) Patch
A third_party/WebKit/LayoutTests/custom-elements/spec/define-builtin-element.html View 1 2 3 4 5 1 chunk +57 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/custom-elements/spec/define-builtin-element-expected.txt View 1 2 3 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (6 generated)
yurak
4 years, 3 months ago (2016-09-12 02:12:27 UTC) #3
kojii
I think it's better to have separate test files for extends, and it'd be helpful ...
4 years, 3 months ago (2016-09-12 04:52:24 UTC) #4
dominicc (has gone to gerrit)
Great start, comments inline. Check grammar in the description: must cannot https://codereview.chromium.org/2321363002/diff/1/third_party/WebKit/LayoutTests/custom-elements/spec/define-element.html File third_party/WebKit/LayoutTests/custom-elements/spec/define-element.html (right): ...
4 years, 3 months ago (2016-09-12 05:12:55 UTC) #5
yurak
On 2016/09/12 at 04:52:24, kojii wrote: > I think it's better to have separate test ...
4 years, 3 months ago (2016-09-12 06:24:21 UTC) #6
kojii
On 2016/09/12 at 06:24:21, yurak wrote: > > Extends is part of the element definition ...
4 years, 3 months ago (2016-09-12 06:32:15 UTC) #7
yurak
Updated according to comments, PTL @dominicc So if there is no extends option, is it ...
4 years, 3 months ago (2016-09-12 07:45:53 UTC) #8
yurak
Separated test cases for custom built-in elements into a new test file.
4 years, 3 months ago (2016-09-13 01:08:31 UTC) #9
dominicc (has gone to gerrit)
LGTM. A couple of comments inline, let me know when you've addressed those and we'll ...
4 years, 3 months ago (2016-09-13 08:22:45 UTC) #10
dominicc (has gone to gerrit)
On 2016/09/12 at 07:45:53, yurak wrote: > Updated according to comments, PTL > > @dominicc ...
4 years, 3 months ago (2016-09-13 08:23:07 UTC) #11
dominicc (has gone to gerrit)
One more nit: There's still a "must cannot" in the description; use the edit link ...
4 years, 3 months ago (2016-09-13 08:23:40 UTC) #12
yurak
On 2016/09/13 at 08:22:45, dominicc wrote: > LGTM. A couple of comments inline, let me ...
4 years, 3 months ago (2016-09-13 09:35:09 UTC) #14
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/2321363002/100001
4 years, 3 months ago (2016-09-15 01:20:48 UTC) #17
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 3 months ago (2016-09-15 02:29:37 UTC) #18
commit-bot: I haz the power
4 years, 3 months ago (2016-09-15 02:32:59 UTC) #20
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/cf5d797834090f88d671a9cc97659a2011f094c6
Cr-Commit-Position: refs/heads/master@{#418762}

Powered by Google App Engine
This is Rietveld 408576698