mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-09 21:00:42 +02:00
Automatic update from web-platform-tests [LayoutNG] Set table-cell borders, and intrinsic-padding via. constraints. As above, this was some previously accumulated debt. It isn't clear if the intrinsic-padding is a good concept yet, but removes some bad layout-box calls. Bug: 993095 Change-Id: Idc4e9e67afa2fbd9c84976cb2878b215624298c5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1754097 Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by: Aleks Totic <atotic@chromium.org> Cr-Commit-Position: refs/heads/master@{#687511} -- wpt-commits: 6a70fc3a4168ba10a60f0c92b5a8b9faf1b7fed7 wpt-pr: 18463
12 lines
582 B
HTML
12 lines
582 B
HTML
<!DOCTYPE html>
|
|
<div style="width: 100px; height: 100px; border: solid;">
|
|
<div style="display: table-cell; max-width: 100px; height: 100px; background: green; overflow-x: scroll; vertical-align: top;">
|
|
<div style="width: 120px; height: 50px; background: hotpink;"></div>
|
|
</div>
|
|
</div>
|
|
<br>
|
|
<div style="width: 100px; height: 100px; border: solid;">
|
|
<div style="display: table-cell; max-width: 100px; height: 100px; background: green; overflow-x: scroll; vertical-align: middle;">
|
|
<div style="width: 120px; height: 50px; background: hotpink;"></div>
|
|
</div>
|
|
</div>
|