Files
ladybird/Tests/LibWeb/Text/input/geometry/dommatrix-unresolved-style-value.html
Callum Law 99dd648475 LibWeb: Disallow ASF in DOMMatrix constructor
We have no context to resolve ASFs against here so we should throw.
2025-09-28 17:43:25 +02:00

15 lines
317 B
HTML

<!DOCTYPE html>
<html>
<script src="../include.js"></script>
<script>
test(() => {
try {
new DOMMatrix("var(--a)");
println("Fail! Should throw error");
} catch {
println("Pass!");
}
});
</script>
</html>