Sign in
webkit
/
WebKit
/
9765eaae75bc2c2ccc4b2468231acc50588e5d25
/
.
/
LayoutTests
/
editing
/
style
/
highlight.html
blob: 59f90e48ba6db99837fa71287620dc2bfbfde79f [
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>