repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge Chromium + Blink git repositories
[chromium-blink-merge.git]
/
third_party
/
WebKit
/
LayoutTests
/
fast
/
text
/
selection-rect-line-height-too-big.html
blob
47b6d27473255e790437e2c6d39e0a147157dbc6
1
<style>
2
div::selection { background-color: green; }
3
</style>
4
<div
id
=
"target"
style
=
"font-size: 16px; height: 20px; line-height: 48px;"
>
5
The House
6
</div>
7
<script>
8
getSelection
().
setBaseAndExtent
(
target
,
0
,
target
,
1
);
9
</script>