1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 06:47:34 +00:00

LibWeb: Implement <system-color> and <deprecated-color> keywords

The spec allows for these either to be based on the OS, or to be defined
by the browser. Looking at the other browser engines, there's a mix of
the two options. Since we've had issues with using OS colors as
defaults, let's use hard-coded colors for now. Some of these are based
on the definitions in
https://html.spec.whatwg.org/multipage/rendering.html
This commit is contained in:
Sam Atkins 2023-08-23 17:17:15 +01:00 committed by Sam Atkins
parent 1dcd63be05
commit 848ec538c6
5 changed files with 296 additions and 0 deletions

View file

@ -126,6 +126,7 @@ set(SOURCES
CSS/StyleValues/UnresolvedStyleValue.cpp
CSS/Supports.cpp
CSS/SyntaxHighlighter/SyntaxHighlighter.cpp
CSS/SystemColor.cpp
CSS/Time.cpp
CSS/VisualViewport.cpp
Cookie/Cookie.cpp