mirror of
https://github.com/servo/servo.git
synced 2025-08-08 06:55:31 +01:00
Update web-platform-tests to revision 5c34fc630374b9eb0559139a486ff1a2e4247c4f
This commit is contained in:
parent
b0f0bd8282
commit
1b463fce85
222 changed files with 5045 additions and 641 deletions
|
@ -0,0 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-sizing-3/#intrinsic">
|
||||
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
|
||||
<meta name="assert" content="This test checks that a dynamic change in the intrinsic size of a canvas element correctly changes the intrinsic size of a parent." />
|
||||
<body style="position: relative;">
|
||||
<p>Test passes if there is a filled green square.</p>
|
||||
<div style="position: absolute; background: green; line-height: 0;">
|
||||
<canvas id="target"></canvas>
|
||||
</div>
|
||||
</body>
|
||||
<script>
|
||||
document.body.offsetTop;
|
||||
const target = document.getElementById('target');
|
||||
target.width = '100';
|
||||
target.height = '100';
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue