Sign in
chromium
/
chromium
/
src
/
6ae6ebf40e46e38edd801e7f3ff519c6c866a456
/
.
/
third_party
/
WebKit
/
LayoutTests
/
editing
/
style
/
highlight.html
blob: 2620bc5c7852b4fd6f93193e552167acba2c0dd1 [
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
().
collapse
(
e
,
0
);
</script>
</body>
</html>