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

Unified Diff: third_party/WebKit/LayoutTests/imported/csswg-test/css-display-3/display-contents-text-only-001.html

Issue 2450093005: Support display: contents for elements, first-line and first-letter pseudos. (Closed)
Patch Set: Allow text as child of the LayoutView, since it can happen with display: contents Created 4 years 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/imported/csswg-test/css-display-3/display-contents-text-only-001.html
diff --git a/third_party/WebKit/LayoutTests/imported/csswg-test/css-display-3/display-contents-text-only-001.html b/third_party/WebKit/LayoutTests/imported/csswg-test/css-display-3/display-contents-text-only-001.html
new file mode 100644
index 0000000000000000000000000000000000000000..25b7d6baa6e6211d70e284c6d3d386f422141057
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/imported/csswg-test/css-display-3/display-contents-text-only-001.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Display: Only text on a display: contents subtree</title>
+<link rel="author" title="Emilio Cobos Álvarez" href="mailto:ecobos@igalia.com">
+<link rel="help" href="https://drafts.csswg.org/css-display-3/#valdef-display-contents">
+<link rel="match" href="display-contents-text-only-001-ref.html">
+<style>
+ html, body { display: contents; }
+</style>
+<p>Test passes if you see the word "PASS" below</p>
+PASS

Powered by Google App Engine
This is Rietveld 408576698