LibWeb: Support content-visibility css

This commit is contained in:
Edwin Hoksberg 2024-06-23 14:52:56 +02:00 committed by Sam Atkins
commit 020b20d817
Notes: sideshowbarker 2024-07-19 21:35:47 +09:00
12 changed files with 69 additions and 7 deletions

View 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