mirror of
https://github.com/servo/servo
synced 2026-05-11 01:22:19 +02:00
Update web-platform-tests to revision 256b4685b8e702c14ed854347f23f4979edbfc8e
This commit is contained in:
@@ -31,11 +31,10 @@ try {
|
||||
registerPaint('geometry', class {
|
||||
paint(ctx, geom) {
|
||||
if (testsPassed)
|
||||
ctx.strokeStyle = 'green';
|
||||
ctx.fillStyle = 'green';
|
||||
else
|
||||
ctx.strokeStyle = 'red';
|
||||
ctx.lineWidth = 4;
|
||||
ctx.strokeRect(0, 0, geom.width, geom.height);
|
||||
ctx.fillStyle = 'red';
|
||||
ctx.fillRect(0, 0, geom.width, geom.height);
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user