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

Side by Side Diff: test/custom_element_proxy_test.html

Issue 839013003: CustomElementProxy annotation (Closed) Base URL: git@github.com:dart-lang/web-components.git@master
Patch Set: update initialize dependency Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « test/custom_element_proxy_test.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta http-equiv="X-UA-Compatible" content="IE=edge">
5 <meta name="dart.unittest" content="full-stack-traces">
6 <title> custom_element_proxy test </title>
7 <style>
8 .unittest-table { font-family:monospace; border:1px; }
9 .unittest-pass { background: #6b3;}
10 .unittest-fail { background: #d55;}
11 .unittest-error { background: #a11;}
12 </style>
13 <script src="/packages/web_components/webcomponents.js"></script>
14 <script src="/packages/web_components/interop_support.js"></script>
15 <script src="/packages/web_components/dart_support.js"></script>
16 </head>
17 <body>
18 <h1> Running custom_element_proxy </h1>
19 <div id="container"></div>
20
21 <script>
22 var basicElementProto = Object.create(HTMLElement.prototype);
23 basicElementProto.isBasicElement = true;
24 document.registerElement('basic-element', {
25 prototype: basicElementProto
26 });
27
28 var extendedElementProto = Object.create(HTMLInputElement.prototype);
29 extendedElementProto.isExtendedElement = true;
30 document.registerElement('extended-element', {
31 prototype: extendedElementProto,
32 extends: 'input'
33 });
34 </script>
35
36 <script type="text/javascript"
37 src="/root_dart/tools/testing/dart/test_controller.js"></script>
38 <script type="application/dart" src="custom_element_proxy_test.dart"></script>
39 <script type="text/javascript" src="/packages/browser/dart.js"></script>
40 </body>
41 </html>
OLDNEW
« no previous file with comments | « test/custom_element_proxy_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698