Index: LayoutTests/fast/scrolling/fractional-scroll-offset-fixed-position.html |
diff --git a/LayoutTests/fast/scrolling/fractional-scroll-offset-fixed-position.html b/LayoutTests/fast/scrolling/fractional-scroll-offset-fixed-position.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3cf3bf5209fa4c0b17f5fefd39aefd3796df9e5a |
--- /dev/null |
+++ b/LayoutTests/fast/scrolling/fractional-scroll-offset-fixed-position.html |
@@ -0,0 +1,40 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+<style> |
+#settings { |
+ width: 100px; |
+ height: 100px; |
+ position: fixed; |
+ top: 10px; |
+ z-index:2; |
+ background-color:red; |
+} |
+ |
+#header { |
+ width:200px; |
+ height:20px; |
+ position:fixed; |
+ right:100px; |
+ top:100px; |
+ z-index:3; |
+ background-color:green; |
+} |
+</style> |
+</head> |
+ |
+<script> |
+function runTest() |
+{ |
+ window.internals.settings.setPreferCompositingToLCDTextEnabled(true); |
+ window.scrollTo(0, 0.5) |
+} |
+</script> |
+ |
+<body style="width:1000px;height:2000px;" onload="runTest()"> |
+<div id="settings" > |
+ <div id="header"> |
+ </div> |
+</div> |
+</body> |
+</html> |