mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-30 14:20:21 +00:00
Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others
Now each test type has the same directories: - input - expected - data Also, tests can be in subdirectories within ./input.
This commit is contained in:
parent
08253d6aee
commit
b7efb61fbe
Notes:
github-actions[bot]
2024-11-05 16:45:19 +00:00
Author: https://github.com/AtkinsSJ
Commit: b7efb61fbe
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2175
Reviewed-by: https://github.com/gmta ✅
360 changed files with 451 additions and 448 deletions
46
Tests/LibWeb/Ref/input/iframe-contains-scrollable-box.html
Normal file
46
Tests/LibWeb/Ref/input/iframe-contains-scrollable-box.html
Normal file
|
@ -0,0 +1,46 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel="match" href="../expected/iframe-contains-scrollable-box-ref.html" />
|
||||
<style>
|
||||
iframe {
|
||||
width: 300px;
|
||||
height: 200px;
|
||||
border: 1px solid #ccc;
|
||||
}
|
||||
</style>
|
||||
<iframe
|
||||
srcdoc="
|
||||
<!DOCTYPE html>
|
||||
<style>
|
||||
* {
|
||||
scrollbar-width: none;
|
||||
}
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
#scrollable-box {
|
||||
width: 300px;
|
||||
height: 200px;
|
||||
overflow-y: scroll;
|
||||
border: 1px solid #ccc;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
#scroll-space-filler {
|
||||
height: 300px;
|
||||
}
|
||||
#box {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
background-color: magenta;
|
||||
}
|
||||
</style>
|
||||
<div id='scrollable-box'>
|
||||
<div id='scroll-space-filler'></div>
|
||||
<div id='box'></div>
|
||||
<div id='scroll-space-filler'></div>
|
||||
</div>
|
||||
<script>
|
||||
const scrollable = document.getElementById('scrollable-box');
|
||||
scrollable.scrollTop = 300;
|
||||
</script>
|
||||
"
|
||||
></iframe>
|
Loading…
Add table
Add a link
Reference in a new issue