mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
layout: Make box-sizing
only affect explicitly-specified or percentage
sizes, not automatically computed ones. Improves GitHub significantly.
This commit is contained in:
parent
510f8a817f
commit
611c54ce8c
5 changed files with 74 additions and 57 deletions
|
@ -168,3 +168,4 @@ fragment=top != ../html/acid2.html acid2_ref.html
|
|||
!= input_height_a.html input_height_ref.html
|
||||
== pre_ignorable_whitespace_a.html pre_ignorable_whitespace_ref.html
|
||||
== many_brs_a.html many_brs_ref.html
|
||||
== box_sizing_sanity_check_a.html box_sizing_sanity_check_ref.html
|
||||
|
|
7
tests/ref/box_sizing_sanity_check_a.html
Normal file
7
tests/ref/box_sizing_sanity_check_a.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
<div style="box-sizing: border-box; float: left; background: yellow;">Heeheehee</div>
|
||||
</body>
|
||||
</html>
|
||||
|
7
tests/ref/box_sizing_sanity_check_ref.html
Normal file
7
tests/ref/box_sizing_sanity_check_ref.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
<div style="float: left; background: yellow;">Heeheehee</div>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue