1
0
Fork 0
firefox/testing/web-platform/tests/css/css-sizing/stretch/positioned-replaced-1.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

18 lines
684 B
HTML

<!DOCTYPE html>
<link rel="match" href="../../reference/ref-filled-green-100px-square-only.html">
<link rel="help" href="https://github.com/webcompat/web-bugs/issues/103641#issuecomment-1122414992">
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1324259">
<p>Test passes if there is a filled green square.</p>
<style>
canvas {
position: absolute;
background: green;
width: stretch;
height: stretch;
}
</style>
<div style="display: flow-root; position: relative; width: 150px; height: 150px; margin-top: -50px; margin-left: -50px;">
<div style="margin-left: 50px; margin-top: 50px;">
<canvas width="50" height="25"></canvas>
</div>
</div>