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

Issue 12212056: Sample test for custom elements. (Closed)

Created:
7 years, 10 months ago by blois
Modified:
7 years, 10 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Sample test for custom elements. BUG= Committed: https://code.google.com/p/dart/source/detail?r=18421

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+134 lines, -5 lines) Patch
M sdk/lib/html/dart2js/html_dart2js.dart View 3 chunks +18 lines, -1 line 0 comments Download
M sdk/lib/html/dartium/html_dartium.dart View 4 chunks +18 lines, -4 lines 0 comments Download
A tests/html/custom_elements_test.dart View 1 2 3 1 chunk +80 lines, -0 lines 1 comment Download
M tests/html/html.status View 1 1 chunk +1 line, -0 lines 0 comments Download
M tools/dom/templates/html/impl/impl_Element.darttemplate View 1 chunk +6 lines, -0 lines 0 comments Download
M tools/dom/templates/html/impl/impl_HTMLDocument.darttemplate View 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
blois
As we discussed a while back, an example test for registering custom elements. Consider this ...
7 years, 10 months ago (2013-02-07 01:11:40 UTC) #1
Jennifer Messerly
This looks really cool. Seems like a great way to start making progress.
7 years, 10 months ago (2013-02-07 02:08:08 UTC) #2
Anton Muhin
https://codereview.chromium.org/12212056/diff/7/tests/html/custom_elements_test.dart File tests/html/custom_elements_test.dart (right): https://codereview.chromium.org/12212056/diff/7/tests/html/custom_elements_test.dart#newcode67 tests/html/custom_elements_test.dart:67: expect(element, isNotNull); there is no element local. how and ...
7 years, 10 months ago (2013-02-07 15:29:33 UTC) #3
Siggi Cherem (dart-lang)
looks great, is the idea to include also the other lifecycle methods in Element (onInserted, ...
7 years, 10 months ago (2013-02-07 17:29:39 UTC) #4
blois
For lifecycle events- is this something which is poly-filled right now in web components? https://codereview.chromium.org/12212056/diff/7/tests/html/custom_elements_test.dart ...
7 years, 10 months ago (2013-02-07 21:15:06 UTC) #5
Siggi Cherem (dart-lang)
On 2013/02/07 21:15:06, blois wrote: > For lifecycle events- is this something which is poly-filled ...
7 years, 10 months ago (2013-02-07 21:50:26 UTC) #6
Anton Muhin
https://codereview.chromium.org/12212056/diff/6001/tests/html/custom_elements_test.dart File tests/html/custom_elements_test.dart (right): https://codereview.chromium.org/12212056/diff/6001/tests/html/custom_elements_test.dart#newcode67 tests/html/custom_elements_test.dart:67: element = dom.children[0]; what if I fetch element before ...
7 years, 10 months ago (2013-02-08 12:51:03 UTC) #7
blois
https://codereview.chromium.org/12212056/diff/6001/tests/html/custom_elements_test.dart File tests/html/custom_elements_test.dart (right): https://codereview.chromium.org/12212056/diff/6001/tests/html/custom_elements_test.dart#newcode67 tests/html/custom_elements_test.dart:67: element = dom.children[0]; On 2013/02/08 12:51:03, Anton Muhin wrote: ...
7 years, 10 months ago (2013-02-08 17:44:30 UTC) #8
Anton Muhin
lgtm https://codereview.chromium.org/12212056/diff/8002/tests/html/custom_elements_test.dart File tests/html/custom_elements_test.dart (right): https://codereview.chromium.org/12212056/diff/8002/tests/html/custom_elements_test.dart#newcode70 tests/html/custom_elements_test.dart:70: var postElement = dom.children[0]; weird semantics. I wonder ...
7 years, 10 months ago (2013-02-11 14:04:30 UTC) #9
blois
On 2013/02/11 14:04:30, Anton Muhin wrote: > lgtm > > https://codereview.chromium.org/12212056/diff/8002/tests/html/custom_elements_test.dart > File tests/html/custom_elements_test.dart (right): ...
7 years, 10 months ago (2013-02-12 00:46:18 UTC) #10
Jennifer Messerly
On 2013/02/12 00:46:18, blois wrote: > On 2013/02/11 14:04:30, Anton Muhin wrote: > > lgtm ...
7 years, 10 months ago (2013-02-12 00:51:57 UTC) #11
blois
On 2013/02/12 00:51:57, John Messerly wrote: > On 2013/02/12 00:46:18, blois wrote: > > On ...
7 years, 10 months ago (2013-02-13 00:37:12 UTC) #12
Anton Muhin
7 years, 10 months ago (2013-02-13 07:22:35 UTC) #13
Message was sent while issue was closed.
just in case if you depend on it, long standing lgtm

Powered by Google App Engine
This is Rietveld 408576698