1 | 1 | A box with negative margin should drop it in order to fit next to floats rather than push below the floats. This behaviour is not defined by CSS2.1, but the behaviour enforced by this test makes us match IE and FF.
|
---|
2 | 2 |
|
---|
3 | 3 | Header
|
---|
4 | | PASS
|
---|
| 4 | FAIL:
|
---|
| 5 | Expected 650 for width, but got 1050.
|
---|
| 6 |
|
---|
| 7 | <div class="box margin-left" data-expected-width="650">Header</div>
|
---|
5 | 8 | Header
|
---|
6 | 9 | PASS
|
---|
7 | 10 | Header
|
---|
8 | | PASS
|
---|
| 11 | FAIL:
|
---|
| 12 | Expected 650 for width, but got 400.
|
---|
| 13 |
|
---|
| 14 | <div class="box margin-left" data-expected-width="650">Header</div>
|
---|
| 15 | Header
|
---|
| 16 | FAIL:
|
---|
| 17 | Expected 650 for width, but got 1050.
|
---|
| 18 |
|
---|
| 19 | <div class="box margin-right" data-expected-width="650">Header</div>
|
---|
| 20 | Header
|
---|
| 21 | FAIL:
|
---|
| 22 | Expected 500 for width, but got 400.
|
---|
| 23 |
|
---|
| 24 | <div class="box margin-left" data-expected-width="500">Header</div>
|
---|
9 | 25 | Header
|
---|
10 | 26 | PASS
|
---|
11 | | Header
|
---|
12 | | PASS
|
---|
13 | | Header
|
---|
14 | | PASS
|
---|