summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-grid/reference/grid-2x2-blue-yellow-lime-magenta.html
blob: 1ea45f8585a9d3bf742396c34a9c4f2e8949fbdd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Grid Layout Test: Reference file 2x2 grid and cells with the following colors: blue, yellow, lime and magenta</title>
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
  div {
    font: 50px/1 Ahem;
  }

  #blue {
    color: blue;
  }

  #yellow {
    color: yellow;
  }

  #lime {
    color: lime;
  }

  #magenta {
    color: magenta;
  }
</style>
<p>Test passes if there are four filled squares with the same size and <strong>no red</strong>.</p>
<p>Blue and yellow squares in the first line; lime and magenta squares in the second line (exactly in this order).</p>

<div>
  <span id="blue">B</span><span id="yellow">Y</span>
  <br />
  <span id="lime">L</span><span id="magenta">M</span>
</div>