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

Unified Diff: LayoutTests/fast/text-autosizing/nested-table-long-word-2-expected.html

Issue 320393003: Descend into inner blocks for inflateAutoTable. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update TestExpectations Created 6 years, 6 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/fast/text-autosizing/nested-table-long-word-2-expected.html
diff --git a/LayoutTests/fast/text-autosizing/nested-table-long-word-2-expected.html b/LayoutTests/fast/text-autosizing/nested-table-long-word-2-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..ef955852b954c5d4d658a3d552946a57c8b716d0
--- /dev/null
+++ b/LayoutTests/fast/text-autosizing/nested-table-long-word-2-expected.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta name="viewport" content="width=800">
+<style>
+ html { font-size: 16px; }
+ body { width: 400px; margin: 0; overflow-y: hidden; }
+ table { border-spacing: 0; }
+ td { padding: 0; }
+ .yellow { background-color: yellow; }
+</style>
+</head>
+<body>
+<table style="width: 700px">
+ <tr><td>
+ <table><tr>
+ <td style="font-size: 2.1875rem">
+ This test passes if the yellow highlight fully covers the long text
+ without spaces in the cell below. This ensures the inner table is
+ inflated before the preferred width calculation occurs.
+ </td>
+ </tr></table>
+ </td></tr>
+ <tr><td>
+ <table class="yellow"><tr>
+ <td><div style="font-size: 2.1875rem">
+ text...text...text...text...text...text...text...text...text...end!
+ </div></td>
+ </tr></table>
+ </td></tr>
+</table>
+</body>
+</html>
« no previous file with comments | « LayoutTests/fast/text-autosizing/nested-table-long-word-2.html ('k') | Source/core/rendering/FastTextAutosizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698