Sign in
webkit
/
WebKit
/
5d02745b8400f22c08ff07eebb5126f6409ceb61
/
.
/
LayoutTests
/
editing
/
style
/
highlight.html
blob: 5bb7883e0dfd348083f8bc4f54f533f1c39fb95c [
file
] [
log
] [
blame
]
<html>
<body><div
id
=
e
contenteditable
style
=
"
-webkit-highlight
:
'green'
;
"
>
some highlighted text
</div>
<script>
var
e
=
document
.
getElementById
(
'e'
);
window
.
getSelection
().
setPosition
(
e
,
0
);
</script>
</body>
</html>