Index: third_party/WebKit/LayoutTests/compositing/overflow/ancestor-overflow-layer-of-sticky-child-of-compositing-container-expected.html |
diff --git a/third_party/WebKit/LayoutTests/compositing/overflow/ancestor-overflow-layer-of-sticky-child-of-compositing-container-expected.html b/third_party/WebKit/LayoutTests/compositing/overflow/ancestor-overflow-layer-of-sticky-child-of-compositing-container-expected.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ac1a3914029f5076a5094fa1256eddf222997969 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/compositing/overflow/ancestor-overflow-layer-of-sticky-child-of-compositing-container-expected.html |
@@ -0,0 +1,31 @@ |
+<!DOCTYPE html> |
+<style> |
+.fixed { |
+ position: fixed; |
+} |
flackr
2017/05/19 18:28:31
Remove unused class.
yigu
2017/05/23 19:16:40
Done.
|
+ |
+.composited { |
+ /* Force compositing without creating a stacking context */ |
+ backface-visibility: hidden; |
+} |
+ |
+.spacer { |
+ height: 2000px; |
+} |
+ |
+.container { |
+ width: 500px; |
+ height: 500px; |
+ overflow: scroll; |
+} |
+</style> |
+ |
+<div class="composited"> |
+ Ref text. |
+ <div class="container"> |
+ <div> |
+ This line should line up with the text above. |
+ </div> |
+ <div class="spacer"></div> |
+ </div> |
+</div> |