mirror of
https://github.com/servo/servo.git
synced 2025-08-12 00:45:33 +01:00
Update web-platform-tests to revision fd5a851b2e6bd60ff49060f1b42197c976273728
This commit is contained in:
parent
b1bd409047
commit
53a530d4c0
83 changed files with 484 additions and 155 deletions
|
@ -17,6 +17,19 @@ test_valid_value("background-image", "none");
|
|||
// Safari removes quotes.
|
||||
test_valid_value("background-image", 'url("http://www.example.com/")', ['url("http://www.example.com/")', 'url(http://www.example.com/)']);
|
||||
test_valid_value("background-image", 'none, url("http://www.example.com/")', ['none, url("http://www.example.com/")', 'none, url(http://www.example.com/)']);
|
||||
|
||||
test_valid_value(
|
||||
"background-image",
|
||||
"cross-fade(50% url(http://www.example.com), 50% url(http://www.example.com))", [
|
||||
"cross-fade(50% url(http://www.example.com), 50% url(http://www.example.com))",
|
||||
'cross-fade(50% url("http://www.example.com"), 50% url("http://www.example.com"))'
|
||||
]);
|
||||
test_valid_value(
|
||||
"background-image",
|
||||
"cross-fade(33% red, 33% white, blue)");
|
||||
test_valid_value(
|
||||
"background-image",
|
||||
"cross-fade(blue, linear-gradient(90deg, rgb(2, 0, 36) 0%, rgb(0, 212, 255) 100%))");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue