Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions css/css-properties-values-api/typedom.html
Original file line number Diff line number Diff line change
Expand Up @@ -995,3 +995,4 @@
}, 'Computed <angle> | <length> is reified as CSSUnitValue by iterator');

</script>

1 change: 1 addition & 0 deletions css/css-typed-om/CSSMatrixComponent-DOMMatrix-mutable.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@
assert_equals(component.matrix.m11, 2, 'modification of m11 component of DOMMatrix expected to succeed');
});
</script>

1 change: 1 addition & 0 deletions css/css-typed-om/background-image-gradient-ref.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@
<p>
There should be a green rect above.
</p>

1 change: 1 addition & 0 deletions css/css-typed-om/background-image-gradient.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@
<p>
There should be a green rect above.
</p>

1 change: 1 addition & 0 deletions css/css-typed-om/cycle-in-unparsed-value-crash.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@
div.attributeStyleMap.set('width', unparsed_value);
</script>
<p>PASS if no crash</p>

1 change: 1 addition & 0 deletions css/css-typed-om/declared-styleMap-accepts-inherit.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@
assert_equals(element.attributeStyleMap.get('width').value, 'inherit', 'inherit should be a valid value for styleMap properties');
});
</script>

1 change: 1 addition & 0 deletions css/css-typed-om/factory-absolute-length.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,4 @@
</script>
</body>
</html>

1 change: 1 addition & 0 deletions css/css-typed-om/factory-duration.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@
</script>
</body>
</html>

3 changes: 2 additions & 1 deletion css/css-typed-om/factory-font-relative-length.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,5 @@
}
</script>
</body>
</html>
</html>

1 change: 1 addition & 0 deletions css/css-typed-om/factory-frequency.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@
</script>
</body>
</html>

1 change: 1 addition & 0 deletions css/css-typed-om/historical.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@
}, `${deprecatedProperty} should not exist on CSSColorValue`);
}
</script>

1 change: 1 addition & 0 deletions css/css-typed-om/idlharness.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,4 @@
}
);
</script>

1 change: 1 addition & 0 deletions css/css-typed-om/perspective-typed-arithmetic-crash.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@
<script>
String(new CSSPerspective(CSS.px(1).mul(CSS.px(1)).div(CSS.px(1))));
</script>

1 change: 1 addition & 0 deletions css/css-typed-om/resources/testhelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,3 +245,4 @@ function assert_matrix_approx_equals(actual, expected, epsilon) {
assert_array_approx_equals(
actual.toFloat64Array(), expected.toFloat64Array(), epsilon);
}

1 change: 1 addition & 0 deletions css/css-typed-om/rotate-by-added-angle-ref.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@
</style>
<p>Test passes if there is a filled green rectangle with <strong>no red</strong>.</p>
<div class="ref"></div>

1 change: 1 addition & 0 deletions css/css-typed-om/rotate-by-added-angle.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@
const target = document.querySelector('.test');
target.attributeStyleMap.set('transform', transform);
</script>

Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@
}
}
</script>

1 change: 1 addition & 0 deletions css/css-typed-om/set-invalid-untyped-value-crash.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,4 @@
target.offsetTop;
}
</script>

1 change: 1 addition & 0 deletions css/css-typed-om/set-var-reference-thcrash.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@
assert_equals('rgb(0, 128, 0)', target.computedStyleMap().get('color').toString());
}, 'Do not crash when referencing a variable with CSSVariableReferenceValue');
</script>

1 change: 1 addition & 0 deletions css/css-typed-om/stylevalue-objects/parse-invalid.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@
}, 'CSSStyleValue.parse() with invalid value for custom property throws TypeError');

</script>

1 change: 1 addition & 0 deletions css/css-typed-om/stylevalue-objects/parse.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,4 @@
}, 'CSSStyleValue.parse() with a valid custom property returns a CSSStyleValue');

</script>

1 change: 1 addition & 0 deletions css/css-typed-om/stylevalue-objects/parseAll-invalid.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,4 @@
}, 'CSSStyleValue.parseAll() with invalid value for property throws TypeError');

</script>

1 change: 1 addition & 0 deletions css/css-typed-om/stylevalue-objects/parseAll.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,4 @@
}, 'CSSStyleValue.parseAll() with a valid custom property returns a list with a single CSSStyleValue');

</script>

Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@
var inverted = new CSSMathInvert(CSS.number(0));
var converted = inverted.to('number');
converted.toString()
</script>
</script>

Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@
rotate.toString();
transform.toString();
</script>

Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@
var v106 = v98.mul(v100);
var v201 = new CSSTranslate(v106, v98, v98);
v201.toString()
</script>
</script>

Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,4 @@
}, 'attributeStyleMap round-trips correctly, though the comment is gone');

</script>

Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@
}, 'Constructing CSSKeywordValue with an empty string throws a TypeError');

</script>

Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,4 @@
}, 'Updating CSSKeywordValue.value with an empty string throws a TypeError');

</script>

Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@
}

</script>

Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@
}, `Don't crash when serializing empty CSSUnparsedValue`);

</script>

Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,4 @@
}, 'Length of CSSUnparsedValue does not change when fragments are modified');

</script>

Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@
'throws a TypeError');

</script>

Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@
'property name throws TypeError');

</script>

Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@
}, 'CSSUnitValue.value can be updated to a different value');

</script>

Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ function assert_numeric_type_equals(type, expectedType) {
}
assert_equals(type.percentHint, expectedType.percentHint);
}

Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@
<script>
div.computedStyleMap().get('border');
</script>

Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@
}, "get() returns undefined on disconnected element");

</script>

Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
<script>
document.createElement("div").computedStyleMap().getAll("margin");
</script>

1 change: 1 addition & 0 deletions css/css-typed-om/the-stylepropertymap/invalidation.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@
});
</script>


Original file line number Diff line number Diff line change
Expand Up @@ -503,3 +503,4 @@ function runUnsupportedPropertyTests(propertyName, testExamples) {
testUnsupportedValue(propertyName, cssText);
}
}

1 change: 1 addition & 0 deletions css/css-typed-om/width-by-clamp-px-em.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@
const target = document.querySelector('#target');
target.attributeStyleMap.set('width', width);
</script>

1 change: 1 addition & 0 deletions css/css-typed-om/width-by-max-px-em.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@
const target = document.querySelector('#target');
target.attributeStyleMap.set('width', width);
</script>

1 change: 1 addition & 0 deletions css/css-typed-om/width-by-min-px-em.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@
const target = document.querySelector('#target');
target.attributeStyleMap.set('width', width);
</script>

5 changes: 4 additions & 1 deletion tools/ci/taskcluster-run.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ def get_browser_args(product, channel, artifact_path, wpt_args):
if product == "firefox" and not any(item.startswith("--install-browser") for item in wpt_args):
local_binary = os.path.expanduser(os.path.join("~", "build", "firefox", "firefox"))
if os.path.exists(local_binary):
return ["--binary=%s" % local_binary]
return [
"--binary=%s" % local_binary,
"--setpref=layout.css.typed-om.enabled=true",
]
print("WARNING: Local firefox binary not found")
return ["--install-browser", "--install-webdriver"]
if product == "firefox_android":
Expand Down
Loading