1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 06:48:12 +00:00
serenity/Userland/Libraries/LibWeb/CSS/Parser
MacDue ca2e345cdc LibWeb: Support -webkit-linear-gradient() correctly
The -webkit version of linear-gradient does not include the `to`
before a <side or corner>. The angles of the <side or corner>
for the webkit version are also opposite that of the standard one.

So for the standard: linear-gradient(to left, red, blue)
The webkit version is: -webkit-linear-gradient(right, red, blue)

Adding the `to` in the -webkit version is invalid, omitting it in
the standard one is also invalid.
2022-08-07 20:47:31 +02: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: Support -webkit-linear-gradient() correctly 2022-08-07 20:47:31 +02: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