mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
LibWeb: Don't early return when masking area of StackingContext is empty
An early return was occurring between the emission of PushStackingContext and PopStackingContext, resulting in a PushStackingContext without a corresponding PopStackingContext in the display list, which caused broken painting. Fixes black screen on Discord login page.
This commit is contained in:
committed by
Jelle Raaijmakers
parent
7efdd1c1ec
commit
39fff3cf8a
Notes:
github-actions[bot]
2025-06-05 22:53:19 +00:00
Author: https://github.com/kalenikaliaksandr Commit: https://github.com/LadybirdBrowser/ladybird/commit/39fff3cf8a4 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5015 Reviewed-by: https://github.com/gmta ✅
11
Tests/LibWeb/Ref/expected/clip-path.html
Normal file
11
Tests/LibWeb/Ref/expected/clip-path.html
Normal file
@@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<style>
|
||||
* {
|
||||
margin: 0;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<div style="width: 100px; height: 100px; background-color: green"></div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user