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

Side by Side Diff: LayoutTests/fast/dom/custom/lifecycle-created-parser-only.html

Issue 117313008: Update Custom Elements API to new names. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update for forgotten tests. Created 7 years 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script> 4 <script>
5 proto = Object.create(HTMLElement.prototype, { createdCallback: { value: functio n() { this.innerHTML = "Hello"; } } }); 5 proto = Object.create(HTMLElement.prototype, { createdCallback: { value: functio n() { this.innerHTML = "Hello"; } } });
6 document.register("x-foo", { prototype: proto }); 6 document.registerElement("x-foo", { prototype: proto });
7 </script> 7 </script>
8 </head> 8 </head>
9 <body> 9 <body>
10 <x-foo></x-foo> 10 <x-foo></x-foo>
11 </body> 11 </body>
12 </html> 12 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698