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

Side by Side Diff: third_party/WebKit/LayoutTests/css1/pseudo/pseudo_elements_in_selectors.html

Issue 2588283002: Most css1/ tests should wait for basebg.gif to be loaded (Closed)
Patch Set: fix Created 3 years, 12 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
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org /TR/REC-html40/loose.dtd"> 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org /TR/REC-html40/loose.dtd">
2 <HTML> 2 <HTML>
3 <HEAD> 3 <HEAD>
4 <TITLE>CSS1 Test Suite: 2.5 Pseudo-elements in Selectors</TITLE> 4 <TITLE>CSS1 Test Suite: 2.5 Pseudo-elements in Selectors</TITLE>
5 <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 5 <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6 <META http-equiv="Content-Style-Type" content="text/css"> 6 <META http-equiv="Content-Style-Type" content="text/css">
7 7
8 <LINK rel="stylesheet" type="text/css" media="screen" href="../resources/base.cs s"> 8 <LINK rel="stylesheet" type="text/css" media="screen" href="../resources/base.cs s">
9 <SCRIPT src="../resources/base.js"></SCRIPT>
9 <STYLE type="text/css"> 10 <STYLE type="text/css">
10 P:first-line {font-weight: bold;} 11 P:first-line {font-weight: bold;}
11 P.two:first-line {color: green;} 12 P.two:first-line {color: green;}
12 P:first-line.three {color: red;} 13 P:first-line.three {color: red;}
13 </STYLE> 14 </STYLE>
14 15
15 </HEAD> 16 </HEAD>
16 17
17 <BODY><P>The style declarations which apply to the text below are:</P> 18 <BODY><P>The style declarations which apply to the text below are:</P>
18 <PRE>P:first-line {font-weight: bold;} 19 <PRE>P:first-line {font-weight: bold;}
(...skipping 23 matching lines...) Expand all
42 The first line of this sentence should be boldfaced. This test is included simp ly to establish a baseline for the following tests, since if this test fails, th en the rest of the tests on this page are expected to fail as well. 43 The first line of this sentence should be boldfaced. This test is included simp ly to establish a baseline for the following tests, since if this test fails, th en the rest of the tests on this page are expected to fail as well.
43 </P> 44 </P>
44 <P class="two"> 45 <P class="two">
45 The first line of this sentence should be boldfaced and green, thanks to its sel ector. If this is not the case, then the user agent may have failed to properly parse the selector, or it may simply not support the <TT>:first-line</TT> pseud o-element. 46 The first line of this sentence should be boldfaced and green, thanks to its sel ector. If this is not the case, then the user agent may have failed to properly parse the selector, or it may simply not support the <TT>:first-line</TT> pseud o-element.
46 </P> 47 </P>
47 <P class="three"> 48 <P class="three">
48 The first line of this sentence should be boldfaced. If it is red, then the use r agent has violated the specification in allowing pseudo-elements at a point ot her than the end of a selector. If neither is the case, then the user agent has correctly ignored the incorrect selector, but has suppressed other styles which are valid, and therefore must be considered to have failed the test. 49 The first line of this sentence should be boldfaced. If it is red, then the use r agent has violated the specification in allowing pseudo-elements at a point ot her than the end of a selector. If neither is the case, then the user agent has correctly ignored the incorrect selector, but has suppressed other styles which are valid, and therefore must be considered to have failed the test.
49 </P> 50 </P>
50 </TD></TR></TABLE></BODY> 51 </TD></TR></TABLE></BODY>
51 </HTML> 52 </HTML>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698