On 15/04/2014 06:00, Patrick Walton wrote:
I'm considering using 32-bit fixed-point (16 bits for the fraction, 16
bits for the integer portion) for percentages in CSS.

How should numbers (and dimensions and percentages) be represented in the CSS parser? Do you still see performance benefits when including number parsing in the benchmarks? Maybe this depends on how many elements a given CSS declaration applies to?


This also seems relevant, although I don’t know what we should do. Maybe it’s still premature for us to worry about it:

http://ejohn.org/blog/sub-pixel-problems-in-css/

--
Simon Sapin
_______________________________________________
dev-servo mailing list
dev-servo@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-servo

Reply via email to