Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-typed-om/perspective-typed-arithmetic-crash.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>Don't crash when setting a CSS-wide keyword on a custom property</title>
<link rel="help" href="https://drafts.css-houdini.org/css-typed-om-1/#cssnumericvalue-create-a-type">
<div id="target">
Don't crash
</div>
<script>
String(new CSSPerspective(CSS.px(1).mul(CSS.px(1)).div(CSS.px(1))));
</script>