mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-11 05:39:41 +02:00
Automatic update from web-platform-tests[LayoutNG] Rebaseline intrinsic sizing test that actually passes. Legacy layout is buggy here, so the expected rendering was wrong. Also wrote a new wpt test for this. When calculating intrinsic size, the legacy engine makes room for whitespace that is to be collapsed. Bug: 845902 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng Change-Id: I77087577aad68dc249ca33a8ac8a79ef4f35469e Reviewed-on: https://chromium-review.googlesource.com/1070270 Reviewed-by: Emil A Eklund <eae@chromium.org> Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/master@{#561428} -- wpt-commits: 11638bba9dee05bfdec48264157055a471ff6878 wpt-pr: 11133
10 lines
593 B
HTML
10 lines
593 B
HTML
<!DOCTYPE html>
|
|
<title>Collapsable whitespace and break after inline-block</title>
|
|
<link rel="author" title="Morten Stenshorne" href="mstensho@chromium.org">
|
|
<link rel="help" href="https://www.w3.org/TR/css-sizing-3/#intrinsic-sizes" title="4.1. Intrinsic Sizes">
|
|
<link rel="match" href="../reference/ref-filled-green-100px-square.xht" />
|
|
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
|
|
<div style="width:fit-content; background:red;">
|
|
<div style="display:inline-block; vertical-align:top; width:100px; height:100px; background:green;"></div>
|
|
<br>
|
|
</div>
|