Bug 1588701 [wpt PR 19687] - [LayoutNG] Allow negative margins to stay on the line...
commit75964966e004b819ca27597f802724d41837b358
authorKoji Ishii <kojii@chromium.org>
Tue, 22 Oct 2019 09:44:47 +0000 (22 09:44 +0000)
committerJames Graham <james@hoppipolla.co.uk>
Thu, 24 Oct 2019 17:03:45 +0000 (24 18:03 +0100)
tree478a62a7db583bf766a1a5c7a33752da4249b3c3
parent0afe08d1afb4d1ff43c8d25cb65b0f5deb30aef6
Bug 1588701 [wpt PR 19687] - [LayoutNG] Allow negative margins to stay on the line after overflow, a=testonly

Automatic update from web-platform-tests
[LayoutNG] Allow negative margins to stay on the line after overflow

This patch allows atomic inlines to stay on the line even
when it appears after the line overflowed, if its negative
margins can bring the position back to inside of the line.

This is not a well-defined behavior in the CSS spec, but
legacy/WebKit/Gecko do this at some levels, though not really
interoperable.

Bug: 1001000
Change-Id: If8cfc5d51de14c8de6a9caa78fa10abaf6f1b5b7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1859424
Commit-Queue: Koji Ishii <kojii@chromium.org>
Reviewed-by: Yoshifumi Inoue <yosin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#705848}

--

wpt-commits: eb78a40aac4a0072fd12585c7f29efde938a2e33
wpt-pr: 19687
testing/web-platform/tests/css/CSS2/linebox/inline-negative-margin-001.html