| Index: LayoutTests/fast/sub-pixel/sub-pixel-transparency-layer.html
|
| diff --git a/LayoutTests/fast/sub-pixel/sub-pixel-transparency-layer.html b/LayoutTests/fast/sub-pixel/sub-pixel-transparency-layer.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..b1a81ba5f4cb6cd7b3abddb1f616d4c60de9a983
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/sub-pixel/sub-pixel-transparency-layer.html
|
| @@ -0,0 +1,32 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<head>
|
| +<style>
|
| +#subPixelContainer {
|
| + width: 100.5px;
|
| + height: 100px;
|
| + position: relative;
|
| +}
|
| +#subPixelContainer > div {
|
| + position: absolute;
|
| + width: 50px;
|
| + right: 0px;
|
| + height: 50px;
|
| + background-color: red;
|
| + -webkit-transform: translateZ(0);
|
| +}
|
| +#test {
|
| + opacity: 0.99;
|
| + position: relative;
|
| + height: 50px;
|
| + top: 0px;
|
| + padding: 0;
|
| + background-color: green;
|
| +}
|
| +</style>
|
| +</head>
|
| +<body>
|
| +<div>This tests that transparency layers are properly aligned when on sub-pixel offsets. You should see no red.</div>
|
| +<div id="subPixelContainer">
|
| + <div><div id="test"></div></div>
|
| +</div>
|
|
|