mirror of
https://github.com/servo/servo.git
synced 2025-08-15 10:25:32 +01:00
Update web-platform-tests to revision 26e8a76d7fbea0721468e791a325444ac9939a4f
This commit is contained in:
parent
1c2bed5a69
commit
6b4026ce2f
89 changed files with 889 additions and 258 deletions
|
@ -1,10 +1,14 @@
|
|||
var TestingUtils = (function() {
|
||||
|
||||
function checkGridTemplateColumns(element, value) {
|
||||
if (!Array.isArray(value))
|
||||
value = new Array(value);
|
||||
assert_in_array(getComputedStyle(element).gridTemplateColumns, value, "gridTemplateColumns");
|
||||
}
|
||||
|
||||
function checkGridTemplateRows(element, value) {
|
||||
if (!Array.isArray(value))
|
||||
value = new Array(value);
|
||||
assert_in_array(getComputedStyle(element).gridTemplateRows, value, "gridTemplateRows");
|
||||
}
|
||||
|
||||
|
@ -19,6 +23,8 @@ var TestingUtils = (function() {
|
|||
}
|
||||
|
||||
function checkGridTemplateAreas(element, value) {
|
||||
if (!Array.isArray(value))
|
||||
value = new Array(value);
|
||||
assert_in_array(getComputedStyle(element).gridTemplateAreas, value, "gridTemplateAreas");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue