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