diff options
Diffstat (limited to 'third_party/WebKit/LayoutTests/compositing/rtl')
42 files changed, 1090 insertions, 0 deletions
diff --git a/third_party/WebKit/LayoutTests/compositing/rtl/rtl-absolute-expected.png b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-absolute-expected.png Binary files differnew file mode 100644 index 0000000..9ea844f --- /dev/null +++ b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-absolute-expected.png diff --git a/third_party/WebKit/LayoutTests/compositing/rtl/rtl-absolute-expected.txt b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-absolute-expected.txt new file mode 100644 index 0000000..bdcf0c4 --- /dev/null +++ b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-absolute-expected.txt @@ -0,0 +1,16 @@ +(GraphicsLayer + (bounds 800.00 600.00) + (children 1 + (GraphicsLayer + (bounds 800.00 600.00) + (children 1 + (GraphicsLayer + (position 50.00 50.00) + (bounds 100.00 100.00) + (drawsContent 1) + ) + ) + ) + ) +) + diff --git a/third_party/WebKit/LayoutTests/compositing/rtl/rtl-absolute-overflow-expected.png b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-absolute-overflow-expected.png Binary files differnew file mode 100644 index 0000000..9ea844f --- /dev/null +++ b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-absolute-overflow-expected.png diff --git a/third_party/WebKit/LayoutTests/compositing/rtl/rtl-absolute-overflow-expected.txt b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-absolute-overflow-expected.txt new file mode 100644 index 0000000..eb2a505 --- /dev/null +++ b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-absolute-overflow-expected.txt @@ -0,0 +1,17 @@ +(GraphicsLayer + (position -208.00 0.00) + (bounds 1008.00 1016.00) + (children 1 + (GraphicsLayer + (bounds 1008.00 1016.00) + (children 1 + (GraphicsLayer + (position 258.00 50.00) + (bounds 100.00 100.00) + (drawsContent 1) + ) + ) + ) + ) +) + diff --git a/third_party/WebKit/LayoutTests/compositing/rtl/rtl-absolute-overflow-scrolled-expected.png b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-absolute-overflow-scrolled-expected.png Binary files differnew file mode 100644 index 0000000..9ea844f --- /dev/null +++ b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-absolute-overflow-scrolled-expected.png diff --git a/third_party/WebKit/LayoutTests/compositing/rtl/rtl-absolute-overflow-scrolled-expected.txt b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-absolute-overflow-scrolled-expected.txt new file mode 100644 index 0000000..424ff37 --- /dev/null +++ b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-absolute-overflow-scrolled-expected.txt @@ -0,0 +1,17 @@ +(GraphicsLayer + (position -208.00 0.00) + (bounds 1008.00 1016.00) + (children 1 + (GraphicsLayer + (bounds 1008.00 1016.00) + (children 1 + (GraphicsLayer + (position 51.00 50.00) + (bounds 100.00 100.00) + (drawsContent 1) + ) + ) + ) + ) +) + diff --git a/third_party/WebKit/LayoutTests/compositing/rtl/rtl-absolute-overflow-scrolled.html b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-absolute-overflow-scrolled.html new file mode 100644 index 0000000..9f3b034 --- /dev/null +++ b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-absolute-overflow-scrolled.html @@ -0,0 +1,66 @@ +<html> +<head> +<style> + body { + direction: rtl; + overflow: hidden; + } + + .positioned { + position: absolute; + top: 50px; + left: 50px; + width: 100px; + height: 100px; + } + + #indicator { + background-color: red; + } + + #layer { + -webkit-transform:translateZ(0); + background-color: green; + } + + #root { + width: 1000px; + height: 1000px; + } + + #layertree { + position: absolute; + top: 10000px; + left: 0px; + } +</style> +<script> + function doTest() { + if (window.layoutTestController) { + layoutTestController.waitUntilDone(); + layoutTestController.dumpAsText(true); + } + + // The far left coordinate of the document varies by window width. + var offset = document.body.clientWidth - document.body.scrollWidth + 1; + document.getElementById('layer').style.left = offset + 50; + document.getElementById('indicator').style.left = offset + 50; + + window.setTimeout(function() { + window.scrollTo(offset, 0); + if (window.layoutTestController) { + document.getElementById('layertree').innerText = layoutTestController.layerTreeAsText(); + layoutTestController.notifyDone(); + } + }, 0); + } + window.addEventListener('load', doTest, false); +</script> +<body> + <div id="root"></div> + <div class="positioned" id="indicator"></div> + <div class="positioned" id="layer"></div> + + <pre id="layertree"></pre> +</body> +</html> diff --git a/third_party/WebKit/LayoutTests/compositing/rtl/rtl-absolute-overflow.html b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-absolute-overflow.html new file mode 100644 index 0000000..852d21f --- /dev/null +++ b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-absolute-overflow.html @@ -0,0 +1,53 @@ +<html> +<head> +<style> + body { + direction: rtl; + overflow: hidden; + } + + .positioned { + position: absolute; + top: 50px; + left: 50px; + width: 100px; + height: 100px; + } + + .indicator { + background-color: red; + } + + .layer { + -webkit-transform:translateZ(0); + background-color: green; + } + + #root { + width: 1000px; + height: 1000px; + } + + #layertree { + position: absolute; + top: 10000px; + left: 0px; + } +</style> +<script> + function doTest() { + if (window.layoutTestController) { + document.getElementById('layertree').innerText = layoutTestController.layerTreeAsText(); + layoutTestController.dumpAsText(true); + } + } + window.addEventListener('load', doTest, false); +</script> +<body> + <div id="root"></div> + <div class="positioned indicator"></div> + <div class="positioned layer"></div> + + <pre id="layertree"></pre> +</body> +</html> diff --git a/third_party/WebKit/LayoutTests/compositing/rtl/rtl-absolute.html b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-absolute.html new file mode 100644 index 0000000..7582475 --- /dev/null +++ b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-absolute.html @@ -0,0 +1,47 @@ +<html> +<head> +<style> + body { + direction: rtl; + overflow: hidden; + } + + .positioned { + position: absolute; + top: 50px; + left: 50px; + width: 100px; + height: 100px; + } + + .indicator { + background-color: red; + } + + .layer { + -webkit-transform:translateZ(0); + background-color: green; + } + + #layertree { + position: absolute; + top: 10000px; + left: 0px; + } +</style> +<script> + function doTest() { + if (window.layoutTestController) { + document.getElementById('layertree').innerText = layoutTestController.layerTreeAsText(); + layoutTestController.dumpAsText(true); + } + } + window.addEventListener('load', doTest, false); +</script> +<body> + <div class="positioned indicator"></div> + <div class="positioned layer"></div> + + <pre id="layertree"></pre> +</body> +</html> diff --git a/third_party/WebKit/LayoutTests/compositing/rtl/rtl-fixed-expected.png b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-fixed-expected.png Binary files differnew file mode 100644 index 0000000..9ea844f --- /dev/null +++ b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-fixed-expected.png diff --git a/third_party/WebKit/LayoutTests/compositing/rtl/rtl-fixed-expected.txt b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-fixed-expected.txt new file mode 100644 index 0000000..bdcf0c4 --- /dev/null +++ b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-fixed-expected.txt @@ -0,0 +1,16 @@ +(GraphicsLayer + (bounds 800.00 600.00) + (children 1 + (GraphicsLayer + (bounds 800.00 600.00) + (children 1 + (GraphicsLayer + (position 50.00 50.00) + (bounds 100.00 100.00) + (drawsContent 1) + ) + ) + ) + ) +) + diff --git a/third_party/WebKit/LayoutTests/compositing/rtl/rtl-fixed-overflow-expected.png b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-fixed-overflow-expected.png Binary files differnew file mode 100644 index 0000000..9ea844f --- /dev/null +++ b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-fixed-overflow-expected.png diff --git a/third_party/WebKit/LayoutTests/compositing/rtl/rtl-fixed-overflow-expected.txt b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-fixed-overflow-expected.txt new file mode 100644 index 0000000..eb2a505 --- /dev/null +++ b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-fixed-overflow-expected.txt @@ -0,0 +1,17 @@ +(GraphicsLayer + (position -208.00 0.00) + (bounds 1008.00 1016.00) + (children 1 + (GraphicsLayer + (bounds 1008.00 1016.00) + (children 1 + (GraphicsLayer + (position 258.00 50.00) + (bounds 100.00 100.00) + (drawsContent 1) + ) + ) + ) + ) +) + diff --git a/third_party/WebKit/LayoutTests/compositing/rtl/rtl-fixed-overflow-scrolled-expected.png b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-fixed-overflow-scrolled-expected.png Binary files differnew file mode 100644 index 0000000..9ea844f --- /dev/null +++ b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-fixed-overflow-scrolled-expected.png diff --git a/third_party/WebKit/LayoutTests/compositing/rtl/rtl-fixed-overflow-scrolled-expected.txt b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-fixed-overflow-scrolled-expected.txt new file mode 100644 index 0000000..424ff37 --- /dev/null +++ b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-fixed-overflow-scrolled-expected.txt @@ -0,0 +1,17 @@ +(GraphicsLayer + (position -208.00 0.00) + (bounds 1008.00 1016.00) + (children 1 + (GraphicsLayer + (bounds 1008.00 1016.00) + (children 1 + (GraphicsLayer + (position 51.00 50.00) + (bounds 100.00 100.00) + (drawsContent 1) + ) + ) + ) + ) +) + diff --git a/third_party/WebKit/LayoutTests/compositing/rtl/rtl-fixed-overflow-scrolled.html b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-fixed-overflow-scrolled.html new file mode 100644 index 0000000..8088ce1 --- /dev/null +++ b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-fixed-overflow-scrolled.html @@ -0,0 +1,64 @@ +<html> +<head> +<style> + body { + direction: rtl; + overflow: hidden; + } + + .positioned { + position: fixed; + top: 50px; + left: 50px; + width: 100px; + height: 100px; + } + + .indicator { + background-color: red; + } + + .layer { + -webkit-transform:translateZ(0); + background-color: green; + } + + #root { + width: 1000px; + height: 1000px; + } + + #layertree { + position: absolute; + top: 10000px; + left: 0px; + } +</style> +<script> + function doTest() { + if (window.layoutTestController) { + layoutTestController.waitUntilDone(); + layoutTestController.dumpAsText(true); + } + + // The far left coordinate of the document varies by window width. + var offset = document.body.clientWidth - document.body.scrollWidth + 1; + + window.setTimeout(function() { + window.scrollTo(offset, 0); + if (window.layoutTestController) { + document.getElementById('layertree').innerText = layoutTestController.layerTreeAsText(); + layoutTestController.notifyDone(); + } + }, 0); + } + window.addEventListener('load', doTest, false); +</script> +<body> + <div id="root"></div> + <div class="positioned indicator"></div> + <div class="positioned layer"></div> + + <pre id="layertree"></pre> +</body> +</html> diff --git a/third_party/WebKit/LayoutTests/compositing/rtl/rtl-fixed-overflow.html b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-fixed-overflow.html new file mode 100644 index 0000000..569ef91 --- /dev/null +++ b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-fixed-overflow.html @@ -0,0 +1,53 @@ +<html> +<head> +<style> + body { + direction: rtl; + overflow: hidden; + } + + .positioned { + position: fixed; + top: 50px; + left: 50px; + width: 100px; + height: 100px; + } + + .indicator { + background-color: red; + } + + .layer { + -webkit-transform:translateZ(0); + background-color: green; + } + + #root { + width: 1000px; + height: 1000px; + } + + #layertree { + position: absolute; + top: 10000px; + left: 0px; + } +</style> +<script> + function doTest() { + if (window.layoutTestController) { + document.getElementById('layertree').innerText = layoutTestController.layerTreeAsText(); + layoutTestController.dumpAsText(true); + } + } + window.addEventListener('load', doTest, false); +</script> +<body> + <div id="root"></div> + <div class="positioned indicator"></div> + <div class="positioned layer"></div> + + <pre id="layertree"></pre> +</body> +</html> diff --git a/third_party/WebKit/LayoutTests/compositing/rtl/rtl-fixed.html b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-fixed.html new file mode 100644 index 0000000..b0de666 --- /dev/null +++ b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-fixed.html @@ -0,0 +1,47 @@ +<html> +<head> +<style> + body { + direction: rtl; + overflow: hidden; + } + + .positioned { + position: fixed; + top: 50px; + left: 50px; + width: 100px; + height: 100px; + } + + .indicator { + background-color: red; + } + + .layer { + -webkit-transform:translateZ(0); + background-color: green; + } + + #layertree { + position: absolute; + top: 10000px; + left: 0px; + } +</style> +<script> + function doTest() { + if (window.layoutTestController) { + document.getElementById('layertree').innerText = layoutTestController.layerTreeAsText(); + layoutTestController.dumpAsText(true); + } + } + window.addEventListener('load', doTest, false); +</script> +<body> + <div class="positioned indicator"></div> + <div class="positioned layer"></div> + + <pre id="layertree"></pre> +</body> +</html> diff --git a/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-absolute-expected.png b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-absolute-expected.png Binary files differnew file mode 100644 index 0000000..9ea844f --- /dev/null +++ b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-absolute-expected.png diff --git a/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-absolute-expected.txt b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-absolute-expected.txt new file mode 100644 index 0000000..ae39989 --- /dev/null +++ b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-absolute-expected.txt @@ -0,0 +1,46 @@ +(GraphicsLayer + (bounds 800.00 600.00) + (children 1 + (GraphicsLayer + (bounds 800.00 600.00) + (children 1 + (GraphicsLayer + (bounds 400.00 400.00) + (drawsContent 1) + (children 1 + (GraphicsLayer + (children 1 + (GraphicsLayer + (bounds 400.00 400.00) + (children 1 + (GraphicsLayer + (children 1 + (GraphicsLayer + (bounds 400.00 10733.00) + (children 1 + (GraphicsLayer + (bounds 400.00 10733.00) + (drawsContent 1) + (children 1 + (GraphicsLayer + (position 50.00 50.00) + (bounds 100.00 100.00) + (drawsContent 1) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) +) + diff --git a/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-absolute-overflow-expected.png b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-absolute-overflow-expected.png Binary files differnew file mode 100644 index 0000000..9ea844f --- /dev/null +++ b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-absolute-overflow-expected.png diff --git a/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-absolute-overflow-expected.txt b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-absolute-overflow-expected.txt new file mode 100644 index 0000000..5fb0796 --- /dev/null +++ b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-absolute-overflow-expected.txt @@ -0,0 +1,47 @@ +(GraphicsLayer + (bounds 800.00 600.00) + (children 1 + (GraphicsLayer + (bounds 800.00 600.00) + (children 1 + (GraphicsLayer + (bounds 400.00 400.00) + (drawsContent 1) + (children 1 + (GraphicsLayer + (children 1 + (GraphicsLayer + (bounds 400.00 400.00) + (children 1 + (GraphicsLayer + (children 1 + (GraphicsLayer + (position -608.00 0.00) + (bounds 1008.00 10749.00) + (children 1 + (GraphicsLayer + (bounds 1008.00 10749.00) + (drawsContent 1) + (children 1 + (GraphicsLayer + (position 658.00 50.00) + (bounds 100.00 100.00) + (drawsContent 1) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) +) + diff --git a/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-absolute-overflow-scrolled-expected.png b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-absolute-overflow-scrolled-expected.png Binary files differnew file mode 100644 index 0000000..9ea844f --- /dev/null +++ b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-absolute-overflow-scrolled-expected.png diff --git a/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-absolute-overflow-scrolled-expected.txt b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-absolute-overflow-scrolled-expected.txt new file mode 100644 index 0000000..54bf407 --- /dev/null +++ b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-absolute-overflow-scrolled-expected.txt @@ -0,0 +1,47 @@ +(GraphicsLayer + (bounds 800.00 600.00) + (children 1 + (GraphicsLayer + (bounds 800.00 600.00) + (children 1 + (GraphicsLayer + (bounds 400.00 400.00) + (drawsContent 1) + (children 1 + (GraphicsLayer + (children 1 + (GraphicsLayer + (bounds 400.00 400.00) + (children 1 + (GraphicsLayer + (children 1 + (GraphicsLayer + (position -608.00 0.00) + (bounds 1008.00 1016.00) + (children 1 + (GraphicsLayer + (bounds 1008.00 1016.00) + (drawsContent 1) + (children 1 + (GraphicsLayer + (position 51.00 50.00) + (bounds 100.00 100.00) + (drawsContent 1) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) +) + diff --git a/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-absolute-overflow-scrolled.html b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-absolute-overflow-scrolled.html new file mode 100644 index 0000000..08e2c15 --- /dev/null +++ b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-absolute-overflow-scrolled.html @@ -0,0 +1,37 @@ +<html> +<head> +<style> + body { + overflow: hidden; + } + + iframe { + position: absolute; + top: 0px; + left: 0px; + width: 400px; + height: 400px; + border: none; + } + + #layertree { + position: absolute; + top: 10000px; + left: 0px; + } +</style> +<script> + function doTest() { + if (window.layoutTestController) { + document.getElementById('layertree').innerText = layoutTestController.layerTreeAsText(); + layoutTestController.dumpAsText(true); + } + } + window.addEventListener('load', doTest, false); +</script> +<body> + <iframe src="rtl-absolute-overflow-scrolled.html"></iframe> + + <pre id="layertree"></pre> +</body> +</html> diff --git a/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-absolute-overflow.html b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-absolute-overflow.html new file mode 100644 index 0000000..759b03f --- /dev/null +++ b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-absolute-overflow.html @@ -0,0 +1,37 @@ +<html> +<head> +<style> + body { + overflow: hidden; + } + + iframe { + position: absolute; + top: 0px; + left: 0px; + width: 400px; + height: 400px; + border: none; + } + + #layertree { + position: absolute; + top: 10000px; + left: 0px; + } +</style> +<script> + function doTest() { + if (window.layoutTestController) { + document.getElementById('layertree').innerText = layoutTestController.layerTreeAsText(); + layoutTestController.dumpAsText(true); + } + } + window.addEventListener('load', doTest, false); +</script> +<body> + <iframe src="rtl-absolute-overflow.html"></iframe> + + <pre id="layertree"></pre> +</body> +</html> diff --git a/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-absolute.html b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-absolute.html new file mode 100644 index 0000000..e871e84e --- /dev/null +++ b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-absolute.html @@ -0,0 +1,37 @@ +<html> +<head> +<style> + body { + overflow: hidden; + } + + iframe { + position: absolute; + top: 0px; + left: 0px; + width: 400px; + height: 400px; + border: none; + } + + #layertree { + position: absolute; + top: 10000px; + left: 0px; + } +</style> +<script> + function doTest() { + if (window.layoutTestController) { + document.getElementById('layertree').innerText = layoutTestController.layerTreeAsText(); + layoutTestController.dumpAsText(true); + } + } + window.addEventListener('load', doTest, false); +</script> +<body> + <iframe src="rtl-absolute.html"></iframe> + + <pre id="layertree"></pre> +</body> +</html> diff --git a/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-fixed-expected.png b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-fixed-expected.png Binary files differnew file mode 100644 index 0000000..9ea844f --- /dev/null +++ b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-fixed-expected.png diff --git a/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-fixed-expected.txt b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-fixed-expected.txt new file mode 100644 index 0000000..ae39989 --- /dev/null +++ b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-fixed-expected.txt @@ -0,0 +1,46 @@ +(GraphicsLayer + (bounds 800.00 600.00) + (children 1 + (GraphicsLayer + (bounds 800.00 600.00) + (children 1 + (GraphicsLayer + (bounds 400.00 400.00) + (drawsContent 1) + (children 1 + (GraphicsLayer + (children 1 + (GraphicsLayer + (bounds 400.00 400.00) + (children 1 + (GraphicsLayer + (children 1 + (GraphicsLayer + (bounds 400.00 10733.00) + (children 1 + (GraphicsLayer + (bounds 400.00 10733.00) + (drawsContent 1) + (children 1 + (GraphicsLayer + (position 50.00 50.00) + (bounds 100.00 100.00) + (drawsContent 1) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) +) + diff --git a/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-fixed-overflow-expected.png b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-fixed-overflow-expected.png Binary files differnew file mode 100644 index 0000000..9ea844f --- /dev/null +++ b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-fixed-overflow-expected.png diff --git a/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-fixed-overflow-expected.txt b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-fixed-overflow-expected.txt new file mode 100644 index 0000000..5fb0796 --- /dev/null +++ b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-fixed-overflow-expected.txt @@ -0,0 +1,47 @@ +(GraphicsLayer + (bounds 800.00 600.00) + (children 1 + (GraphicsLayer + (bounds 800.00 600.00) + (children 1 + (GraphicsLayer + (bounds 400.00 400.00) + (drawsContent 1) + (children 1 + (GraphicsLayer + (children 1 + (GraphicsLayer + (bounds 400.00 400.00) + (children 1 + (GraphicsLayer + (children 1 + (GraphicsLayer + (position -608.00 0.00) + (bounds 1008.00 10749.00) + (children 1 + (GraphicsLayer + (bounds 1008.00 10749.00) + (drawsContent 1) + (children 1 + (GraphicsLayer + (position 658.00 50.00) + (bounds 100.00 100.00) + (drawsContent 1) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) +) + diff --git a/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-fixed-overflow-scrolled-expected.png b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-fixed-overflow-scrolled-expected.png Binary files differnew file mode 100644 index 0000000..9ea844f --- /dev/null +++ b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-fixed-overflow-scrolled-expected.png diff --git a/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-fixed-overflow-scrolled-expected.txt b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-fixed-overflow-scrolled-expected.txt new file mode 100644 index 0000000..9f2d20b --- /dev/null +++ b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-fixed-overflow-scrolled-expected.txt @@ -0,0 +1,47 @@ +(GraphicsLayer + (bounds 800.00 600.00) + (children 1 + (GraphicsLayer + (bounds 800.00 600.00) + (children 1 + (GraphicsLayer + (bounds 400.00 400.00) + (drawsContent 1) + (children 1 + (GraphicsLayer + (children 1 + (GraphicsLayer + (bounds 400.00 400.00) + (children 1 + (GraphicsLayer + (children 1 + (GraphicsLayer + (position -608.00 0.00) + (bounds 1008.00 1016.00) + (children 1 + (GraphicsLayer + (bounds 1008.00 1016.00) + (drawsContent 1) + (children 1 + (GraphicsLayer + (position 658.00 50.00) + (bounds 100.00 100.00) + (drawsContent 1) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) +) + diff --git a/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-fixed-overflow-scrolled.html b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-fixed-overflow-scrolled.html new file mode 100644 index 0000000..d2bc038 --- /dev/null +++ b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-fixed-overflow-scrolled.html @@ -0,0 +1,37 @@ +<html> +<head> +<style> + body { + overflow: hidden; + } + + iframe { + position: absolute; + top: 0px; + left: 0px; + width: 400px; + height: 400px; + border: none; + } + + #layertree { + position: absolute; + top: 10000px; + left: 0px; + } +</style> +<script> + function doTest() { + if (window.layoutTestController) { + document.getElementById('layertree').innerText = layoutTestController.layerTreeAsText(); + layoutTestController.dumpAsText(true); + } + } + window.addEventListener('load', doTest, false); +</script> +<body> + <iframe src="rtl-fixed-overflow-scrolled.html"></iframe> + + <pre id="layertree"></pre> +</body> +</html> diff --git a/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-fixed-overflow.html b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-fixed-overflow.html new file mode 100644 index 0000000..33f1f20 --- /dev/null +++ b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-fixed-overflow.html @@ -0,0 +1,37 @@ +<html> +<head> +<style> + body { + overflow: hidden; + } + + iframe { + position: absolute; + top: 0px; + left: 0px; + width: 400px; + height: 400px; + border: none; + } + + #layertree { + position: absolute; + top: 10000px; + left: 0px; + } +</style> +<script> + function doTest() { + if (window.layoutTestController) { + document.getElementById('layertree').innerText = layoutTestController.layerTreeAsText(); + layoutTestController.dumpAsText(true); + } + } + window.addEventListener('load', doTest, false); +</script> +<body> + <iframe src="rtl-fixed-overflow.html"></iframe> + + <pre id="layertree"></pre> +</body> +</html> diff --git a/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-fixed.html b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-fixed.html new file mode 100644 index 0000000..cd6939c --- /dev/null +++ b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-fixed.html @@ -0,0 +1,37 @@ +<html> +<head> +<style> + body { + overflow: hidden; + } + + iframe { + position: absolute; + top: 0px; + left: 0px; + width: 400px; + height: 400px; + border: none; + } + + #layertree { + position: absolute; + top: 10000px; + left: 0px; + } +</style> +<script> + function doTest() { + if (window.layoutTestController) { + document.getElementById('layertree').innerText = layoutTestController.layerTreeAsText(); + layoutTestController.dumpAsText(true); + } + } + window.addEventListener('load', doTest, false); +</script> +<body> + <iframe src="rtl-fixed.html"></iframe> + + <pre id="layertree"></pre> +</body> +</html> diff --git a/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-relative-expected.png b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-relative-expected.png Binary files differnew file mode 100644 index 0000000..489c909 --- /dev/null +++ b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-relative-expected.png diff --git a/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-relative-expected.txt b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-relative-expected.txt new file mode 100644 index 0000000..0e83865 --- /dev/null +++ b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-relative-expected.txt @@ -0,0 +1,46 @@ +(GraphicsLayer + (bounds 800.00 600.00) + (children 1 + (GraphicsLayer + (bounds 800.00 600.00) + (children 1 + (GraphicsLayer + (bounds 400.00 400.00) + (drawsContent 1) + (children 1 + (GraphicsLayer + (children 1 + (GraphicsLayer + (bounds 400.00 400.00) + (children 1 + (GraphicsLayer + (children 1 + (GraphicsLayer + (bounds 400.00 10733.00) + (children 1 + (GraphicsLayer + (bounds 400.00 10733.00) + (drawsContent 1) + (children 1 + (GraphicsLayer + (position 242.00 58.00) + (bounds 100.00 100.00) + (drawsContent 1) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) +) + diff --git a/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-relative.html b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-relative.html new file mode 100644 index 0000000..65184753 --- /dev/null +++ b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-relative.html @@ -0,0 +1,47 @@ +<html> +<head> +<style> + body { + overflow: hidden; + } + + iframe { + position: absolute; + top: 0px; + left: 0px; + width: 400px; + height: 400px; + border: none; + } + + #indicator { + position: absolute; + top: 58px; + left: 242px; + width: 100px; + height: 100px; + background-color: red; + } + + #layertree { + position: absolute; + top: 10000px; + left: 0px; + } +</style> +<script> + function doTest() { + if (window.layoutTestController) { + document.getElementById('layertree').innerText = layoutTestController.layerTreeAsText(); + layoutTestController.dumpAsText(true); + } + } + window.addEventListener('load', doTest, false); +</script> +<body> + <div id="indicator"></div> + <iframe src="rtl-relative.html"></iframe> + + <pre id="layertree"></pre> +</body> +</html> diff --git a/third_party/WebKit/LayoutTests/compositing/rtl/rtl-relative-expected.png b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-relative-expected.png Binary files differnew file mode 100644 index 0000000..b0c9864 --- /dev/null +++ b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-relative-expected.png diff --git a/third_party/WebKit/LayoutTests/compositing/rtl/rtl-relative-expected.txt b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-relative-expected.txt new file mode 100644 index 0000000..c9daf41 --- /dev/null +++ b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-relative-expected.txt @@ -0,0 +1,16 @@ +(GraphicsLayer + (bounds 800.00 600.00) + (children 1 + (GraphicsLayer + (bounds 800.00 600.00) + (children 1 + (GraphicsLayer + (position 642.00 58.00) + (bounds 100.00 100.00) + (drawsContent 1) + ) + ) + ) + ) +) + diff --git a/third_party/WebKit/LayoutTests/compositing/rtl/rtl-relative.html b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-relative.html new file mode 100644 index 0000000..37b1b1b --- /dev/null +++ b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-relative.html @@ -0,0 +1,49 @@ +<html> +<head> +<style> + body { + direction: rtl; + overflow: hidden; + } + + #indicator { + position: absolute; + top: 58px; + left: 642px; + width: 100px; + height: 100px; + background-color: red; + } + + #layer { + -webkit-transform:translateZ(0); + position: relative; + top: 50px; + right: 50px; + width: 100px; + height: 100px; + background-color: green; + } + + #layertree { + position: absolute; + top: 10000px; + left: 0px; + } +</style> +<script> + function doTest() { + if (window.layoutTestController) { + document.getElementById('layertree').innerText = layoutTestController.layerTreeAsText(); + layoutTestController.dumpAsText(true); + } + } + window.addEventListener('load', doTest, false); +</script> +<body> + <div id="indicator"></div> + <div id="layer"></div> + + <pre id="layertree"></pre> +</body> +</html> |