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 88 < link rel ="author " title ="Gérard Talbot " href ="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/ " />
99
1010 < 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+ }
1616 ]]> </ style >
1717
1818 </ head >
1919
2020 < body >
2121
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 >
2325
2426 </ body >
25- </ html >
27+ </ html >
Original file line number Diff line number Diff line change 33 < head >
44 < title > CSS Test: Bottom margins on floats</ title >
55 < link rel ="author " title ="Ian Hickson " href ="mailto:ian@hixie.ch "/>
6+ < link rel ="author " title ="Gérard Talbot " href ="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/ " />
67 < 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 " />
710 < link rel ="help " href ="http://www.w3.org/TR/CSS21/visuren.html#floats " />
811 < link rel ="match " href ="floats-145-ref.xht " />
912
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+
2130 </ head >
31+
2232 < 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+
2738 </ body >
2839</ html >
29-
You can’t perform that action at this time.
0 commit comments