blob: 2c8a8141526d0ddf759f32d038754ec919d93435 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<!DOCTYPE html>
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1462742">
<link rel="match" href="../../css/reference/ref-filled-green-100px-square-only.html">
<p>Test passes if there is a filled green square.</p>
<svg width=100 height=100>
<foreignObject id=target width=0 height=100>
<canvas id=inner style="background: green; position: absolute; width: 100px; height: 100px; left: 0; top: 0;"></canvas>
</foreignObject>
</svg>
<script>
document.body.offsetTop;
document.getElementById('inner').width = '100';
document.getElementById('target').setAttribute('width', '100');
</script>
|