mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update web-platform-tests to revision 4a5223502fa660ce03e470af6a61c8bc26c5a8ee
This commit is contained in:
parent
c5f7c9ccf3
commit
e891345f26
1328 changed files with 36632 additions and 20588 deletions
|
@ -1,4 +1,3 @@
|
|||
@dbaron
|
||||
@svgeesus
|
||||
@SimonSapin
|
||||
@tabatkins
|
||||
|
|
|
@ -28,15 +28,15 @@
|
|||
"use strict";
|
||||
|
||||
var testcases = [
|
||||
{ element: "target1", expectedCssText: "--var: var1;" },
|
||||
{ element: "target1", expectedCssText: "--var: var1;" },
|
||||
{ element: "target2", expectedCssText: "margin: var(--prop);" },
|
||||
{ element: "target3", expectedCssText: "background: var(--prop);" },
|
||||
{ element: "target4", expectedCssText: "margin: var(--prop) !important;" },
|
||||
{ element: "target5", expectedCssText: "background: var(--prop) !important;" },
|
||||
{ element: "target6", expectedCssText: "background: green;" },
|
||||
{ element: "target7", expectedCssText: "background: var(--prop);" },
|
||||
{ element: "target8", expectedCssText: "color: var(--prop);" },
|
||||
{ element: "target9", expectedCssText: "margin-top: 10px; margin-right: ; margin-bottom: ; margin-left: ;" },
|
||||
{ element: "target8", expectedCssText: "color: var(--prop);" },
|
||||
{ element: "target9", expectedCssText: "margin-right: ; margin-bottom: ; margin-left: ; margin-top: 10px;" },
|
||||
{ element: "target10", expectedCssText: "" }
|
||||
];
|
||||
|
||||
|
@ -45,7 +45,7 @@
|
|||
var div = document.getElementById(testcase.element);
|
||||
var actualCssText = div.style.cssText;
|
||||
assert_equals(actualCssText, testcase.expectedCssText);
|
||||
}, testcase.element + " " + testcase.propertyName);
|
||||
}, testcase.element);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
|
|
@ -29,11 +29,11 @@
|
|||
let templates = [
|
||||
{
|
||||
testName:"box-shadow",
|
||||
expectedValue:"1px 1px 1px 1px rgb(0,128,0)",
|
||||
expectedValue:"rgb(0, 128, 0) 1px 1px 1px 1px",
|
||||
},
|
||||
{
|
||||
testName:"text-shadow",
|
||||
expectedValue:"1px 1px 1px rgb(0,128,0)",
|
||||
expectedValue:"rgb(0, 128, 0) 1px 1px 1px",
|
||||
},
|
||||
];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue