This repository was archived by the owner on Dec 18, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +35
-23
lines changed Expand file tree Collapse file tree 2 files changed +35
-23
lines changed Original file line number Diff line number Diff line change 8
8
< link rel ="author " title ="Gérard Talbot " href ="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/ " />
9
9
10
10
< style type ="text/css "> <![CDATA [
11
- div
12
- {
13
- b or der - bot to m : green solid 1em ;
14
- d is play : inline ;
15
- }
11
+ img
12
+ {
13
+ margin - to p : 90px ;
14
+ vertical - align : to p ;
15
+ }
16
16
]]> </ style >
17
17
18
18
</ head >
19
19
20
20
< body >
21
21
22
- < div > Test passes if there is a green bar and < strong > no red</ strong > .</ div >
22
+ < p > Test passes if there is a blue bar.</ p >
23
+
24
+ < div > < img src ="support/swatch-blue.png " width ="330 " height ="30 " alt ="Image download support must be enabled " /> </ div >
23
25
24
26
</ body >
25
- </ html >
27
+ </ html >
Original file line number Diff line number Diff line change 3
3
< head >
4
4
< title > CSS Test: Bottom margins on floats</ title >
5
5
< link rel ="
author "
title ="
Ian Hickson "
href ="
mailto:[email protected] "
/>
6
+ < link rel ="author " title ="Gérard Talbot " href ="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/ " />
6
7
< link rel ="alternate " href ="http://www.hixie.ch/tests/adhoc/css/box/float/045.html " type ="text/html "/>
8
+ < link rel ="bookmark " href ="https://github.com/servo/servo/pull/10458#issuecomment-210204244 " />
9
+ < link rel ="bookmark " href ="http://lists.w3.org/Archives/Public/public-css-testsuite/2016Apr/0028.html " title ="About floats-145 " />
7
10
< link rel ="help " href ="http://www.w3.org/TR/CSS21/visuren.html#floats " />
8
11
< link rel ="match " href ="floats-145-ref.xht " />
9
12
10
- < style type ="text/css ">
11
- div {
12
- float : left;
13
- background : green;
14
- }
15
- span {
16
- float : left;
17
- background : white;
18
- margin : 0 0 1em 0 ;
19
- }
20
- </ style >
13
+ < style type ="text/css "> <![CDATA [
14
+ div
15
+ {
16
+ background- color : blue;
17
+ float: left;
18
+ font: 30px/ 3 Ahem; /* computes to 30px/90px */
19
+ }
20
+
21
+ span
22
+ {
23
+ background- color : white;
24
+ color : white;
25
+ float: left;
26
+ margin- botto m: 1em;
27
+ }
28
+ ]]> </ style >
29
+
21
30
</ head >
31
+
22
32
< body >
23
- < div >
24
- < span > Test passes if there is a green bar and < strong > no red</ strong > .</ span >
25
- <!-- (note: the "no red anywhere" clause is just for consistency with other tests, this test has no red. -->
26
- </ div >
33
+
34
+ < p > Test passes if there is a blue bar.</ p >
35
+
36
+ < div > < span > Text sample</ span > </ div >
37
+
27
38
</ body >
28
39
</ html >
29
-
You can’t perform that action at this time.
0 commit comments