ladybird/Userland/Libraries/LibWeb/CSS
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
..
Parser LibWeb: Parse the linear-gradient() CSS function 2022-07-17 20:11:38 +01:00
SyntaxHighlighter LibWeb: Move Token and Tokenizer into Parser namespace 2022-04-12 23:03:46 +02:00
Angle.cpp LibWeb: Fix calculation of degrees from radians 2022-06-15 19:10:43 +01:00
Angle.h
ComputedValues.h LibWeb: Honor align-self over align-items when non-auto on flex item 2022-07-12 02:46:21 +02:00
CSSConditionRule.cpp
CSSConditionRule.h LibWeb: Add CSSConditionRule wrapper 2022-05-11 20:16:10 +02:00
CSSConditionRule.idl LibWeb: Add CSSConditionRule wrapper 2022-05-11 20:16:10 +02:00
CSSFontFaceRule.cpp
CSSFontFaceRule.h Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
CSSFontFaceRule.idl
CSSGroupingRule.cpp LibWeb: Implement CSSRule.parentRule and .parentStyleSheet 2022-05-11 20:16:10 +02:00
CSSGroupingRule.h LibWeb: Implement CSSRule.parentRule and .parentStyleSheet 2022-05-11 20:16:10 +02:00
CSSGroupingRule.idl LibWeb: Add CSSGroupingRule wrapper 2022-05-11 20:16:10 +02:00
CSSImportRule.cpp LibWeb: Move CSS Parser into new Web::CSS::Parser namespace 2022-04-12 23:03:46 +02:00
CSSImportRule.h Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
CSSImportRule.idl LibWeb: Add CSSImportRule wrapper 2022-05-11 20:16:10 +02:00
CSSMediaRule.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
CSSMediaRule.h Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
CSSMediaRule.idl LibWeb: Add CSSMediaRule wrapper 2022-05-11 20:16:10 +02:00
CSSRule.cpp LibWeb: Simplify some WeakPtr assignments 2022-07-04 22:30:59 +02:00
CSSRule.h LibWeb: Implement CSSRule.parentRule and .parentStyleSheet 2022-05-11 20:16:10 +02:00
CSSRule.idl LibWeb: Implement CSSRule.parentRule and .parentStyleSheet 2022-05-11 20:16:10 +02:00
CSSRuleList.cpp LibWeb: Hold a strong ref to old_rule in CSSRuleList::remove_a_css_rule 2022-06-11 19:27:09 +01:00
CSSRuleList.h LibWeb: Allow passing StringView to CSSRuleList::insert_a_css_rule() 2022-05-11 20:16:10 +02:00
CSSRuleList.idl
CSSStyleDeclaration.cpp LibWeb: Move CSS Parser into new Web::CSS::Parser namespace 2022-04-12 23:03:46 +02:00
CSSStyleDeclaration.h Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
CSSStyleDeclaration.idl LibWeb: Support CSSStyleDeclaration.getPropertyPriority() 2022-04-11 21:10:07 +02:00
CSSStyleRule.cpp
CSSStyleRule.h Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
CSSStyleRule.idl
CSSStyleSheet.cpp LibWeb: Implement CSSRule.parentRule and .parentStyleSheet 2022-05-11 20:16:10 +02:00
CSSStyleSheet.h
CSSStyleSheet.idl
CSSSupportsRule.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
CSSSupportsRule.h Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
CSSSupportsRule.idl LibWeb: Add CSSSupportsRule wrapper 2022-05-11 20:16:10 +02:00
Default.css LibWeb: Tweak padding on button elements match other engines 2022-07-11 18:57:45 +02:00
Display.cpp
Display.h LibWeb: Fix typo in CSS::Display::is_outside_and_inside() name 2022-04-13 16:40:46 +02:00
Enums.json LibWeb: Honor align-self over align-items when non-auto on flex item 2022-07-12 02:46:21 +02:00
FontFace.cpp LibWeb: Parse @font-face unicode-range descriptor 2022-04-07 21:20:14 +02:00
FontFace.h LibWeb: Understand the format() part of a @font-face's src 2022-04-07 21:20:14 +02:00
Frequency.cpp
Frequency.h
GeneralEnclosed.h
Identifiers.json LibWeb: Honor align-self over align-items when non-auto on flex item 2022-07-12 02:46:21 +02:00
Length.cpp LibWeb: Make non-finite CSS lengths resolve to "auto" 2022-07-06 20:31:19 +02:00
Length.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
LengthBox.h LibWeb: Stop including StyleValue.h in a few places 2022-04-14 14:54:06 +02:00
MediaFeatures.json
MediaList.cpp LibWeb: Add MediaList wrapper 2022-05-11 20:16:10 +02:00
MediaList.h LibWeb: Add MediaList wrapper 2022-05-11 20:16:10 +02:00
MediaList.idl LibWeb: Add MediaList wrapper 2022-05-11 20:16:10 +02:00
MediaQuery.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
MediaQuery.h LibWeb: Extract MediaType to/from_string() logic into functions 2022-04-29 00:07:31 +02:00
MediaQueryList.cpp
MediaQueryList.h
MediaQueryList.idl LibWeb: Replace ad-hoc EventHandler type with callback function typedef 2022-03-31 01:10:47 +02:00
MediaQueryListEvent.h
MediaQueryListEvent.idl
Number.h LibWeb+AudioServer: Remove unused spaceship operators 2022-04-23 10:43:32 -07:00
Percentage.cpp
Percentage.h LibWeb: Add LengthPercentage::is_auto() convenience helper 2022-07-09 22:16:32 +02:00
PreferredColorScheme.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
PreferredColorScheme.h
Properties.json LibWeb: Honor align-self over align-items when non-auto on flex item 2022-07-12 02:46:21 +02:00
QuirksMode.css
Ratio.cpp LibWeb+AudioServer: Remove unused spaceship operators 2022-04-23 10:43:32 -07:00
Ratio.h LibWeb+AudioServer: Remove unused spaceship operators 2022-04-23 10:43:32 -07:00
Resolution.cpp
Resolution.h
ResolvedCSSStyleDeclaration.cpp LibWeb: Make sure CSS::ComputedValues has initial size values 2022-07-09 22:16:35 +02:00
ResolvedCSSStyleDeclaration.h LibWeb: Implement CSSStyleDeclaration.{set,remove}Property close to spec 2022-04-11 21:10:07 +02:00
Screen.cpp
Screen.h
Screen.idl
Selector.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
Selector.h Everywhere: Replace single-char StringView op. arguments with chars 2022-07-12 23:11:35 +02:00
SelectorEngine.cpp LibWeb: Use lowercase type selectors to match against html elements 2022-07-04 12:39:48 +02:00
SelectorEngine.h
Serialize.cpp LibWeb: Add serialize_a_srgb_value() 2022-07-17 20:11:38 +01:00
Serialize.h LibWeb: Add serialize_a_srgb_value() 2022-07-17 20:11:38 +01:00
StyleComputer.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
StyleComputer.h LibWeb: Move ComponentValue to CSS::Parser namespace 2022-04-12 23:03:46 +02:00
StyleProperties.cpp LibWeb: Honor align-self over align-items when non-auto on flex item 2022-07-12 02:46:21 +02:00
StyleProperties.h LibWeb: Honor align-self over align-items when non-auto on flex item 2022-07-12 02:46:21 +02:00
StyleSheet.cpp
StyleSheet.h
StyleSheet.idl
StyleSheetList.cpp LibWeb: Load fonts from style sheet once when sheet is added 2022-04-08 21:27:35 +02:00
StyleSheetList.h
StyleSheetList.idl
StyleValue.cpp LibWeb: Add LinearGradientStyleValue 2022-07-17 20:11:38 +01:00
StyleValue.h LibWeb: Parse the linear-gradient() CSS function 2022-07-17 20:11:38 +01:00
Supports.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
Supports.h LibWeb: Implement @supports serialization 2022-05-11 20:16:10 +02:00
Time.cpp
Time.h
TransformFunctions.json LibWeb: Add code generator for CSS transform functions 2022-04-18 14:16:28 +02:00
UnicodeRange.h LibWeb: Add CSS::UnicodeRange class 2022-04-07 21:20:14 +02:00