diff options
author | Andreas Kling <kling@serenityos.org> | 2020-06-07 17:55:46 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-06-07 17:55:46 +0200 |
commit | 731685468a1e0b0be8ef56ed7fa9a06d8f40b58b (patch) | |
tree | 86cbd1665bcdb3a8d04892b1338be782bd2b8b60 /Userland/js.cpp | |
parent | d93bf7834650708e5445ac12b83936e4c4c1e5ed (diff) | |
download | serenity-731685468a1e0b0be8ef56ed7fa9a06d8f40b58b.zip |
LibWeb: Start fleshing out support for relative CSS units
This patch introduces support for more than just "absolute px" units in
our Length class. It now also supports "em" and "rem", which are units
relative to the font-size of the current layout node and the <html>
element's layout node respectively.
Diffstat (limited to 'Userland/js.cpp')
0 files changed, 0 insertions, 0 deletions