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