projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git]
/
src
/
third_party
/
WebKit
/
LayoutTests
/
http
/
tests
/
htmlimports
/
resources
/
custom-element-def.html
1
<!DOCTYPE html>
2
<my-custom id="def-before"></my-custom>
3
<script>
4
(function()
5
{
6
var proto = Object.create(HTMLElement.prototype);
7
proto.createdCallback = function ()
8
{
9
recordElement(this);
10
};
11
12
document.registerElement('my-custom', {prototype: proto});
13
})();
14
</script>
15
<my-custom id="def-after"></my-custom>