Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Unified Diff: LayoutTests/compositing/layer-creation/scroll-blocks-on-svg.svg

Issue 784453003: Initial scroll-blocks-on compositor integration (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Eliminate scrollbars from iframe test for cross-platform output consistency Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/compositing/layer-creation/scroll-blocks-on-svg.svg
diff --git a/LayoutTests/compositing/layer-creation/scroll-blocks-on-svg.svg b/LayoutTests/compositing/layer-creation/scroll-blocks-on-svg.svg
new file mode 100644
index 0000000000000000000000000000000000000000..a51d2f7faf0607a9509c5bb24774cbc0da341997
--- /dev/null
+++ b/LayoutTests/compositing/layer-creation/scroll-blocks-on-svg.svg
@@ -0,0 +1,18 @@
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
+ <foreignObject x="20" y="20" width="200" height="100">
+ <html xmlns="http://www.w3.org/1999/xhtml">
+ <body>
+ <div style="height:10px;"></div>
+ </body>
+ </html>
+ </foreignObject>
+
+ <script>
+ if (window.testRunner) {
+ testRunner.dumpAsText();
+ var output = "This test verifies that SVG documents have the default scroll-blocks-on mode applied to them, and that foreignObject html documents inside them don't create a new composited layer unnecessarily.\n\n";
+ output += internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_SCROLL_BLOCKS_ON);
+ testRunner.setCustomTextOutput(output);
+ }
+ </script>
+</svg>

Powered by Google App Engine
This is Rietveld 408576698