mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Implement min-width and max-width for non-block flows.
+ Add simple reftests. + Add reftests for float min-width and max-width.
This commit is contained in:
parent
e98c839ab0
commit
9d510a7112
12 changed files with 292 additions and 77 deletions
22
src/test/ref/max_width_float_simple_b.html
Normal file
22
src/test/ref/max_width_float_simple_b.html
Normal file
|
@ -0,0 +1,22 @@
|
|||
<html>
|
||||
<head>
|
||||
<style>
|
||||
#first {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
border: solid 1px;
|
||||
}
|
||||
#block {
|
||||
height: 50px;
|
||||
width: 40px;
|
||||
background: green;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="first">
|
||||
<div id="block">
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue