ladybird/Userland/Libraries/LibWeb/CSS/Parser
MacDue ae6c0258a4 LibWeb: Parse the linear-gradient() CSS function
This should parse linear-gradient()s as defined in the W3 spec
https://drafts.csswg.org/css-images/#linear-gradients.

Note: This currently cannot parse multi-position color stops,
these are shown on MDN and work in Firefox and Chrome, though do
not seem to be defined in the spec.

See: https://developer.mozilla.org/en-US/docs/Web/CSS/gradient/linear-gradient#gradient_with_multi-position_color_stops

P.s. This also allows -webkit-linear-gradient for compatibility.
2022-07-17 20:11:38 +01:00
..
Block.cpp Everywhere: Replace single-char StringView op. arguments with chars 2022-07-12 23:11:35 +02:00
Block.h LibWeb: Break friendship between CSS Block and Parser 2022-04-12 23:03:46 +02:00
ComponentValue.cpp LibWeb: Print correct value types in ComponentValue debug string 2022-06-10 22:32:29 +01:00
ComponentValue.h LibWeb: Add missing include to ComponentValue.h 2022-04-12 23:03:46 +02:00
Declaration.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
Declaration.h LibWeb: Break friendship between CSS Declaration and Parser 2022-04-12 23:03:46 +02:00
DeclarationOrAtRule.cpp LibWeb: Rename StyleRule -> Rule 2022-04-12 23:03:46 +02:00
DeclarationOrAtRule.h LibWeb: Rename StyleRule -> Rule 2022-04-12 23:03:46 +02:00
Function.cpp Everywhere: Replace single-char StringView op. arguments with chars 2022-07-12 23:11:35 +02:00
Function.h LibWeb: Break friendship between CSS Function and Parser 2022-04-12 23:03:46 +02:00
Parser.cpp LibWeb: Parse the linear-gradient() CSS function 2022-07-17 20:11:38 +01:00
Parser.h LibWeb: Parse the linear-gradient() CSS function 2022-07-17 20:11:38 +01:00
Rule.cpp Everywhere: Replace single-char StringView op. arguments with chars 2022-07-12 23:11:35 +02:00
Rule.h LibWeb: Rename StyleRule -> Rule 2022-04-12 23:03:46 +02:00
Token.cpp LibWeb: Include sign in token debug info, if the type has explicit sign 2022-05-08 16:29:06 +02:00
Token.h LibWeb: Move Token and Tokenizer into Parser namespace 2022-04-12 23:03:46 +02:00
Tokenizer.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
Tokenizer.h LibWeb: Move Token and Tokenizer into Parser namespace 2022-04-12 23:03:46 +02:00