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

Side by Side Diff: third_party/WebKit/LayoutTests/external/csswg-test/css-grid-1/grid-model/grid-first-letter-001.xht

Issue 2670473003: [css-grid] Import W3C Test Suite (Closed)
Patch Set: Add comment about skipped tests Created 3 years, 10 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/x html1/DTD/xhtml1-strict.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <title>CSS Grid Layout Test: '::first-letter' from grid container does n ot apply to grid items</title>
5 <link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igal ia.com" />
6 <link rel="help" href="http://www.w3.org/TR/css-grid-1/#grid-containers" title="3.1 Establishing Grid Containers" />
7 <link rel="help" href="http://www.w3.org/TR/css3-selectors/#first-letter " title="7.2. The ::first-letter pseudo-element" />
8 <link rel="match" href="../reference/grid-text-green-margin-no-collapse- ref.xht" />
9 <meta name="assert" content="This test checks that '::first-letter' pseu do-element is ignored in grid items when applied to a grid container." />
10 <style type="text/css"><![CDATA[
11 .grid {
12 display: grid;
13 color: green;
14 }
15
16 .grid::first-letter {
17 color: red;
18 }
19 ]]></style>
20 </head>
21 <body>
22 <div class="grid">
23 <div>
24 <p>This text should be <strong>green</strong> and body and parag raph margins should <strong>not collapse</strong>.</p>
25 </div>
26 </div>
27 </body>
28 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698