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

Unified Diff: LayoutTests/fast/table/whitespace-in-table-cells-when-div-appended.html

Issue 1249433003: Recognize when an anonymous table cell has been generated to wrap a cell (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 5 years, 5 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/whitespace-in-table-cells-when-div-appended.html
diff --git a/LayoutTests/fast/table/whitespace-in-table-cells-when-div-appended.html b/LayoutTests/fast/table/whitespace-in-table-cells-when-div-appended.html
new file mode 100644
index 0000000000000000000000000000000000000000..cb1591e9caab91ebe7ca25cecb4299e15d6c0bac
--- /dev/null
+++ b/LayoutTests/fast/table/whitespace-in-table-cells-when-div-appended.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<p> crbug.com/511401: Ensure correct treatment of whitespace when div added to a row. </p>
+<table style="width:700px;" id="table">
+<tr>
+ <th>Text</th>
+ <th>Text</th>
+ <th>Text</th>
+</tr>
+<tr id="tr">
+ <td id="firstcell">Text</td>
+ <td>Text</td>
+</tr>
+</table>
+<div style="margin-top: 1px; margin-left: 1px;" id="content">Div</div>
+<script>
+ document.body.offsetTop;
+ tr.insertBefore(document.getElementById("content"), document.getElementById("firstcell"));
+</script>

Powered by Google App Engine
This is Rietveld 408576698