ladybird/Tests/LibWeb/Ref/inline-paintable-background-clip-text.html
Aliaksandr Kalenik a044e9cf4f LibWeb: Add background-clip: text support for InlinePaintable
Moves background mask calculation into `paint_background()` that is
shared between PaintableBox and InlinePaintable.
2024-04-23 12:50:07 +02:00

11 lines
284 B
HTML

<!DOCTYPE html>
<link rel="match" href="reference/inline-paintable-background-clip-text-ref.html" />
<style>
#text {
background: linear-gradient(#6d98cc, #8a64e5);
background-clip: text;
color: transparent;
font-size: 50px;
}
</style>
<span id="text">Hello</span>