mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-11 12:06:07 +00:00
LibWeb: Implement first draft of CSS syntax highlighting :^)
This works at the Token level, which is quick and easy but has drawbacks: We don't know when something is a property name or a value, or if something is part of a selector. But, this works for now.
This commit is contained in:
parent
ecf5368535
commit
38f6140159
Notes:
sideshowbarker
2024-07-18 01:58:52 +09:00
Author: https://github.com/AtkinsSJ
Commit: 38f6140159
Pull-request: https://github.com/SerenityOS/serenity/pull/10563
Reviewed-by: https://github.com/alimpfard ✅
4 changed files with 191 additions and 0 deletions
|
@ -49,6 +49,7 @@ set(SOURCES
|
|||
CSS/StyleSheetList.cpp
|
||||
CSS/StyleValue.cpp
|
||||
CSS/Supports.cpp
|
||||
CSS/SyntaxHighlighter/SyntaxHighlighter.cpp
|
||||
CSS/ValueID.cpp
|
||||
CSS/ValueID.h
|
||||
Cookie/ParsedCookie.cpp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue