mirror of
https://github.com/servo/servo.git
synced 2025-08-14 09:55:35 +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
|
@ -28,9 +28,8 @@ function drawCanvas(canvasID, hasAlpha) {
|
|||
var canvas = document.getElementById(canvasID);
|
||||
var context = canvas.getContext("2d", {alpha: hasAlpha});
|
||||
context.clearRect(0, 0, canvas.width, canvas.height);
|
||||
context.strokeStyle = 'blue';
|
||||
context.lineWidth = 4;
|
||||
context.strokeRect(20, 20, 60, 60);
|
||||
context.fillStyle = 'blue';
|
||||
context.fillRect(20, 20, 60, 60);
|
||||
};
|
||||
|
||||
drawCanvas('opaque', false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue