mirror of
https://github.com/servo/servo
synced 2026-04-30 19:37:43 +02:00
Update CSS tests to revision 0698c2aa9ead844b6d7d10eafb096cb1118e13ef
This commit is contained in:
@@ -29,20 +29,20 @@
|
||||
/*
|
||||
"
|
||||
The used value of 'height' is determined as for inline replaced elements.
|
||||
If 'margin-top' or 'margin-bottom' is specified as 'auto'
|
||||
If 'margin-top' or 'margin-bottom' is specified as 'auto'
|
||||
its used value is determined by the rules below.
|
||||
(...)
|
||||
If 'height' and 'width' both have computed values
|
||||
of 'auto' and the element also has an intrinsic height,
|
||||
then that intrinsic height is the used value of 'height'.
|
||||
If 'height' and 'width' both have computed values
|
||||
of 'auto' and the element also has an intrinsic height,
|
||||
then that intrinsic height is the used value of 'height'.
|
||||
(...)
|
||||
If 'bottom' is 'auto', replace any 'auto' on 'margin-top'
|
||||
or 'margin-bottom' with '0'.
|
||||
If at this point there is only one 'auto' left,
|
||||
solve the equation for that value.
|
||||
If 'bottom' is 'auto', replace any 'auto' on 'margin-top'
|
||||
or 'margin-bottom' with '0'.
|
||||
If at this point there is only one 'auto' left,
|
||||
solve the equation for that value.
|
||||
"
|
||||
http://www.w3.org/TR/CSS21/visudet.html#inline-replaced-height
|
||||
|
||||
|
||||
In this test, bottom will be -96px because the height of the
|
||||
containing block is 0px.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user