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
/
fast
/
frames
/
srcdoc
/
srcdoc-cannot-be-in-qurks-mode.html
1
<script>
2
if (window.testRunner)
3
testRunner.dumpAsText();
4
</script>
5
Normally srcdoc documents default to standards mode, but they can end up in
6
quirks mode with a sufficiently nutty DocType.
7
<iframe srcdoc='
8
<!DOCTYPE banana>
9
<script>
10
alert(document.compatMode);
11
</script>
12
'></iframe>