forked from mirrors/gecko-dev
Automatic update from web-platform-tests Overflow: Align ShouldApplyOverflowClipMargin with clip calculations Due to recent changes in how overflow clip axis is computed (to allow replaced overflow), ShouldApplyOverflowClipMargin is out of date. This patch aligns with that, first by detecting the default value properly and also using RepsectsCSSOverflow to ensure that overflow clip margin only has an effect if the element respects the overflow R=szager@chromium.org, khushalsagar@chromium.org Fixed: 1395519 Change-Id: I926009cc5316d01d9e5dbc9681f20f124b5fe229 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4117831 Commit-Queue: Vladimir Levin <vmpstr@chromium.org> Reviewed-by: Stefan Zager <szager@chromium.org> Cr-Commit-Position: refs/heads/main@{#1085927} -- wpt-commits: df6ee5fa33d2a26abd70a09aba811b6810e272d4 wpt-pr: 37604
17 lines
424 B
HTML
17 lines
424 B
HTML
<!DOCTYPE html>
|
|
<title>Crash test: table-header-group with default overflow/clip margin</title>
|
|
<link rel="help" href="https://drafts.csswg.org/css-overflow/#propdef-overflow">
|
|
<link rel="author" title="Vladimir Levin" href="mailto:vmpstr@chromium.org">
|
|
|
|
<style type="text/css">
|
|
*:last-child{
|
|
display: table-header-group;
|
|
}
|
|
</style>
|
|
|
|
<object>
|
|
<table>
|
|
<caption>Text</caption>
|
|
<tbody></tbody>
|
|
</table>
|
|
</object>
|