negative-calc-to-non-negative-integer.html (681B)
1 <!DOCTYPE html> 2 <link rel="author" title="Xiaocheng Hu" href="mailto:xiaochengh@chromium.org"> 3 <link rel="help" href="https://drafts.csswg.org/css-values-4/#calc-range"> 4 <link rel="help" href="https://drafts.csswg.org/css-counter-styles/#the-counter-style-rule"> 5 <link rel="match" href="negative-calc-to-non-negative-integer-ref.html"> 6 <meta name="assert" content="Negative calc() passed to <non-negative-integer> property value as argument should be addressed properly."> 7 <style> 8 @counter-style foo { 9 system: additive; 10 additive-symbols: 1 'I', calc(-1) 'X'; 11 range: infinite infinite; 12 } 13 </style> 14 <ol style="list-style-type: foo" start=-1> 15 <li></li> 16 <li></li> 17 <li></li> 18 </ol>