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

Unified Diff: third_party/WebKit/LayoutTests/fast/layout/subtree-layout-percent-height-assert.html

Issue 1755543002: Fix SubtreeLayoutScope not to schedule relayout (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup Created 4 years, 10 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/layout/subtree-layout-percent-height-assert-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/layout/subtree-layout-percent-height-assert.html
diff --git a/third_party/WebKit/LayoutTests/fast/layout/subtree-layout-percent-height-assert.html b/third_party/WebKit/LayoutTests/fast/layout/subtree-layout-percent-height-assert.html
new file mode 100644
index 0000000000000000000000000000000000000000..f662d7ff53383d9b5532256eebae54f5f6fcb8a0
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/layout/subtree-layout-percent-height-assert.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<style>
+.scope {
+ width: 200px;
+ height: 200px;
+ overflow: hidden;
+}
+</style>
+<div class="scope">
+ <table>
+ <tr>
+ <img src="autumn.jpg" width="150" height="148">
+ <svg xmlns="http://www.w3.org/2000/svg" version="1.1">
+ <foreignObject width="100%" height="100%">
+ <div style="width:100%; height:100%;"></div>
+ </foreignObject>
+ </svg>
+ </tr>
+ </table>
+</div>
+<p>Test passes if it doesn't assert.</p>
+<script>
+if (window.testRunner)
+ testRunner.dumpAsText();
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/layout/subtree-layout-percent-height-assert-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698