ladybird/Userland/Libraries/LibWeb/CSS
Andreas Kling 4cbec00c44 LibWeb: Actually check if percentage used flex basis is definite
Previously, we considered all LengthPercentage values for used flex
basis to be definite. This is not accurate, as percentages should only
be considered definite if the reference value they resolve against is
a definite size.

Fix this by checking the flex container's main definite size flag.
2022-07-26 01:53:41 +02:00
..
Parser LibWeb: Parse the -webkit-progress-bar/value pseudo elements 2022-07-23 01:45:49 +02: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 LibWeb: Implement CSS Angle class 2022-02-24 08:04:25 +01:00
ComputedValues.h LibWeb: Actually check if percentage used flex basis is definite 2022-07-26 01:53:41 +02:00
CSSConditionRule.cpp Libraries: Use default constructors/destructors in LibWeb 2022-03-17 17:23:49 +00:00
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 LibWeb: Implement initial CSSFontFaceRule and FontFace classes 2022-03-28 22:25:25 +02:00
CSSFontFaceRule.h Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
CSSFontFaceRule.idl LibWeb: Implement initial CSSFontFaceRule and FontFace classes 2022-03-28 22:25:25 +02:00
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 LibWeb: Add imports to all IDL files that depend on others 2022-02-16 22:48:32 +03:30
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 Libraries: Use default constructors/destructors in LibWeb 2022-03-17 17:23:49 +00:00
CSSStyleRule.h Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
CSSStyleRule.idl LibWeb: Add imports to all IDL files that depend on others 2022-02-16 22:48:32 +03:30
CSSStyleSheet.cpp LibWeb: Implement CSSRule.parentRule and .parentStyleSheet 2022-05-11 20:16:10 +02:00
CSSStyleSheet.h LibWeb: Spec-comment parse_a_stylesheet() 2022-03-30 18:43:07 +02:00
CSSStyleSheet.idl LibWeb: Add imports to all IDL files that depend on others 2022-02-16 22:48:32 +03:30
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: Tidy up <progress> element default CSS 2022-07-24 13:31:01 +01:00
Display.cpp LibWeb: Don't crash on unknown CSS display types, fall back to inline 2022-02-13 01:03:49 +01:00
Display.h LibWeb: Fix typo in CSS::Display::is_outside_and_inside() name 2022-04-13 16:40:46 +02:00
Enums.json LibWeb: Implement appearance CSS property 2022-07-23 01:45:49 +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 LibWeb: Implement CSS Frequency class 2022-02-24 08:04:25 +01:00
Frequency.h LibWeb: Implement CSS Frequency class 2022-02-24 08:04:25 +01:00
GeneralEnclosed.h
Identifiers.json LibWeb: Implement appearance CSS property 2022-07-23 01:45:49 +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 LibWeb: Add missing MEDIAQUERIES-5 media-features 2022-03-16 22:07:53 +01:00
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 Libraries: Use default constructors/destructors in LibWeb 2022-03-17 17:23:49 +00:00
MediaQueryList.h Libraries: Use default constructors/destructors in LibWeb 2022-03-17 17:23:49 +00:00
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 LibWeb: Stop handling impossible Percentage return values 2022-07-21 16:36:08 +02:00
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: Implement appearance CSS property 2022-07-23 01:45:49 +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 LibWeb: Implement CSS Resolution class 2022-02-24 08:04:25 +01:00
Resolution.h LibWeb: Implement CSS Resolution class 2022-02-24 08:04:25 +01:00
ResolvedCSSStyleDeclaration.cpp LibWeb: Handle transform in style_value_for_property() 2022-07-21 16:36:08 +02:00
ResolvedCSSStyleDeclaration.h LibWeb: Implement CSSStyleDeclaration.{set,remove}Property close to spec 2022-04-11 21:10:07 +02:00
Screen.cpp LibWeb: Move Window from DOM directory & namespace to HTML 2022-03-08 00:30:30 +01:00
Screen.h LibWeb: Move Window from DOM directory & namespace to HTML 2022-03-08 00:30:30 +01:00
Screen.idl
Selector.cpp LibWeb: Parse the -webkit-progress-bar/value pseudo elements 2022-07-23 01:45:49 +02:00
Selector.h LibWeb: Parse the -webkit-progress-bar/value pseudo elements 2022-07-23 01:45:49 +02:00
SelectorEngine.cpp LibWeb: Use lowercase type selectors to match against html elements 2022-07-04 12:39:48 +02:00
SelectorEngine.h LibWeb: Match styles for pseudo-elements 2022-02-25 19:35:34 +01:00
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 LibWeb: Blockify inline-flex to flex 2022-07-19 15:40:41 +02:00
StyleComputer.h LibWeb: Move ComponentValue to CSS::Parser namespace 2022-04-12 23:03:46 +02:00
StyleProperties.cpp LibWeb: Implement appearance CSS property 2022-07-23 01:45:49 +02:00
StyleProperties.h LibWeb: Implement appearance CSS property 2022-07-23 01:45:49 +02:00
StyleSheet.cpp
StyleSheet.h LibWeb: Add the StyleSheet.href attribute 2022-03-09 19:56:08 +01:00
StyleSheet.idl LibWeb: Add the StyleSheet.href attribute 2022-03-09 19:56:08 +01:00
StyleSheetList.cpp LibWeb: Load fonts from style sheet once when sheet is added 2022-04-08 21:27:35 +02:00
StyleSheetList.h LibWeb: Remove unused StyleSheetList::m_generation 2022-03-29 16:35:46 +02:00
StyleSheetList.idl LibWeb: Add imports to all IDL files that depend on others 2022-02-16 22:48:32 +03:30
StyleValue.cpp LibWeb: Stop handling impossible Percentage return values 2022-07-21 16:36:08 +02:00
StyleValue.h LibWeb: Add helper methods for checking a calc()'s resolved type 2022-07-21 16:36:08 +02: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 LibWeb: Implement CSS Time class 2022-02-24 08:04:25 +01:00
Time.h LibWeb: Implement CSS Time class 2022-02-24 08:04:25 +01:00
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