diff --git a/Tests/LibWeb/Ref/background-clip-text.html b/Tests/LibWeb/Ref/background-clip-text.html new file mode 100644 index 00000000000..7ea7a4d9145 --- /dev/null +++ b/Tests/LibWeb/Ref/background-clip-text.html @@ -0,0 +1,11 @@ + + +
hello
x diff --git a/Tests/LibWeb/Ref/reference/background-clip-text-ref.html b/Tests/LibWeb/Ref/reference/background-clip-text-ref.html new file mode 100644 index 00000000000..8ed5afe5949 --- /dev/null +++ b/Tests/LibWeb/Ref/reference/background-clip-text-ref.html @@ -0,0 +1,7 @@ + +
hello
x diff --git a/Userland/Libraries/LibWeb/Painting/DisplayListPlayerSkia.cpp b/Userland/Libraries/LibWeb/Painting/DisplayListPlayerSkia.cpp index 24647001120..33f2bd616b3 100644 --- a/Userland/Libraries/LibWeb/Painting/DisplayListPlayerSkia.cpp +++ b/Userland/Libraries/LibWeb/Painting/DisplayListPlayerSkia.cpp @@ -1233,7 +1233,6 @@ void DisplayListPlayerSkia::add_mask(AddMask const& command) mask_matrix.setTranslate(rect.x(), rect.y()); auto image = mask_surface->makeImageSnapshot(); auto shader = image->makeShader(SkSamplingOptions(), mask_matrix); - surface().canvas().save(); surface().canvas().clipShader(shader); }