1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 15:28:11 +00:00

LibWeb: Remove Layout::Node::m_visible and compute it on the fly

This fixes an issue where the value would be out of sync with reality
in anonymous wrapper block boxes, since we forgot to compute m_visible
after assigning the computed values to them.

Fixes #21106
This commit is contained in:
Andreas Kling 2023-09-18 13:08:20 +02:00
parent 0a133ccba4
commit 1f69e9cddf
8 changed files with 32 additions and 9 deletions

View file

@ -0,0 +1,12 @@
<!doctype html>
<link rel="match" href="reference/anonymous-wrapper-css-visibility-ref.html" />
<style>
body {
color: transparent;
}
body:after {
color: black;
display: block;
content: "Visible";
}
</style><body>Hidden