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
Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git]
/
third_party
/
WebKit
/
LayoutTests
/
editing
/
selection
/
caret-before-select.html
blob
f1b01ed6700a3c0e3e92d086c8d56475f9f95963
1
<div
contenteditable
style
=
"padding:2em; border:5px solid red"
><select
id=edit
><option>
One
</option></select>
blaa
</div>
2
<script>
3
var
start
=
document
.
getElementById
(
"edit"
);
4
var
s
=
window
.
getSelection
();
5
s
.
collapse
(
start
,
0
);
6
</script>