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

Unified Diff: third_party/WebKit/LayoutTests/fast/css-generated-content/pseudo-inline-with-empty-content.html

Issue 2204593003: Change requiresLineBox to return false for empty-text inline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove curly brackets around one-line control-flow statements Created 4 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: third_party/WebKit/LayoutTests/fast/css-generated-content/pseudo-inline-with-empty-content.html
diff --git a/third_party/WebKit/LayoutTests/fast/css-generated-content/pseudo-inline-with-empty-content.html b/third_party/WebKit/LayoutTests/fast/css-generated-content/pseudo-inline-with-empty-content.html
new file mode 100644
index 0000000000000000000000000000000000000000..62f63338701accfe1534466f6ef9fc1b4813bce7
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/css-generated-content/pseudo-inline-with-empty-content.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<style>
+.container {
+ display: inline-block;
+ background-color: red;
+}
+
+.container::before {
+ content: '';
+}
+
+</style>
+
+<div class="container">
+ <input style="background: green;">
+</div>
+
+<p>Test for http://crbug.com/445243.</p>
+<p>The test PASSES if you see 1 green input box and no red square.</p>

Powered by Google App Engine
This is Rietveld 408576698