[Webkit-unassigned] [Bug 94317] Counter values not clamped on integer overflow

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 17 02:10:35 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=94317





--- Comment #1 from Elliott Sprehn <esprehn at chromium.org>  2012-08-17 02:11:08 PST ---
Btw, the reason we do this for counter-increment but not when computing counters in a scope is because the CSS2.1 test suite has a whole bunch of tests like this one:

http://test.csswg.org/suites/css2.1/20110111/html4/counter-increment-015.htm

But out of the 50+ tests it never tests having more than one counter() in a scope.

I can't find reference about integer overflow the spec, and CSS3 values claims CSS is "infinite precision" which makes me think perhaps the tests in 2.1 are wrong and we should always overflow and never clamp.

Note: Gecko and Opera never clamp so they fail those tests.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list