mirror of
https://github.com/servo/servo.git
synced 2025-08-13 17:35:36 +01:00
Update web-platform-tests to revision 256b4685b8e702c14ed854347f23f4979edbfc8e
This commit is contained in:
parent
bac9903fbe
commit
45c91aa0cb
134 changed files with 1297 additions and 426 deletions
|
@ -41,17 +41,16 @@ registerPaint('geometry', class {
|
|||
serialized = properties[i].toString() + ': [null]';
|
||||
serializedStrings.push(serialized);
|
||||
}
|
||||
ctx.strokeStyle = 'green';
|
||||
ctx.fillStyle = 'green';
|
||||
if (serializedStrings[0] != "--bar: [CSSUnparsedValue=]")
|
||||
ctx.strokeStyle = 'red';
|
||||
ctx.fillStyle = 'red';
|
||||
if (serializedStrings[1] != "--foo: [CSSUnparsedValue= bar]")
|
||||
ctx.strokeStyle = 'blue';
|
||||
ctx.fillStyle = 'blue';
|
||||
if (serializedStrings[2] != "empty-cells: [CSSKeywordValue=show]")
|
||||
ctx.strokeStyle = 'yellow';
|
||||
ctx.fillStyle = 'yellow';
|
||||
if (serializedStrings[3] != "margin-left: [CSSUnitValue=2px]")
|
||||
ctx.strokeStyle = 'cyan';
|
||||
ctx.lineWidth = 4;
|
||||
ctx.strokeRect(0, 0, geom.width, geom.height);
|
||||
ctx.fillStyle = 'cyan';
|
||||
ctx.fillRect(0, 0, geom.width, geom.height);
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue