repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge Chromium + Blink git repositories
[chromium-blink-merge.git]
/
third_party
/
WebKit
/
LayoutTests
/
fast
/
dom
/
HTMLImageElement
/
image-sizes-viewport-with-template-parent-and-empty-sizes.html
blob
6ad1f63149587ec1b0895d7ad322b2cea69bcb09
1
<!DOCTYPE
html
>
2
<script>
3
if
(
window
.
testRunner
)
4
testRunner
.
dumpAsText
();
5
6
function
insert
() {
7
var
img
=
new
Image
();
8
var
template
=
document
.
getElementById
(
'template'
);
9
img
.
sizes
=
''
;
10
template
.
appendChild
(
img
);
11
}
12
</script>
13
<body
onload
=
"insert()"
>
14
<pre
id
=
"result"
>
PASS - didn't crash.
</pre>
15
<template
id =
"template"
></template>
16
</body>