mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 08:28:11 +00:00
![]() 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. |
||
---|---|---|
.. | ||
bin | ||
etc | ||
home/anon | ||
res | ||
root | ||
usr | ||
www | ||
.gitignore |