1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:47:34 +00:00

LibWeb: Paint inline-level and replaced elements on top of floats

This matches CSS 2.1 appendix E, and fixes an instance of red face
border on ACID2. :^)
This commit is contained in:
Andreas Kling 2022-02-14 16:39:45 +01:00
parent f2a917229a
commit f4625ed9de
2 changed files with 16 additions and 2 deletions

View file

@ -21,6 +21,7 @@ public:
enum class StackingContextPaintPhase {
BackgroundAndBorders,
Floats,
BackgroundAndBordersForInlineLevelAndReplaced,
Foreground,
FocusAndOverlay,
};