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..3a968eeb430a474311da42d7f6ce6088234bef72 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/compositing/overflow/ancestor-overflow-layer-of-sticky-child-of-compositing-container-expected.html |
@@ -0,0 +1,32 @@ |
+<!DOCTYPE html> |
+<style> |
+.fixed { |
+ position: fixed; |
+} |
+ |
+.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 fixed"> |
+ There are two lines below: |
+ <div class="composited container"> |
flackr
2017/05/17 19:44:03
No need to separately composite anything for the e
yigu
2017/05/17 20:28:14
Right. We only need to composite the outer div for
|
+ <div> |
+ First line. <br> |
+ Second line. |
+ </div> |
+ <div class="spacer"></div> |
+ </div> |
+</div> |