Index: LayoutTests/fast/sub-pixel/sub-pixel-transparency-layer-expected.html |
diff --git a/LayoutTests/fast/sub-pixel/sub-pixel-transparency-layer-expected.html b/LayoutTests/fast/sub-pixel/sub-pixel-transparency-layer-expected.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..84192c15fa374b586131505c6ea1dc7fa0390edb |
--- /dev/null |
+++ b/LayoutTests/fast/sub-pixel/sub-pixel-transparency-layer-expected.html |
@@ -0,0 +1,31 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+<style> |
+#subPixelContainer { |
+ width: 101px; |
+ height: 100px; |
+ position: relative; |
+} |
+#subPixelContainer > div { |
+ position: absolute; |
+ width: 50px; |
+ right: 0px; |
+ height: 50px; |
+ background-color: red; |
+} |
+#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> |