repo.or.cz
/
gecko.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
no bug - Import translations from android-l10n r=release a=l10n CLOSED TREE
[gecko.git]
/
layout
/
base
/
tests
/
bug632215-ref.html
blob
b0e4bcff7fd56900b2713e2a157a785b8ef121b7
1
<!DOCTYPE
html
>
2
<html>
3
<body>
4
<iframe
srcdoc
=
"<body spellcheck=false>xx</body>"
></iframe>
5
<script>
6
onload
=
function
() {
7
var
i
=
document
.
querySelector
(
"iframe"
);
8
var
d
=
i
.
contentDocument
;
9
var
w
=
i
.
contentWindow
;
10
d
.
designMode
=
"on"
;
11
i
.
focus
();
12
d
.
body
.
focus
();
13
w
.
getSelection
().
collapse
(
d
.
body
.
firstChild
,
2
);
14
};
15
</script>
16
</body>
17
</html>