summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-grid/reference/grid-first-letter-green-margin-no-collapse-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-grid/reference/grid-first-letter-green-margin-no-collapse-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-grid/reference/grid-first-letter-green-margin-no-collapse-ref.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-grid/reference/grid-first-letter-green-margin-no-collapse-ref.html b/testing/web-platform/tests/css/css-grid/reference/grid-first-letter-green-margin-no-collapse-ref.html
new file mode 100644
index 0000000000..cf3c6f28b7
--- /dev/null
+++ b/testing/web-platform/tests/css/css-grid/reference/grid-first-letter-green-margin-no-collapse-ref.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Grid Layout Test: Reference file text first letter should be green and margins do not collapse</title>
+<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
+<style>
+ p {
+ /* Prevent collapsing body and paragraph margins. */
+ float: left;
+ }
+
+ .green {
+ color: green;
+ }
+</style>
+<p>
+ <span class="green">T</span>he <strong>first letter</strong> of this paragraph, and only that one, should be <strong>green</strong>.
+ In addition, body and paragraph margins should <strong>not collapse</strong>.
+</p>