Update web-platform-tests to revision 10168e9a5d44efbc6e7d416d1d454eb9c9f1396c

This commit is contained in:
Josh Matthews 2018-01-31 09:13:41 -05:00
parent c88dc51d03
commit 0e1caebaf4
791 changed files with 23381 additions and 5501 deletions

View file

@ -5,8 +5,7 @@
#output {
width: 100px;
height: 100px;
background-image: paint(error);
background-color: green;
background-image: paint(errorIndicator), paint(successIndicator);
}
</style>
<script src="/common/reftest-wait.js"></script>
@ -15,13 +14,19 @@
<div id="output"></div>
<script id="code" type="text/worklet">
registerPaint('error', class {
registerPaint('errorIndicator', class {
paint(ctx, geom) {
ctx.fillStyle = 'red';
ctx.fillRect(0, 0, geom.width, geom.height);
throw Error('failed!');
}
});
registerPaint('successIndicator', class {
paint(ctx, geom) {
ctx.fillStyle = 'green';
ctx.fillRect(0, 0, geom.width, geom.height);
}
});
</script>
<script>