Files
ladybird/Tests/LibWeb/Ref/expected/selection-with-image-ref.html
Aliaksandr Kalenik 86bc379119 Tests: Move true ref tests from Screenshot/ to Ref/
Move them to Ref/ where they belong, before converting the remaining
Screenshot tests to direct PNG comparison.
2026-02-24 09:55:14 +01:00

17 lines
529 B
HTML

<!DOCTYPE html>
<style>
img { width: 50px; height: 50px; vertical-align: middle; }
.selected { background: rgba(61, 174, 233, 0.5); }
.img-wrapper {
display: inline-block;
position: relative;
vertical-align: middle;
}
.img-wrapper .overlay {
position: absolute;
inset: 0;
background: rgba(61, 174, 233, 0.5);
}
</style>
<p><span class="selected">before image </span><span class="img-wrapper"><img src="../data/smiley.png"><span class="overlay"></span></span><span class="selected"> after image</span></p>