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

Side by Side Diff: third_party/WebKit/LayoutTests/css1/box_properties/padding_inline.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: 5.5.10 padding</TITLE> 4 <TITLE>CSS1 Test Suite: 5.5.10 padding</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 .zero {background-color: silver; padding: 0;} 11 .zero {background-color: silver; padding: 0;}
11 .one {padding: 25px; background-color: aqua;} 12 .one {padding: 25px; background-color: aqua;}
12 .two {padding: -10px; background-color: aqua;} 13 .two {padding: -10px; background-color: aqua;}
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>.zero {background-color: silver; padding: 0;} 19 <PRE>.zero {background-color: silver; padding: 0;}
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 This element has a class of zero. 55 This element has a class of zero.
55 </P> 56 </P>
56 <P style="background-color: gray;"> 57 <P style="background-color: gray;">
57 This element is unstyled save for a background color of gray. It contains an <S PAN class="two">inline element of class <TT>two</TT>, giving it an aqua backgrou nd and no padding, since negative padding values are not allowed</SPAN>. Paddin g on inline elements does not affect line-height calculations, so all lines in t his element should have the same line-height. 58 This element is unstyled save for a background color of gray. It contains an <S PAN class="two">inline element of class <TT>two</TT>, giving it an aqua backgrou nd and no padding, since negative padding values are not allowed</SPAN>. Paddin g on inline elements does not affect line-height calculations, so all lines in t his element should have the same line-height.
58 </P> 59 </P>
59 <P class="zero"> 60 <P class="zero">
60 This element has a class of zero. 61 This element has a class of zero.
61 </P> 62 </P>
62 </TD></TR></TABLE></BODY> 63 </TD></TR></TABLE></BODY>
63 </HTML> 64 </HTML>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698