ladybird/Userland/Libraries/LibWeb/CSS
Andreas Kling 0843960235 LibWeb: Use CSS::Size for computed size and max-size values
This patch changes the *computed* representation of the following CSS
properties to use CSS::Size:

- width, min-width, max-width
- height, min-height, max-height

A few things had to change in order for things to keep working,
but I tried to keep the diff to a minimum.

The main trouble was that `min-width` and `max-width` can't actually be
`auto`, but they *can* be `none`. We previously treated `auto` as a
valid value (and it behaved mostly like `none`).
2022-09-25 17:51:43 +02:00
..
Parser LibWeb: Avoid unnecessary copies in CSS Parser 2022-09-22 02:04:23 +02:00
SyntaxHighlighter
Angle.cpp
Angle.h
BackdropFilter.h LibWeb: Plumb style/computed values for backdrop-filter 2022-09-16 10:50:48 +01:00
Clip.cpp
Clip.h
ComputedValues.h LibWeb: Use CSS::Size for computed size and max-size values 2022-09-25 17:51:43 +02:00
CSSConditionRule.cpp
CSSConditionRule.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
CSSConditionRule.idl
CSSFontFaceRule.cpp LibWeb: Add partial serialization for CSSFontFaceRule 2022-09-14 10:50:33 +01:00
CSSFontFaceRule.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
CSSFontFaceRule.idl
CSSGroupingRule.cpp
CSSGroupingRule.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
CSSGroupingRule.idl
CSSImportRule.cpp
CSSImportRule.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
CSSImportRule.idl
CSSMediaRule.cpp
CSSMediaRule.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
CSSMediaRule.idl
CSSRule.cpp
CSSRule.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
CSSRule.idl
CSSRuleList.cpp
CSSRuleList.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
CSSRuleList.idl
CSSStyleDeclaration.cpp LibWeb: Remove no-op impl() methods from the WEB_PLATFORM_OBJECT macro 2022-09-21 21:12:24 +01:00
CSSStyleDeclaration.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
CSSStyleDeclaration.idl
CSSStyleRule.cpp
CSSStyleRule.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
CSSStyleRule.idl
CSSStyleSheet.cpp
CSSStyleSheet.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
CSSStyleSheet.idl
CSSSupportsRule.cpp
CSSSupportsRule.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
CSSSupportsRule.idl
Default.css LibWeb: Don't set initial font+color on both HTML and BODY elements 2022-09-15 16:16:56 +02:00
Display.cpp
Display.h
Enums.json
FontFace.cpp
FontFace.h
Frequency.cpp
Frequency.h
GeneralEnclosed.h
GridTrackPlacement.cpp LibWeb: Allow having auto GridTrackPlacements 2022-09-14 00:09:14 +02:00
GridTrackPlacement.h LibWeb: Allow having auto GridTrackPlacements 2022-09-14 00:09:14 +02:00
GridTrackSize.cpp LibWeb: Resolve cyclic declaration/definitions involving Length 2022-09-15 14:45:38 +01:00
GridTrackSize.h LibWeb: Resolve cyclic declaration/definitions involving Length 2022-09-15 14:45:38 +01:00
Identifiers.json LibWeb: Teach CSS::StyleProperties to create CSS::Size values 2022-09-25 17:51:43 +02:00
Length.cpp LibWeb: Resolve cyclic declaration/definitions involving Length 2022-09-15 14:45:38 +01:00
Length.h LibWeb: Resolve cyclic declaration/definitions involving Length 2022-09-15 14:45:38 +01:00
LengthBox.cpp LibWeb: Resolve cyclic declaration/definitions involving Length 2022-09-15 14:45:38 +01:00
LengthBox.h LibWeb: Resolve cyclic declaration/definitions involving Length 2022-09-15 14:45:38 +01:00
LinkStyle.idl
MediaFeatures.json
MediaList.cpp
MediaList.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
MediaList.idl
MediaQuery.cpp
MediaQuery.h
MediaQueryList.cpp LibWeb: Move CallbackType from Bindings/ to WebIDL/ 2022-09-24 19:31:39 +01:00
MediaQueryList.h LibWeb: Move CallbackType from Bindings/ to WebIDL/ 2022-09-24 19:31:39 +01:00
MediaQueryList.idl
MediaQueryListEvent.cpp
MediaQueryListEvent.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
MediaQueryListEvent.idl
Number.h LibWeb: Add operator== to CSS::Number 2022-09-16 10:50:48 +01:00
Percentage.cpp
Percentage.h LibWeb: Add NumberPercentage CSS type 2022-09-16 10:50:48 +01:00
PreferredColorScheme.cpp
PreferredColorScheme.h
Properties.json LibWeb+Meta: Parse the backdrop-filter CSS property 2022-09-16 10:50:48 +01:00
QuirksMode.css LibWeb: Flesh out the default "quirks mode" style sheet 2022-09-20 14:48:07 +02:00
Ratio.cpp
Ratio.h
Resolution.cpp
Resolution.h
ResolvedCSSStyleDeclaration.cpp LibWeb: Use CSS::Size for computed size and max-size values 2022-09-25 17:51:43 +02:00
ResolvedCSSStyleDeclaration.h
Screen.cpp
Screen.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
Screen.idl
Selector.cpp
Selector.h LibWeb: Cache lowercased names in SimpleSelector 2022-09-15 16:16:56 +02:00
SelectorEngine.cpp LibWeb: Cache lowercased names in SimpleSelector 2022-09-15 16:16:56 +02:00
SelectorEngine.h
Serialize.cpp LibWeb: Add partial serialization for CSSFontFaceRule 2022-09-14 10:50:33 +01:00
Serialize.h LibWeb: Add partial serialization for CSSFontFaceRule 2022-09-14 10:50:33 +01:00
Size.cpp LibWeb: Add CSS::Size to represent the full range of CSS size values 2022-09-25 17:51:43 +02:00
Size.h LibWeb: Add CSS::Size to represent the full range of CSS size values 2022-09-25 17:51:43 +02:00
StyleComputer.cpp LibWeb: Get default fonts via Platform::FontPlugin 2022-09-17 21:27:32 +02:00
StyleComputer.h
StyleProperties.cpp LibWeb: Teach CSS::StyleProperties to create CSS::Size values 2022-09-25 17:51:43 +02:00
StyleProperties.h LibWeb: Teach CSS::StyleProperties to create CSS::Size values 2022-09-25 17:51:43 +02:00
StyleSheet.cpp
StyleSheet.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
StyleSheet.idl
StyleSheetList.cpp LibWeb: Keep CSS sheets sorted in document tree order 2022-09-09 15:20:10 +02:00
StyleSheetList.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
StyleSheetList.idl
StyleValue.cpp LibWeb: Add FilterValueListStyleValue 2022-09-16 10:50:48 +01:00
StyleValue.h LibWeb: Add FilterValueListStyleValue 2022-09-16 10:50:48 +01:00
Supports.cpp
Supports.h
Time.cpp
Time.h
TransformFunctions.json
UnicodeRange.h LibWeb: Add missing includes 2022-09-18 13:27:24 -04:00