diff options
author | FalseHonesty <thefalsehonesty@gmail.com> | 2020-05-25 14:54:27 -0400 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-05-26 10:17:50 +0200 |
commit | b352a6b59d5deb10fb1a29b0b521439b3823e7e3 (patch) | |
tree | ab9ca0448194b3b9c81efe9aece5aa6c2429a8b0 /Base/home | |
parent | 6a74af80638d183a9eafc57203c577230f60ce0e (diff) | |
download | serenity-b352a6b59d5deb10fb1a29b0b521439b3823e7e3.zip |
LibWeb: Implement vendor specific CSS color style for System Palette
Add "-libweb-palette-foo-bar" CSS color properties to allow CSS to
style itself using the currently selected System Theme.
Diffstat (limited to 'Base/home')
-rw-r--r-- | Base/home/anon/www/palette.html | 9 | ||||
-rw-r--r-- | Base/home/anon/www/welcome.html | 1 |
2 files changed, 10 insertions, 0 deletions
diff --git a/Base/home/anon/www/palette.html b/Base/home/anon/www/palette.html new file mode 100644 index 0000000000..2fe2551021 --- /dev/null +++ b/Base/home/anon/www/palette.html @@ -0,0 +1,9 @@ +<!DOCTYPE html> +<html> +<head> + <title>System palette css test</title> +</head> +<body> +<p style="color: -libweb-palette-syntax-identifier">All of my text should be the identifier color</p> +</body> +</html> diff --git a/Base/home/anon/www/welcome.html b/Base/home/anon/www/welcome.html index adb12f2f03..4a7fa634ce 100644 --- a/Base/home/anon/www/welcome.html +++ b/Base/home/anon/www/welcome.html @@ -28,6 +28,7 @@ span#ua { <p>Your user agent is: <b><span id="ua"></span></b></p> <p>Some small test pages:</p> <ul> + <li><a href="palette.html">system palette color css extension</a></li> <li><a href="inline-block-link.html">link inside display: inline-block</a></li> <li><a href="set-interval.html">setInterval() test</a></li> <li><a href="html-escape-test.html">html character escape test</a></li> |