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

Side by Side Diff: third_party/WebKit/LayoutTests/css1/cascade/important.html

Issue 2588283002: Most css1/ tests should wait for basebg.gif to be loaded (Closed)
Patch Set: fix Created 4 years 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: 3.1 important</TITLE> 4 <TITLE>CSS1 Test Suite: 3.1 important</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 {color: green ! important;} 11 P {color: green ! important;}
11 P {color: red;} 12 P {color: red;}
12 P#id1 {color: purple;} 13 P#id1 {color: purple;}
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 {color: green ! important;} 19 <PRE>P {color: green ! important;}
(...skipping 23 matching lines...) Expand all
42 This sentence should be green, because the declaration marked important should o verride any other normal declaration for the same element, even if it occurs lat er in the stylesheet. 43 This sentence should be green, because the declaration marked important should o verride any other normal declaration for the same element, even if it occurs lat er in the stylesheet.
43 </P> 44 </P>
44 <P ID="id1"> 45 <P ID="id1">
45 This sentence should also be green, even though it has an ID of <TT>id1</TT>, wh ich would ordinarily make it purple. This is because declarations marked import ant have more weight than normal declarations given in a STYLE attribute. 46 This sentence should also be green, even though it has an ID of <TT>id1</TT>, wh ich would ordinarily make it purple. This is because declarations marked import ant have more weight than normal declarations given in a STYLE attribute.
46 </P> 47 </P>
47 <P style="color: red;"> 48 <P style="color: red;">
48 This sentence should also be green, even though it has a STYLE attribute declari ng it to be red. This is because declarations marked important have more weight than normal declarations given in a STYLE attribute. 49 This sentence should also be green, even though it has a STYLE attribute declari ng it to be red. This is because declarations marked important have more weight than normal declarations given in a STYLE attribute.
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