Update web-platform-tests to revision dd4a8e0b6a3b81d5008478c8d73ba5aa296441b2

This commit is contained in:
WPT Sync Bot 2020-11-20 08:21:46 +00:00
parent 30347a4934
commit fbd8987f23
122 changed files with 841 additions and 429 deletions

View file

@ -0,0 +1,15 @@
<!DOCTYPE html>
<body>
<canvas id="canvas" width="400" height="800"></canvas>
</body>
<script>
var canvas = document.getElementById('canvas');
canvas.style.width = (canvas.width / 2) + 'px';
canvas.style.height = (canvas.height / 2) + 'px';
var ctx = canvas.getContext('2d');
ctx.scale(2, 2);
ctx.fillStyle = 'green';
ctx.fillRect(0, 0, 100, 150);
ctx.fillStyle = 'red';
ctx.fillRect(0, 150, 200, 250);
</script>

View file

@ -0,0 +1,19 @@
<!DOCTYPE html>
<link rel="help" href="https://drafts.csswg.org/css-backgrounds-3/#background-color">
<link rel="match" href="simple-bg-color-ref.html">
<style>
.box1 {
width: 100px;
height: 150px;
background-color: green;
}
.box2 {
width: 200px;
height: 250px;
background-color: red;
}
</style>
<body>
<div class='box1'></div>
<div class='box2'></div>
</body>