mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-19 15:43:20 +00:00
LibWeb: Clamp calc()'d shadow blur radius to positive values
This commit is contained in:
parent
19e3ddc0c6
commit
004bd3dc8f
Notes:
github-actions[bot]
2025-09-18 14:23:31 +00:00
Author: https://github.com/Calme1709
Commit: 004bd3dc8f
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6208
Reviewed-by: https://github.com/AtkinsSJ ✅
5 changed files with 8 additions and 4 deletions
|
@ -551,6 +551,7 @@ private:
|
|||
DescriptorID descriptor;
|
||||
};
|
||||
enum SpecialContext : u8 {
|
||||
ShadowBlurRadius,
|
||||
TranslateZArgument
|
||||
};
|
||||
using ValueParsingContext = Variant<PropertyID, FunctionContext, DescriptorContext, SpecialContext>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue