mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 04:39:06 +00:00
LibWeb: Deduplicate opacity code in ApplyFilters
The opacity is still being set separately by using ApplyOpacity for both CSS and SVG
This commit is contained in:
parent
ab1cf8f89b
commit
ecdb53cca6
Notes:
github-actions[bot]
2024-11-23 19:22:01 +00:00
Author: https://github.com/gotlougit
Commit: ecdb53cca6
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2248
Reviewed-by: https://github.com/gmta
Reviewed-by: https://github.com/kalenikaliaksandr
Reviewed-by: https://github.com/konradekk
6 changed files with 5 additions and 16 deletions
|
@ -327,7 +327,7 @@ void StackingContext::paint(PaintContext& context) const
|
|||
context.display_list_recorder().push_scroll_frame_id(*paintable_box().scroll_frame_id());
|
||||
}
|
||||
context.display_list_recorder().push_stacking_context(push_stacking_context_params);
|
||||
context.display_list_recorder().apply_filters(opacity, paintable_box().computed_values().filter());
|
||||
context.display_list_recorder().apply_filters(paintable_box().computed_values().filter());
|
||||
|
||||
if (auto mask_image = computed_values.mask_image()) {
|
||||
auto mask_display_list = DisplayList::create();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue