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:
parent
0a133ccba4
commit
1f69e9cddf
8 changed files with 32 additions and 9 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue