diff options
author | Sam Atkins <atkinssj@serenityos.org> | 2023-04-11 12:57:32 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-04-13 09:53:47 +0200 |
commit | 5f2f780662a493bf33d2fd799483a2ff2c62f5ea (patch) | |
tree | 9094d42a1fa752b9562cd123b173ccb0a8c1a0a9 /Kernel/mkmap.sh | |
parent | 89e55c5297e7b510ed04d7b126397bc61459c1f9 (diff) | |
download | serenity-5f2f780662a493bf33d2fd799483a2ff2c62f5ea.zip |
LibWeb: Expose type and raw values of basic CSS types
This makes it possible to do arithmetic on them without having to
resolve to their canonical unit, which often requires context
information that is not available until the last minute. For example, a
Length cannot be resolved to px without knowing the font size, parent
element's size, etc.
Only Length currently requires such context, but treating all these
types the same means that code that manipulates them does not need to
know or care if a new unit gets added that does require contextual
information.
Diffstat (limited to 'Kernel/mkmap.sh')
0 files changed, 0 insertions, 0 deletions