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
/
editing
/
caret
/
caret-in-inline-block.html
blob
b10d27d9aaf7bd8ace4fbceda7e3516d7d6a675c
1
<style>
2
div.sample {
3
display: inline-block;
4
padding-top:
10
px;
5
padding-bottom:
10
px;
6
margin-bottom:
200
px;
7
width:
400
px;
8
}
9
</style>
10
<body>
11
<p>
This test checks caret height in display:inline-block.
</p>
12
<div
class
=
"sample"
contenteditable
=
"true"
></div>
13
</body>
14
<script>
15
onload
=
function
() {
16
document
.
querySelector
(
"div[contenteditable]"
).
focus
();
17
};
18
</script>