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

Unified Diff: third_party/WebKit/LayoutTests/fast/css/first-letter-to-non-block-container.html

Issue 2650583003: Fix ::first-letter not to apply non-block containers (Closed)
Patch Set: Fix ListItem, add test Created 3 years, 11 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css/first-letter-to-non-block-container-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/css/first-letter-to-non-block-container.html
diff --git a/third_party/WebKit/LayoutTests/fast/css/first-letter-to-non-block-container.html b/third_party/WebKit/LayoutTests/fast/css/first-letter-to-non-block-container.html
new file mode 100644
index 0000000000000000000000000000000000000000..2f4f4b3ed2b63bdc8a7b27feb00cad46d682704d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/css/first-letter-to-non-block-container.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<style>
+.first-letter::first-letter {
+ color: red;
+}
+.flex {
+ display: flex;
+}
+</style>
+<p>Tests pass if initial "R" are in red and "X" are in black.</p>
+<div class="first-letter">R first-letter applies in div.</div>
+<div class="first-letter flex">X first-letter do not apply if display: flex</div>
+<fieldset class="first-letter flex">X first-letter do not apply if display: flex, even in fieldset</fieldset>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css/first-letter-to-non-block-container-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698