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

Unified Diff: LayoutTests/fast/forms/form-elements-display-table-cell-no-table-ancestor.html

Issue 1280123004: Don't allow whitespace between elements with display:table-cell (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 5 years, 4 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/forms/form-elements-display-table-cell-no-table-ancestor.html
diff --git a/LayoutTests/fast/forms/form-elements-display-table-cell-no-table-ancestor.html b/LayoutTests/fast/forms/form-elements-display-table-cell-no-table-ancestor.html
new file mode 100644
index 0000000000000000000000000000000000000000..26da32c4b7acb62e6004fdd23fc1c5dca1fc3447
--- /dev/null
+++ b/LayoutTests/fast/forms/form-elements-display-table-cell-no-table-ancestor.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<style>
+input,button{
+ display: table-cell;
+}
+.container{
+ width:300px;
+}
+</style>
+<div class="container">
+ <div class="inner">
+ <input type="text">
+ <button></button>
+ </div>
+</div>
+<p>crbug.com/515771: Form elements should allow table-part display values. In this test case, we allow display:table-cell but we don't
+ construct an anonymous table-cell to contain the form elements or build an anonymous table around it.
+ </p>

Powered by Google App Engine
This is Rietveld 408576698