summaryrefslogtreecommitdiff
path: root/Kernel/Memory/RegionTree.h
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2022-04-14 16:22:35 +0100
committerAndreas Kling <kling@serenityos.org>2022-04-14 21:54:10 +0200
commit7c91fda088dd92907e64d38af1093db6e693f641 (patch)
treecda471ea725253e44ec5a832b16f8936b900756f /Kernel/Memory/RegionTree.h
parent85da8cbb07322addd8838df4d4c206843d77714f (diff)
downloadserenity-7c91fda088dd92907e64d38af1093db6e693f641.zip
LibWeb: Allow multiple text-decoration-lines
The spec grammar for `text-decoration-line` is: `none | [ underline || overline || line-through || blink ]` Which means that it's either `none`, or any combination of the other values. This patch makes that parse for `text-decoration-line` and `text-decoration`, stores the results as a Vector, and adjusts `paint_text_decoration()` to run as a loop over all the values that are provided. As noted, storing a Vector of values is a bit wasteful, as they could be stored as flags in a single `u8`. But I was getting too confused trying to do that in a nice way.
Diffstat (limited to 'Kernel/Memory/RegionTree.h')
0 files changed, 0 insertions, 0 deletions