Closed sepcnt closed 4 months ago
Add resolve_percentage public method, resolves to a with given basis. When utilizing stylo into other renderers, it will be helpful to convert LengthPercentage to ratio.
https://github.com/servo/stylo/commit/7e3947b267516f200733bb1d99ff4160a6d21ade @mrobinson
Add resolve_percentage public method, resolves to a with given basis.
When utilizing stylo into other renderers, it will be helpful to convert LengthPercentage to ratio.