forked from mirrors/gecko-dev
Automatic update from web-platform-tests [GridNG] Add wpt tests for various bugs. Bug: 1126609, 1055095, 1029371, 973906, 943013, 650273, 1149627 Change-Id: Ibfd4b4adc7981c26832b85bf788194aef48a1673 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3154428 Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by: Kurt Catti-Schmidt <kschmi@microsoft.com> Reviewed-by: Daniel Libby <dlibby@microsoft.com> Cr-Commit-Position: refs/heads/main@{#920398} -- wpt-commits: 6a78b392cd2a26e3dc80c50d01d4f964c7522dca wpt-pr: 30554
20 lines
773 B
HTML
20 lines
773 B
HTML
<!DOCTYPE html>
|
|
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1055095">
|
|
<link rel="match" href="../reference/replaced-element-015-ref.html">
|
|
<p>Test passes if it matches the reference.</p>
|
|
<div style="display: inline-grid; width: 100px;">
|
|
<div id="target" style="height: 100%; margin-bottom: 50px;">
|
|
<img src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='green'/></svg>"
|
|
style="height: 100%">
|
|
</div>
|
|
</div>
|
|
<script>
|
|
const target = document.getElementById('target');
|
|
document.body.offsetTop;
|
|
target.style.marginBottom = '';
|
|
document.body.offsetTop;
|
|
target.style.marginBottom = '50px';
|
|
document.body.offsetTop;
|
|
target.style.marginBottom = '';
|
|
</script>
|
|
|