ladybird/Libraries/LibWeb/CSS
Aliaksandr Kalenik c7d6a7aafb LibWeb: Insert default font in font list before emoji font
This fixes a bug where, if a non-existent font family is specified in
CSS, whitespaces would be rendered using the emoji font, while letters
would use the default font. This issue occurred because the font was
resolved separately for each code point. Since the emoji font was listed
before the default font, it was chosen for whitespace characters due to
its inclusion of whitespace glyphs (at least in the Apple Color Emoji
font on macOS). This change resolves the issue by placing the default
font before the emoji font in the list.
2025-01-02 10:47:21 +01:00
..
Parser LibWeb: Parse background positions as shorthands 2024-12-30 11:07:53 +01:00
StyleValues LibWeb/CSS: Use CSSNumericType for CalculationResult's numeric type 2024-12-21 18:14:28 +01:00
SyntaxHighlighter
Angle.cpp Revert "LibWeb/CSS: Rename CalculatedStyleValue -> CSSMathValue" 2024-12-21 18:14:28 +01:00
Angle.h Revert "LibWeb/CSS: Rename CalculatedStyleValue -> CSSMathValue" 2024-12-21 18:14:28 +01:00
AnimationEvent.cpp LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
AnimationEvent.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
AnimationEvent.idl
CalculatedOr.cpp Revert "LibWeb/CSS: Rename CalculatedStyleValue -> CSSMathValue" 2024-12-21 18:14:28 +01:00
CalculatedOr.h Revert "LibWeb/CSS: Rename CalculatedStyleValue -> CSSMathValue" 2024-12-21 18:14:28 +01:00
CascadedProperties.cpp LibWeb: Split StyleComputer work into two phases with separate outputs 2024-12-22 10:12:49 +01:00
CascadedProperties.h LibWeb: Split StyleComputer work into two phases with separate outputs 2024-12-22 10:12:49 +01:00
CascadeOrigin.h LibWeb: Split StyleComputer work into two phases with separate outputs 2024-12-22 10:12:49 +01:00
CharacterTypes.h LibWeb: Move CSS character type definitions to new header 2024-12-02 16:19:47 +00:00
Clip.cpp
Clip.h
ColumnCount.h Everywhere: Run clang-format 2024-12-28 05:39:32 -08:00
ComputedProperties.cpp LibWeb+LibWebView: Allow to specify default font size in FontPlugin 2025-01-02 10:47:21 +01:00
ComputedProperties.h LibWeb+LibWebView: Allow to specify default font size in FontPlugin 2025-01-02 10:47:21 +01:00
ComputedValues.h LibWeb+LibGfx: Refactor CSS filters into LibGfx 2024-12-18 18:54:20 +01:00
CountersSet.cpp
CountersSet.h
CSS.cpp LibWeb: Stop passing Realm unnecessarily to parse CSS properties 2024-12-05 19:59:57 +01:00
CSS.h
CSS.idl
CSSAnimation.cpp LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
CSSAnimation.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
CSSAnimation.idl
CSSConditionRule.cpp
CSSConditionRule.h
CSSConditionRule.idl
CSSFontFaceRule.cpp LibURL+LibWeb: Make URL::serialize return a String 2024-12-04 16:34:13 +00:00
CSSFontFaceRule.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
CSSFontFaceRule.idl
CSSGroupingRule.cpp
CSSGroupingRule.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
CSSGroupingRule.idl
CSSImportRule.cpp LibWeb/CSS: Use fetch for CSS import rules 2024-12-22 12:30:09 +01:00
CSSImportRule.h LibWeb/CSS: Use fetch for CSS import rules 2024-12-22 12:30:09 +01:00
CSSImportRule.idl
CSSKeyframeRule.cpp LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
CSSKeyframeRule.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
CSSKeyframeRule.idl
CSSKeyframesRule.cpp LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
CSSKeyframesRule.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
CSSKeyframesRule.idl
CSSLayerBlockRule.cpp LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
CSSLayerBlockRule.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
CSSLayerBlockRule.idl
CSSLayerStatementRule.cpp LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
CSSLayerStatementRule.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
CSSLayerStatementRule.idl
CSSMediaRule.cpp LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
CSSMediaRule.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
CSSMediaRule.idl
CSSNamespaceRule.cpp LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
CSSNamespaceRule.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
CSSNamespaceRule.idl
CSSNestedDeclarations.cpp LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
CSSNestedDeclarations.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
CSSNestedDeclarations.idl
CSSNumericType.cpp LibWeb: Check if types have a present and nonzero percentage value 2024-12-30 11:09:15 +01:00
CSSNumericType.h LibWeb/CSS: Bring CSSNumericType algorithms up to date with spec 2024-12-21 18:14:28 +01:00
CSSPropertyRule.cpp LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
CSSPropertyRule.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
CSSPropertyRule.idl
CSSRule.cpp
CSSRule.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
CSSRule.idl
CSSRuleList.cpp LibGC: Rename MarkedVector => RootVector 2024-12-26 19:10:44 +01:00
CSSRuleList.h LibGC: Rename MarkedVector => RootVector 2024-12-26 19:10:44 +01:00
CSSRuleList.idl
CSSStyleDeclaration.cpp LibWeb: Serialize resolved CSS values in dedicated serialization mode 2024-12-07 08:31:03 +00:00
CSSStyleDeclaration.h LibWeb: Serialize resolved CSS values in dedicated serialization mode 2024-12-07 08:31:03 +00:00
CSSStyleDeclaration.idl LibWeb: Generate IDL attributes for all supported CSS properties 2024-11-14 19:50:22 +01:00
CSSStyleRule.cpp LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
CSSStyleRule.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
CSSStyleRule.idl
CSSStyleSheet.cpp LibGC: Rename MarkedVector => RootVector 2024-12-26 19:10:44 +01:00
CSSStyleSheet.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
CSSStyleSheet.idl
CSSStyleValue.cpp LibWeb/CSS: Remove unnecessary CalculatedStyleValue const-casts 2024-12-21 18:14:28 +01:00
CSSStyleValue.h Revert "LibWeb/CSS: Rename CalculatedStyleValue -> CSSMathValue" 2024-12-21 18:14:28 +01:00
CSSSupportsRule.cpp LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
CSSSupportsRule.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
CSSSupportsRule.idl
CSSTransition.cpp LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
CSSTransition.h LibWeb/DOM: Fire transition[cancel,start,run,end] events 2024-12-25 17:14:08 +01:00
CSSTransition.idl
Default.css LibWeb/CSS: Add overflow hidden to UA stylesheet for marquee element 2024-12-28 11:18:25 +00:00
Display.cpp LibWeb: Make CSS display serialization match other engines 2024-11-15 14:46:09 +01:00
Display.h
EasingFunctions.json
EdgeRect.cpp
EdgeRect.h
ElementCSSInlineStyle.idl
Enums.json LibWeb: Add font-variant-* css properties 2024-12-17 19:07:13 +01:00
Fetch.cpp LibWeb/CSS: Implement "fetch a style resource" algorithm 2024-12-22 12:30:09 +01:00
Fetch.h LibWeb/CSS: Implement "fetch a style resource" algorithm 2024-12-22 12:30:09 +01:00
Filter.h Everywhere: Run clang-format 2024-12-28 05:39:32 -08:00
Flex.cpp
Flex.h
FontFace.cpp LibWeb: Add mode flag to CSSStyleValue::to_string() 2024-12-07 08:31:03 +00:00
FontFace.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
FontFace.idl
FontFaceSet.cpp LibGC: Rename MarkedVector => RootVector 2024-12-26 19:10:44 +01:00
FontFaceSet.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
FontFaceSet.idl
Frequency.cpp Revert "LibWeb/CSS: Rename CalculatedStyleValue -> CSSMathValue" 2024-12-21 18:14:28 +01:00
Frequency.h Revert "LibWeb/CSS: Rename CalculatedStyleValue -> CSSMathValue" 2024-12-21 18:14:28 +01:00
GeneralEnclosed.h
GridTrackPlacement.cpp
GridTrackPlacement.h Everywhere: Run clang-format 2024-12-28 05:39:32 -08:00
GridTrackSize.cpp
GridTrackSize.h
Interpolation.cpp Revert "LibWeb/CSS: Rename CalculatedStyleValue -> CSSMathValue" 2024-12-21 18:14:28 +01:00
Interpolation.h
Keywords.json LibWeb: Add font-variant-* css properties 2024-12-17 19:07:13 +01:00
Length.cpp Revert "LibWeb/CSS: Rename CalculatedStyleValue -> CSSMathValue" 2024-12-21 18:14:28 +01:00
Length.h Revert "LibWeb/CSS: Rename CalculatedStyleValue -> CSSMathValue" 2024-12-21 18:14:28 +01:00
LengthBox.cpp
LengthBox.h Revert "LibWeb/CSS: Rename CalculatedStyleValue -> CSSMathValue" 2024-12-21 18:14:28 +01:00
LinkStyle.idl
MathFunctions.json LibWeb/CSS: Use CSSNumericType for CalculationResult's numeric type 2024-12-21 18:14:28 +01:00
MediaFeatures.json
MediaList.cpp LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
MediaList.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
MediaList.idl
MediaQuery.cpp LibWeb: Add mode flag to CSSStyleValue::to_string() 2024-12-07 08:31:03 +00:00
MediaQuery.h LibWeb/CSS: Allow calc() values in media queries 2024-12-04 12:26:50 +00:00
MediaQueryList.cpp LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
MediaQueryList.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
MediaQueryList.idl
MediaQueryListEvent.cpp LibWeb/CSS: Create a MediaQueryListEvent when calling MQLE::create() 2024-12-25 11:56:37 +01:00
MediaQueryListEvent.h LibWeb/CSS: Create a MediaQueryListEvent when calling MQLE::create() 2024-12-25 11:56:37 +01:00
MediaQueryListEvent.idl
Number.h
ParsedFontFace.cpp
ParsedFontFace.h LibGfx: Return family names by reference to avoid unnecessairy cloning 2024-11-20 15:38:03 +01:00
Percentage.h
PercentageOr.cpp
PercentageOr.h Revert "LibWeb/CSS: Rename CalculatedStyleValue -> CSSMathValue" 2024-12-21 18:14:28 +01:00
PreferredColorScheme.cpp
PreferredColorScheme.h
PreferredContrast.cpp
PreferredContrast.h
PreferredMotion.cpp
PreferredMotion.h
Properties.json LibWeb: Add font-variant-* css properties 2024-12-17 19:07:13 +01:00
PropertyName.h
PseudoClasses.json LibWeb: Implement popover methods 2024-12-06 12:39:14 +00:00
QuirksMode.css
Ratio.cpp
Ratio.h
Resolution.cpp
Resolution.h
ResolvedCSSStyleDeclaration.cpp LibWeb: Make CSS::ComputedProperties GC-allocated 2024-12-22 10:12:49 +01:00
ResolvedCSSStyleDeclaration.h LibWeb: Serialize resolved CSS values in dedicated serialization mode 2024-12-07 08:31:03 +00:00
Screen.cpp LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
Screen.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
Screen.idl LibWeb: Update Screen IDL definition to not inherit from EventTarget 2024-11-26 18:44:26 +01:00
ScreenOrientation.cpp LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
ScreenOrientation.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
ScreenOrientation.idl
Selector.cpp LibWeb: Implement ::details-content pseudo element 2024-12-06 07:16:41 +00:00
Selector.h LibWeb: Handle special cases of PseudoElement::Type correctly 2024-12-19 19:35:57 +00:00
SelectorEngine.cpp LibWeb: Fix selector matching for non-HTML mixed-case element names 2024-12-25 13:54:06 +00:00
SelectorEngine.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
Serialize.cpp LibWeb/CSS: Shorten the length of srgb serialization 2024-12-04 11:30:44 +00:00
Serialize.h LibWeb/CSS: Remove unused serialization helpers 2024-12-04 11:30:44 +00:00
Size.cpp Revert "LibWeb/CSS: Rename CalculatedStyleValue -> CSSMathValue" 2024-12-21 18:14:28 +01:00
Size.h Revert "LibWeb/CSS: Rename CalculatedStyleValue -> CSSMathValue" 2024-12-21 18:14:28 +01:00
Sizing.cpp
Sizing.h
StyleComputer.cpp LibWeb: Insert default font in font list before emoji font 2025-01-02 10:47:21 +01:00
StyleComputer.h LibWeb: Skip unneeded style invalidation on custom element state change 2024-12-25 13:26:51 +01:00
StyleInvalidation.cpp LibWeb: Rename CSS::StyleProperties => CSS::ComputedProperties 2024-12-22 10:12:49 +01:00
StyleInvalidation.h
StyleProperty.cpp
StyleProperty.h
StyleSheet.cpp
StyleSheet.h LibWeb/CSS: Expose CSSStyleSheet's origin clean flag 2024-12-22 12:30:09 +01:00
StyleSheet.idl
StyleSheetIdentifier.cpp
StyleSheetIdentifier.h
StyleSheetList.cpp LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
StyleSheetList.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
StyleSheetList.idl
Supports.cpp
Supports.h LibWeb: Fix incorrect spec link for the @supports rule 2024-11-23 18:44:38 +00:00
SystemColor.cpp
SystemColor.h
Time.cpp Revert "LibWeb/CSS: Rename CalculatedStyleValue -> CSSMathValue" 2024-12-21 18:14:28 +01:00
Time.h Revert "LibWeb/CSS: Rename CalculatedStyleValue -> CSSMathValue" 2024-12-21 18:14:28 +01:00
Transformation.cpp
Transformation.h
TransformFunctions.json
TransitionEvent.cpp LibWeb/CSS: Add the TransitionEvent type 2024-12-25 17:14:08 +01:00
TransitionEvent.h LibWeb/CSS: Add the TransitionEvent type 2024-12-25 17:14:08 +01:00
TransitionEvent.idl LibWeb/CSS: Add the TransitionEvent type 2024-12-25 17:14:08 +01:00
VisualViewport.cpp LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
VisualViewport.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
VisualViewport.idl