Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / custom / lifecycle-created-parser-script.html
blobf983a7cebf9e9f2137e3ba267bfc63a9520dfd02
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../../resources/js-test.js"></script>
5 <script>
6 description("This test ensures that the lifecycle callback of a parser-made element is visible in following script block.")
7 proto = Object.create(HTMLElement.prototype, { createdCallback: { value: function() { window.callbacksCalled = true; } } });
8 document.registerElement("x-foo", { prototype: proto });
9 </script>
10 </head>
11 <body>
12 <x-foo></x-foo>
13 <script>
14 shouldBeTrue("window.callbacksCalled");
15 </script>
16 </body>
17 </html>