mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 08:08:43 +00:00
LibWeb: Don't paint text fragments with CSS visibility:hidden
We *could* even skip creating a paintable for hidden nodes, but that means that dynamic updates to the CSS visibility property would require mutating the paint tree, so let's keep it simple for now.
This commit is contained in:
parent
2e9aec984c
commit
349b17cc7a
Notes:
github-actions[bot]
2024-08-25 01:15:24 +00:00
Author: https://github.com/awesomekling
Commit: 349b17cc7a
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1180
3 changed files with 6 additions and 0 deletions
2
Tests/LibWeb/Ref/inline-visibility-hidden.html
Normal file
2
Tests/LibWeb/Ref/inline-visibility-hidden.html
Normal file
|
@ -0,0 +1,2 @@
|
|||
<link rel="match" href="reference/inline-visibility-hidden-ref.html" />
|
||||
<span>hello friends<span style="visibility: hidden"> and enemies</span></span>
|
|
@ -0,0 +1 @@
|
|||
<span>hello friends</span>
|
Loading…
Add table
Add a link
Reference in a new issue