blob: cf3c6f28b7c93981a4c5ad35147b85cba129d953 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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>
|