ladybird/Tests/LibWeb/Screenshot/input/svg-background-no-natural-size.html
Sam Atkins b7efb61fbe
Some checks are pending
CI / Lagom (false, FUZZ, ubuntu-24.04, Linux, Clang) (push) Waiting to run
CI / Lagom (false, NO_FUZZ, macos-14, macOS, Clang) (push) Waiting to run
CI / Lagom (false, NO_FUZZ, ubuntu-24.04, Linux, GNU) (push) Waiting to run
CI / Lagom (true, NO_FUZZ, ubuntu-24.04, Linux, Clang) (push) Waiting to run
Package the js repl as a binary artifact / build-and-package (macos-14, macOS, macOS-universal2) (push) Waiting to run
Package the js repl as a binary artifact / build-and-package (ubuntu-24.04, Linux, Linux-x86_64) (push) Waiting to run
Run test262 and test-wasm / run_and_update_results (push) Waiting to run
Lint Code / lint (push) Waiting to run
Push notes / build (push) Waiting to run
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.
2024-11-05 14:02:07 +00:00

24 lines
532 B
HTML

<!doctype html>
<link rel="match" href="../expected/svg-background-no-natural-size-ref.html" />
<style>
body {
background-color: white;
}
div {
border: 1px solid black;
height: 50px;
width: 50px;
background-repeat: no-repeat;
background-position: 50% 50%;
}
.svg-rect {
background-size: 34%;
background-image: url(../data/vertical-rect.svg);
}
img {
width: 100px;
padding: 10px;
}
</style>
<div class="svg-rect"></div>
<body><span></span><img src="../data/vertical-rect.svg">