Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-values/negative-calc-to-non-negative-integer.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<link rel="author" title="Xiaocheng Hu" href="mailto:xiaochengh@chromium.org">
<link rel="match" href="negative-calc-to-non-negative-integer-ref.html">
<meta name="assert" content="Negative calc() passed to <non-negative-integer> property value as argument should be addressed properly.">
<style>
@counter-style foo {
system: additive;
additive-symbols: 1 'I', calc(-1) 'X';
range: infinite infinite;
}
</style>
<ol style="list-style-type: foo" start=-1>
<li></li>
<li></li>
<li></li>
</ol>