[LayoutNG] Make empty block end margins "inherit" quirkiness from start margins.
This is amazing. Essentially if an element has "default" quirky start margins, and it is an empty block, the end margin (regardless of if it is quirky or not), becomes quirky. This doesn't propagate to other elements however, see: https://www.software.hixie.ch/utilities/js/live-dom-viewer/?saved=6016 A bigger fix might be to change the default stylesheet to make all of these elements with quirky margins to have quirky margins on each side, then change the logic for the bottom quirkyness. But this is a pretty scary change. (This may however match other browsers better eventually). Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng Change-Id: I5895a148211a5a1291e9b0a935fea08e094d4ec0 Bug: 635619 Reviewed-on: https://chromium-review.googlesource.com/1124071Reviewed-by:Morten Stenshorne <mstensho@chromium.org> Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/master@{#572513}
Showing
Please register or sign in to comment