mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update web-platform-tests to revision e9f2d000237d43f74136cfd40e5a3454f5b54b70
This commit is contained in:
parent
8bc8981ae5
commit
57465056e7
127 changed files with 18346 additions and 155 deletions
|
@ -42,6 +42,14 @@ test_valid_value("clip-path", "polygon(1% 2%)");
|
|||
test_valid_value("clip-path", "polygon(nonzero, 1px 2px, 3em 4em)", "polygon(1px 2px, 3em 4em)");
|
||||
test_valid_value("clip-path", "polygon(evenodd, 1px 2px, 3em 4em, 5pt 6%)");
|
||||
|
||||
// New supported shape in [css-shapes-2]
|
||||
// https://drafts.csswg.org/css-shapes-2/#supported-basic-shapes
|
||||
test_valid_value("clip-path", 'path("m 20 0 h -100")');
|
||||
test_valid_value("clip-path", 'path(evenodd, "M 20 20 h 60 v 60 h -60 Z M 30 30 h 40 v 40 h -40 Z")');
|
||||
test_valid_value("clip-path",
|
||||
'path(nonzero, "M20,20h60 v60 h-60z M30,30 h40 v40 h-40z")',
|
||||
'path("M 20 20 h 60 v 60 h -60 Z M 30 30 h 40 v 40 h -40 Z")');
|
||||
|
||||
// <geometry-box>
|
||||
test_valid_value("clip-path", "border-box");
|
||||
test_valid_value("clip-path", "padding-box");
|
||||
|
@ -57,7 +65,7 @@ test_valid_value("clip-path", "circle(7% at 8% 9%) border-box");
|
|||
// <geometry-box> basic-shape>
|
||||
test_valid_value("clip-path", "border-box circle(7% at 8% 9%)");
|
||||
|
||||
// <clip-source>
|
||||
// <clip-source>
|
||||
test_valid_value("clip-path", "url(https://example.com/)", ["url(https://example.com/)", "url(\"https://example.com/\")"]);
|
||||
test_valid_value("clip-path", "url(\"https://example.com/\")", ["url(https://example.com/)", "url(\"https://example.com/\")"]);
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue