Back to Chromium

Clear Negative Margin Top Expected

third_party/blink/web_tests/fast/block/float/clear-negative-margin-top-expected.html

149.0.7827.2374 B
Original Source

The green box should be below the blue box.

  • .negativemargintop gets 30px clearance thanks to its negative margin-top of -10px. - .negativemargintop then collapses its margins to -10px which pulls it up 10px to the bottom edge of the float. - #float positions itself 17px below the top-border edge of .negativemargintop https://bugs.webkit.org/show\_bug.cgi?id=14664

xx