mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +00:00
Revert "LibWeb/CSS: Implement 'background-blend-mode'"
This reverts commit a73cd88f0c
.
Emitting SaveLayer for each paintable made rasterization a lot slower
on every website because now Skia has to allocate enormous amounts of
temporary surfaces. Let's revert it for now and figure how to implement
it with less aggressive SaveLayer usage.
This commit is contained in:
parent
2462a6b0fa
commit
552dd18696
Notes:
github-actions[bot]
2025-03-28 16:49:06 +00:00
Author: https://github.com/kalenikaliaksandr
Commit: 552dd18696
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4141
27 changed files with 199 additions and 303 deletions
|
@ -296,7 +296,6 @@ struct BackgroundLayerData {
|
|||
CSS::LengthPercentage size_y { CSS::Length::make_auto() };
|
||||
CSS::Repeat repeat_x { CSS::Repeat::Repeat };
|
||||
CSS::Repeat repeat_y { CSS::Repeat::Repeat };
|
||||
CSS::MixBlendMode blend_mode { CSS::MixBlendMode::Normal };
|
||||
};
|
||||
|
||||
struct BorderData {
|
||||
|
|
|
@ -443,7 +443,6 @@ Parser::ParseErrorOr<NonnullRefPtr<CSSStyleValue>> Parser::parse_css_value(Prope
|
|||
return parsed_value.release_nonnull();
|
||||
return ParseError::SyntaxError;
|
||||
case PropertyID::BackgroundAttachment:
|
||||
case PropertyID::BackgroundBlendMode:
|
||||
case PropertyID::BackgroundClip:
|
||||
case PropertyID::BackgroundImage:
|
||||
case PropertyID::BackgroundOrigin:
|
||||
|
|
|
@ -327,14 +327,6 @@
|
|||
"background-attachment"
|
||||
]
|
||||
},
|
||||
"background-blend-mode": {
|
||||
"animation-type": "none",
|
||||
"inherited": false,
|
||||
"initial": "normal",
|
||||
"valid-types": [
|
||||
"mix-blend-mode"
|
||||
]
|
||||
},
|
||||
"background-clip": {
|
||||
"affects-layout": false,
|
||||
"animation-type": "repeatable-list",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue