mirror of
https://github.com/servo/servo.git
synced 2025-08-02 20:20:14 +01:00
Not the prettiest, but it will work, and LengthPercentage will be 12 bytes which is pretty good (we could do better if wanted I guess): * Au(i32) length; * f32 percentage; * AllowedNumericType(u8) clamping_mode; * bool has_percentage; * bool was_calc; This will allow me to start moving C++ stuff to use this representation. Differential Revision: https://phabricator.services.mozilla.com/D16929 |
||
---|---|---|
.. | ||
sugar | ||
mod.rs |