mirror of
https://github.com/servo/servo
synced 2026-05-03 12:52:25 +02:00
Update to latest rust-cssparser.
This also updates wpt tests for new CSS Level 4 color parsing, and disables the relevant CSS tests until they can be updated (tracked by #6856).
This commit is contained in:
@@ -21,7 +21,7 @@ _addTest(function(canvas, ctx) {
|
||||
|
||||
|
||||
ctx.fillStyle = '#0f0';
|
||||
try { ctx.fillStyle = '#ff0000ff'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does
|
||||
try { ctx.fillStyle = '#fg0000ff'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does
|
||||
ctx.fillRect(0, 0, 100, 50);
|
||||
_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user