1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 08:28:11 +00:00
serenity/Base
Sam Atkins 7c91fda088 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.
2022-04-14 21:54:10 +02:00
..
bin Userland: Add more(1) emulation to less(1) 2021-07-07 20:01:15 +04:30
etc Applets: Add a network graph applet 2022-04-03 09:49:08 -07:00
home/anon Base: Add a Ladyball .obj :^) 2022-04-10 12:08:31 +02:00
res LibWeb: Allow multiple text-decoration-lines 2022-04-14 21:54:10 +02:00
root Base: Remove TelnetServer and WebServer from the generated manpage list 2022-02-28 20:30:35 +02:00
usr LibCore+Base: Hide empty options sections in manpages 2022-04-06 11:39:08 +02:00
www Base: Improve default WebServer pages 2022-02-23 21:28:17 +00:00
.gitignore Base: Unignore all files by default 2022-03-24 20:11:39 -07:00