mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-08 18:46:03 +00:00
LibWeb: Support content-visibility css
This commit is contained in:
parent
bd72ff5669
commit
020b20d817
Notes:
sideshowbarker
2024-07-19 21:35:47 +09:00
Author: https://github.com/EdwinHoksberg
Commit: 020b20d817
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/267
Reviewed-by: https://github.com/AtkinsSJ ✅
12 changed files with 69 additions and 7 deletions
9
Tests/LibWeb/Layout/input/css-content-visibility.html
Normal file
9
Tests/LibWeb/Layout/input/css-content-visibility.html
Normal file
|
@ -0,0 +1,9 @@
|
|||
<!doctype html><style>
|
||||
div {
|
||||
padding: 16px;
|
||||
content-visibility: hidden;
|
||||
}
|
||||
div::before {
|
||||
content: 'I am invisible';
|
||||
}
|
||||
</style><div>I am not visible<span>and nor am I
|
Loading…
Add table
Add a link
Reference in a new issue