Sign in
webkit
/
WebKit
/
6081ea9a1257c54e568dd63d093b5b8b413bd159
/
.
/
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>