forked from mirrors/gecko-dev
Automatic update from web-platform-tests [wpt] Add tests for two grid issues. Bug: 1111799, 1127715 Change-Id: I9de52b03ff6fe087bde18072c9f29dc437d43b50 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3158852 Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org> Auto-Submit: Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by: Daniel Libby <dlibby@microsoft.com> Reviewed-by: Kurt Catti-Schmidt <kschmi@microsoft.com> Cr-Commit-Position: refs/heads/main@{#920986} -- wpt-commits: ea28b33acbe780c1ebc4ef1503dffdf3672d58c8 wpt-pr: 30703
13 lines
641 B
HTML
13 lines
641 B
HTML
<!DOCTYPE HTML>
|
|
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1127715">
|
|
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
|
|
<p>Test passes if there is a filled green square.</p>
|
|
<div style="display: grid; width: 100px;">
|
|
<div style="display: grid; margin: auto;">
|
|
<img id="target" style="max-width: 100%; max-height: 100%;">
|
|
</div>
|
|
</div>
|
|
<script>
|
|
document.body.offsetTop;
|
|
document.getElementById('target').src = 'data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100%" height="100%" fill="green"></rect></svg>';
|
|
</script>
|