mirror of
https://github.com/servo/servo
synced 2026-04-29 02:47:55 +02:00
Update CSS tests to revision 0698c2aa9ead844b6d7d10eafb096cb1118e13ef
This commit is contained in:
@@ -21,11 +21,11 @@
|
||||
}
|
||||
|
||||
div#child
|
||||
{
|
||||
{
|
||||
border-right: green solid 200px;
|
||||
margin-right: -400px;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
Calculation of used width for div#child:
|
||||
|
||||
@@ -34,15 +34,15 @@
|
||||
+ padding-left : 0px
|
||||
+ width : auto
|
||||
+ padding-right : 0px
|
||||
+ border-right-width : 200px
|
||||
+ margin-right : -400px
|
||||
+ border-right-width : 200px
|
||||
+ margin-right : -400px
|
||||
====================================
|
||||
width of containing block : 0px
|
||||
|
||||
|
||||
Therefore 'width: auto' must be resolved as 'width: 200px'.
|
||||
Therefore div#child's green border-right should overlap perfectly
|
||||
Therefore div#child's green border-right should overlap perfectly
|
||||
div#containing-block's red border-right.
|
||||
*/
|
||||
*/
|
||||
]]></style>
|
||||
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user