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

Side by Side Diff: LayoutTests/fast/regions/counters/extract-numbered-paragraphs-expected.html

Issue 159933010: Remove everything region-specific from LayoutTests. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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>
2 <html>
3 <head>
4 <title>CSS Reftest Reference</title>
5 <link rel="author" title="Mihai Balan" href="mibalan@adobe.com">
6 <link rel="stylesheet" type="text/css" href="../resources/font-smoothing -disabler.css">
7 <style>
8 #region {
9 counter-reset: para 0;
10 }
11 #region p {
12 counter-increment: para;
13 margin: 1em 0;
14 }
15 #region p::before {
16 content: "(" counter(para) ") ";
17 background: darkblue;
18 color: white;
19 }
20 #region {
21 background-color: lightblue;
22 border: 1px solid lightblue;
23 }
24 </style>
25 </head>
26 <body>
27 <p>Test passes if you see a light blue rectangle below, with five lines of text in it. Each line of text should be black and preceded by the line number between parantheses. The line numbers should be white on a dark blue background .</p>
28 <div id="region">
29 <p>This is numbered paragraph no. 1</p>
30 <p>This is numbered paragraph no. 2</p>
31 <p>This is numbered paragraph no. 3</p>
32 <p>This is numbered paragraph no. 4</p>
33 <p>This is numbered paragraph no. 5</p>
34 </div>
35 </body>
36 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698