mirror of
https://github.com/servo/servo
synced 2026-04-29 02:47:55 +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:
@@ -1329,7 +1329,9 @@
|
||||
for name, string, r,g,b,a, notes in [
|
||||
('html4', 'limE', 0,255,0,255, ""),
|
||||
('hex3', '#0f0', 0,255,0,255, ""),
|
||||
('hex4', '#0f0f', 0,255,0,255, ""),
|
||||
('hex6', '#00fF00', 0,255,0,255, ""),
|
||||
('hex8', '#00ff00ff', 0,255,0,255, ""),
|
||||
('rgb-num', 'rgb(0,255,0)', 0,255,0,255, ""),
|
||||
('rgb-clamp-1', 'rgb(-1000, 1000, -1000)', 0,255,0,255, 'Assumes colours are clamped to [0,255].'),
|
||||
('rgb-clamp-2', 'rgb(-200%, 200%, -200%)', 0,255,0,255, 'Assumes colours are clamped to [0,255].'),
|
||||
@@ -1397,11 +1399,11 @@
|
||||
('hex1', '#f'),
|
||||
('hex2', '#f0'),
|
||||
('hex3', '#g00'),
|
||||
('hex4', '#ff00'),
|
||||
('hex4', '#fg00'),
|
||||
('hex5', '#ff000'),
|
||||
('hex6', '#fg0000'),
|
||||
('hex7', '#ff0000f'),
|
||||
('hex8', '#ff0000ff'),
|
||||
('hex8', '#fg0000ff'),
|
||||
('rgb-1', 'rgb(255.0, 0, 0)'),
|
||||
('rgb-2', 'rgb(255, 0.0, 0)'),
|
||||
('rgb-3', 'rgb(255.0, 0, 0,)'),
|
||||
|
||||
Reference in New Issue
Block a user