mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-05 17:16:04 +00:00
Tests: Replace background-near-zero-svg
test with WPT import
This commit is contained in:
parent
a959d4dca2
commit
8fce09f521
Notes:
github-actions[bot]
2025-07-02 16:45:30 +00:00
Author: https://github.com/tcl3
Commit: 8fce09f521
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5275
Reviewed-by: https://github.com/gmta ✅
4 changed files with 10 additions and 7 deletions
|
@ -0,0 +1,2 @@
|
|||
<!DOCTYPE html>
|
||||
<div style="width: 100px; height: 100px; background: green"></div>
|
|
@ -1,7 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel="match" href="../expected/background-size-near-zero-svg-ref.html">
|
||||
<div style="background-image: url(../data/50x50-green.svg);
|
||||
width: 100px; height: 100px; background-size: 0.2px 0.2px">
|
||||
</div>
|
||||
<!-- FIXME: Workaround to ensure CSS background-image is loaded before taking screenshot: https://github.com/LadybirdBrowser/ladybird/issues/3448 -->
|
||||
<img style="display: none" src="../data/50x50-green.svg">
|
|
@ -0,0 +1,8 @@
|
|||
<!DOCTYPE html>
|
||||
<title>SVG background with near-zero background-size</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-backgrounds-3/#background-size">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-backgrounds-3/#background-image">
|
||||
<link rel="match" href="../../../../../expected/wpt-import/css/css-backgrounds/background-size/reference/background-size-near-zero-ref.html">
|
||||
<div style="background-image: url(support/50x50-green.svg);
|
||||
width: 100px; height: 100px; background-size: 0.2px 0.2px">
|
||||
</div>
|
Before Width: | Height: | Size: 116 B After Width: | Height: | Size: 116 B |
Loading…
Add table
Add a link
Reference in a new issue