summaryrefslogtreecommitdiff
path: root/Userland/js.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-06-07 17:55:46 +0200
committerAndreas Kling <kling@serenityos.org>2020-06-07 17:55:46 +0200
commit731685468a1e0b0be8ef56ed7fa9a06d8f40b58b (patch)
tree86cbd1665bcdb3a8d04892b1338be782bd2b8b60 /Userland/js.cpp
parentd93bf7834650708e5445ac12b83936e4c4c1e5ed (diff)
downloadserenity-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