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

Unified Diff: LayoutTests/fast/table/table-width-with-marquee.html

Issue 1200103006: Marquee width should not change a fixed width of its container. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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/table/table-width-with-marquee.html
diff --git a/LayoutTests/fast/table/table-width-with-marquee.html b/LayoutTests/fast/table/table-width-with-marquee.html
new file mode 100644
index 0000000000000000000000000000000000000000..e31947f0d98d5cdaf679307bfeca7150bca50d94
--- /dev/null
+++ b/LayoutTests/fast/table/table-width-with-marquee.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<script src="../../resources/js-test.js"></script>
+<table width='200px'>
+ <tr>
+ <td>
+ <marquee>The quick brown fox jumps over the lazy dog.</marquee>
mstensho (USE GERRIT) 2015/06/23 09:33:30 Can you add some more text? This is barely wider t
changseok 2015/06/24 06:15:58 Done.
+ </td>
+ </tr>
+</table>
+<script>
+description("This tests if marquee contributes to table width. It should not.");
+shouldBeEqualToNumber("document.querySelector('td').getBoundingClientRect().width", 196);
mstensho (USE GERRIT) 2015/06/23 09:33:30 Setting cellpadding="0" cellspacing="0" on the tab
changseok 2015/06/24 06:15:58 O.K. The table is replaced with the two divs
+</script>
« no previous file with comments | « no previous file | LayoutTests/fast/table/table-width-with-marquee-expected.txt » ('j') | Source/core/layout/LayoutBlock.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698