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

Unified Diff: LayoutTests/virtual/fasttextautosizing/fast/text-autosizing/tables/nested-tables.html

Issue 236033005: [FastTextAutosizer] Do not inflate table parts that do not need layout (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix TestExpectations Created 6 years, 8 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/virtual/fasttextautosizing/fast/text-autosizing/tables/nested-tables.html
diff --git a/LayoutTests/virtual/fasttextautosizing/fast/text-autosizing/tables/narrow-specified-width.html b/LayoutTests/virtual/fasttextautosizing/fast/text-autosizing/tables/nested-tables.html
similarity index 52%
copy from LayoutTests/virtual/fasttextautosizing/fast/text-autosizing/tables/narrow-specified-width.html
copy to LayoutTests/virtual/fasttextautosizing/fast/text-autosizing/tables/nested-tables.html
index 9a52e48bd4c95f73f7af1d2e455bbe2a48f00042..a34433ed399a5a37e16ae2d0ef5435e73a80f654 100644
--- a/LayoutTests/virtual/fasttextautosizing/fast/text-autosizing/tables/narrow-specified-width.html
+++ b/LayoutTests/virtual/fasttextautosizing/fast/text-autosizing/tables/nested-tables.html
@@ -32,31 +32,36 @@ if (window.internals) {
} else if (window.console && console.warn) {
console.warn("This test depends on the Text Autosizing setting being true, so run it in DumpRenderTree, or manually enable Text Autosizing, and either use a mobile device with 320px device-width (like Nexus S or iPhone), or define HACK_FORCE_TEXT_AUTOSIZING_ON_DESKTOP.");
}
+
+if (window.testRunner) {
+ testRunner.waitUntilDone();
+
+ window.requestAnimationFrame(function() {
+ testRunner.notifyDone();
+ });
+}
</script>
</head>
<body>
<div id="description">
-Table autosizing tests - narrow-specified-width.html<br/>
-This test passes if none of the 6 cells are autosized.
+Table autosizing tests - nested-tables.html<br/>
+This test passes if "This text should not overlap itself" doesn't overlap itself.
</div>
-<table width="200px">
- <tr>
- <td>hello</td>
- <td>hello</td>
- <td>hello</td>
- </tr>
- <tr>
- <td>
- hello
- </td>
- <td>
- hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello
- </td>
- <td>
- hello
- </td>
- </tr>
-</table>
+ <table>
+ <tr>
+ <td>
+ Autosize Autosize Autosize Autosize Autosize Autosize Autosize Autosize Autosize Autosize Autosize Autosize Autosize Autosize Autosize Autosize Autosize Autosize Autosize Autosize Autosize Autosize Autosize Autosize Autosize Autosize Autosize Autosize Autosize Autosize Autosize Autosize Autosize Autosize Autosize Autosize
+ <table border="1">
+ <tr>
+ <td>This text<br/>should not overlap<br/>itself.</td>
+ </tr>
+ <tr>
+ <td><img src="broken_image" width="5" height="5" /></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698