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
/
sub-pixel
/
clip-sub-pixel-composited-layer-expected.html
blob
49e33e56e8d3ee4500b5f497246a899da610bfdc
1
<!DOCTYPE
html
>
2
<html>
3
<head>
4
<style>
5
h1 {
6
overflow: hidden;
7
position: relative;
8
display: inline-block;
9
width:
14
px;
10
height:
14
px;
11
}
12
span {
13
display: block;
14
position: absolute;
15
width:
10
px;
16
height:
10
px;
17
border:
2
px solid black;
18
}
19
div {
20
padding-left:
10.5
px;
21
position: absolute;
22
}
23
</style>
24
</head>
25
<body>
26
<p>
This tests that we properly clip sub-pixel positioned composited layers. There should be no red visible.
</p>
27
<div>
28
<h1>
29
<span></span>
30
</h1>
31
</div>