mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 08:08:43 +00:00
LibWeb: Implement CSS 'isolation' property
This commit is contained in:
parent
4e1aa96dce
commit
7757df5bb5
Notes:
github-actions[bot]
2025-01-13 11:08:57 +00:00
Author: https://github.com/Psychpsyo
Commit: 7757df5bb5
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3221
Reviewed-by: https://github.com/AtkinsSJ ✅
11 changed files with 134 additions and 73 deletions
18
Tests/LibWeb/Ref/input/css-isolation.html
Normal file
18
Tests/LibWeb/Ref/input/css-isolation.html
Normal file
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel="match" href="../expected/css-isolation.html" />
|
||||
<style>
|
||||
.outer {
|
||||
isolation:isolate;
|
||||
position: absolute;
|
||||
}
|
||||
.inner {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
</style>
|
||||
<div class="outer">
|
||||
<div class="inner" style="background-color:red; position:relative; z-index:1;"></div>
|
||||
</div>
|
||||
<div class="outer">
|
||||
<div class="inner" style="background-color:green;"></div>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue