mirror of
https://github.com/servo/servo
synced 2026-05-03 12:52:25 +02:00
Update CSS tests to revision 0698c2aa9ead844b6d7d10eafb096cb1118e13ef
This commit is contained in:
@@ -33,56 +33,56 @@
|
||||
/*
|
||||
|
||||
auto (to solve) : top
|
||||
+
|
||||
+
|
||||
auto (to solve): margin-top
|
||||
+
|
||||
+
|
||||
0 : border-top-width
|
||||
+
|
||||
+
|
||||
0 : padding-top
|
||||
+
|
||||
+
|
||||
auto (to solve) : height
|
||||
+
|
||||
0 : padding-bottom
|
||||
+
|
||||
+
|
||||
0 : border-bottom-width
|
||||
+
|
||||
+
|
||||
auto (to solve): margin-bottom
|
||||
+
|
||||
200px : bottom
|
||||
=============
|
||||
300px : height of containing block
|
||||
|
||||
|
||||
"
|
||||
'top' and 'height' are 'auto' and 'bottom' is not 'auto',
|
||||
then the height is based on the content per 10.6.7,
|
||||
set 'auto' values for 'margin-top' and 'margin-bottom' to 0,
|
||||
and solve for 'top'
|
||||
'top' and 'height' are 'auto' and 'bottom' is not 'auto',
|
||||
then the height is based on the content per 10.6.7,
|
||||
set 'auto' values for 'margin-top' and 'margin-bottom' to 0,
|
||||
and solve for 'top'
|
||||
"
|
||||
|
||||
so this brings:
|
||||
|
||||
|
||||
|
||||
auto (to solve) : top
|
||||
+
|
||||
+
|
||||
0 (solved): margin-top
|
||||
+
|
||||
+
|
||||
0 : border-top-width
|
||||
+
|
||||
+
|
||||
0 : padding-top
|
||||
+
|
||||
+
|
||||
100px (solved: based on content) : height
|
||||
+
|
||||
0 : padding-bottom
|
||||
+
|
||||
+
|
||||
0 : border-bottom-width
|
||||
+
|
||||
+
|
||||
0 (solved) : margin-bottom
|
||||
+
|
||||
200px : bottom
|
||||
=============
|
||||
300px : height of containing block
|
||||
|
||||
so top will use 0px
|
||||
|
||||
so top will use 0px
|
||||
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user