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