mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 09:45:06 +02:00
LibWeb: Add AccumulatedVisualContext debugging infrastructure
This commit is contained in:
committed by
Alexander Kalenik
parent
009ddd4823
commit
a87b5c722d
Notes:
github-actions[bot]
2026-01-15 18:52:19 +00:00
Author: https://github.com/kalenikaliaksandr Commit: https://github.com/LadybirdBrowser/ladybird/commit/a87b5c722dd Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/7471
23
Tests/LibWeb/Text/input/display_list/perspective-basic.html
Normal file
23
Tests/LibWeb/Text/input/display_list/perspective-basic.html
Normal file
@@ -0,0 +1,23 @@
|
||||
<!DOCTYPE html>
|
||||
<script src="../include.js"></script>
|
||||
<style>
|
||||
.perspective-container {
|
||||
perspective: 500px;
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
}
|
||||
.rotated {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
background: blue;
|
||||
transform: rotateY(30deg);
|
||||
}
|
||||
</style>
|
||||
<div class="perspective-container">
|
||||
<div class="rotated">3D</div>
|
||||
</div>
|
||||
<script>
|
||||
test(() => {
|
||||
println(internals.dumpDisplayList());
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user