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

Issue 14795005: Add support for custom elements to MDV (Closed)

Created:
7 years, 7 months ago by Jennifer Messerly
Modified:
7 years, 7 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Add support for custom elements to MDV 1. Custom elements should be able to override Node.bind 2. Custom elements should be able to intercept attributes set by the binding system R=blois@google.com, sigmund@google.com Committed: https://code.google.com/p/dart/source/detail?r=22650

Patch Set 1 #

Total comments: 14

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+368 lines, -31 lines) Patch
M sdk/lib/html/dart2js/html_dart2js.dart View 1 6 chunks +27 lines, -10 lines 0 comments Download
M sdk/lib/html/dartium/html_dartium.dart View 6 chunks +26 lines, -9 lines 0 comments Download
A tests/html/custom_element_bindings_test.dart View 1 2 1 chunk +286 lines, -0 lines 0 comments Download
M tools/dom/src/TemplateBindings.dart View 1 3 chunks +11 lines, -3 lines 0 comments Download
M tools/dom/templates/html/impl/impl_Element.darttemplate View 3 chunks +18 lines, -9 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Jennifer Messerly
I need this to make the nice web_ui <custom-element foo="{{bar}}"> syntax work. As you can ...
7 years, 7 months ago (2013-05-12 02:52:41 UTC) #1
Siggi Cherem (dart-lang)
lgtm! Nice! For web UI, I assume everything under bind/unbind/unbindAll in MyCustomElement would be autogenerated? ...
7 years, 7 months ago (2013-05-13 16:42:13 UTC) #2
blois
https://codereview.chromium.org/14795005/diff/1/sdk/lib/html/dart2js/html_dart2js.dart File sdk/lib/html/dart2js/html_dart2js.dart (right): https://codereview.chromium.org/14795005/diff/1/sdk/lib/html/dart2js/html_dart2js.dart#newcode26514 sdk/lib/html/dart2js/html_dart2js.dart:26514: _nodeOrCustom(node) => node is Element ? node.xtag : node; ...
7 years, 7 months ago (2013-05-13 17:45:13 UTC) #3
blois
lgtm
7 years, 7 months ago (2013-05-13 17:45:29 UTC) #4
Jennifer Messerly
Thanks guys. Here are some thoughts. Let me know if this sounds good. https://codereview.chromium.org/14795005/diff/1/sdk/lib/html/dart2js/html_dart2js.dart File ...
7 years, 7 months ago (2013-05-13 19:42:41 UTC) #5
Jennifer Messerly
https://codereview.chromium.org/14795005/diff/1/tools/dom/src/TemplateBindings.dart File tools/dom/src/TemplateBindings.dart (right): https://codereview.chromium.org/14795005/diff/1/tools/dom/src/TemplateBindings.dart#newcode549 tools/dom/src/TemplateBindings.dart:549: _nodeOrCustom(node) => node is Element ? node.xtag : node; ...
7 years, 7 months ago (2013-05-13 19:43:45 UTC) #6
Jennifer Messerly
https://codereview.chromium.org/14795005/diff/1/tests/html/custom_element_bindings_test.dart File tests/html/custom_element_bindings_test.dart (right): https://codereview.chromium.org/14795005/diff/1/tests/html/custom_element_bindings_test.dart#newcode25 tests/html/custom_element_bindings_test.dart:25: document.body.nodes.add(testDiv = new DivElement()); On 2013/05/13 19:42:41, John Messerly ...
7 years, 7 months ago (2013-05-13 20:02:40 UTC) #7
Jennifer Messerly
https://codereview.chromium.org/14795005/diff/1/sdk/lib/html/dart2js/html_dart2js.dart File sdk/lib/html/dart2js/html_dart2js.dart (right): https://codereview.chromium.org/14795005/diff/1/sdk/lib/html/dart2js/html_dart2js.dart#newcode26514 sdk/lib/html/dart2js/html_dart2js.dart:26514: _nodeOrCustom(node) => node is Element ? node.xtag : node; ...
7 years, 7 months ago (2013-05-13 20:24:36 UTC) #8
Jennifer Messerly
7 years, 7 months ago (2013-05-13 20:27:36 UTC) #9
Message was sent while issue was closed.
Committed patchset #3 manually as r22650 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698