Skip to content

Truly independent web browser

Compositor: Composite canvas draws onto the pixels they do not cover

Andreas Kling9f2c41371cb5
diff --git a/Services/Compositor/Canvas2DCommandPlayer.cpp b/Services/Compositor/Canvas2DCommandPlayer.cpp
index d3933437218..1e8bf0940a3 100644
--- a/Services/Compositor/Canvas2DCommandPlayer.cpp
+++ b/Services/Compositor/Canvas2DCommandPlayer.cpp
@@ -226,18 +226,7 @@ void Canvas2DCommandPlayer::play_command(Canvas2DDrawVideoFrame const& command)
void Canvas2DCommandPlayer::draw_image(SkImage const& image, Gfx::FloatRect const& dst_rect, Gfx::IntRect const& src_rect, Gfx::ScalingMode scaling_mode, Canvas2DCompositing const& compositing)
{
- SkPaint paint;
- paint.setImageFilter(image_filter_from(compositing));
- paint.setAlpha(static_cast<u8>(compositing.global_alpha * 255));
- paint.setBlender(Gfx::to_skia_blender(compositing.compositing_and_blending_operator));
-
- m_surface->canvas().drawImageRect(
- &image,
- Gfx::to_skia_rect(src_rect),
- Gfx::to_skia_rect(dst_rect),
- Gfx::to_skia_sampling_options(scaling_mode),
- &paint,
- SkCanvas::kStrict_SrcRectConstraint);
+ m_painter->draw_image(image, dst_rect, src_rect, scaling_mode, image_filter_from(compositing), compositing.global_alpha, compositing.compositing_and_blending_operator);
}
void Canvas2DCommandPlayer::play_command(Canvas2DSetTransform const& command)
diff --git a/Services/Compositor/PainterSkia.cpp b/Services/Compositor/PainterSkia.cpp
index 759a970cfe8..085cace0a9f 100644
--- a/Services/Compositor/PainterSkia.cpp
+++ b/Services/Compositor/PainterSkia.cpp
@@ -148,6 +148,37 @@ static SkPaint to_skia_paint(Gfx::PaintStyle const& style, sk_sp<SkImageFilter>
return paint;
}
+// NB: These operators change the destination even where the source is fully transparent, which makes them affect
+// pixels that the source does not cover.
+static bool affects_pixels_not_covered_by_source(CompositingAndBlendingOperator compositing_and_blending_operator)
+{
+ return first_is_one_of(compositing_and_blending_operator,
+ CompositingAndBlendingOperator::Copy,
+ CompositingAndBlendingOperator::SourceIn,
+ CompositingAndBlendingOperator::SourceOut,
+ CompositingAndBlendingOperator::DestinationIn,
+ CompositingAndBlendingOperator::DestinationATop);
+}
+
+// NB: A Skia blend mode only touches the pixels that a draw covers. For the operators that also affect uncovered
+// pixels, the source is drawn into a transparent layer, which is then composited onto all of the destination
+// inside the clip.
+template<typename Callback>
+static void draw_with_compositing_and_blending_operator(SkCanvas& canvas, SkPaint& paint, CompositingAndBlendingOperator compositing_and_blending_operator, Callback draw)
+{
+ if (!affects_pixels_not_covered_by_source(compositing_and_blending_operator)) {
+ paint.setBlender(to_skia_blender(compositing_and_blending_operator));
+ draw(canvas, paint);
+ return;
+ }
+
+ SkPaint layer_paint;
+ layer_paint.setBlender(to_skia_blender(compositing_and_blending_operator));
+ canvas.saveLayer(nullptr, &layer_paint);
+ draw(canvas, paint);
+ canvas.restore();
+}
+
PainterSkia::PainterSkia(NonnullRefPtr<Gfx::PaintingSurface> painting_surface)
: m_painting_surface(move(painting_surface))
{
@@ -183,23 +214,27 @@ void PainterSkia::fill_rect(Gfx::FloatRect const& rect, Color color)
void PainterSkia::draw_bitmap(Gfx::FloatRect const& dst_rect, Gfx::DecodedImageFrame const& source, Gfx::IntRect const& src_rect, Gfx::ScalingMode scaling_mode, sk_sp<SkImageFilter> image_filter, float global_alpha, Gfx::CompositingAndBlendingOperator compositing_and_blending_operator)
{
- SkPaint paint;
- paint.setImageFilter(move(image_filter));
- paint.setAlpha(static_cast<u8>(global_alpha * 255));
- paint.setBlender(to_skia_blender(compositing_and_blending_operator));
-
auto sk_image = sk_image_for_decoded_image_frame(source);
if (!sk_image)
return;
+ draw_image(*sk_image, dst_rect, src_rect, scaling_mode, move(image_filter), global_alpha, compositing_and_blending_operator);
+}
- auto& canvas = m_painting_surface->canvas();
- canvas.drawImageRect(
- sk_image.get(),
- to_skia_rect(src_rect),
- to_skia_rect(dst_rect),
- to_skia_sampling_options(scaling_mode),
- &paint,
- SkCanvas::kStrict_SrcRectConstraint);
+void PainterSkia::draw_image(SkImage const& image, Gfx::FloatRect const& dst_rect, Gfx::IntRect const& src_rect, Gfx::ScalingMode scaling_mode, sk_sp<SkImageFilter> image_filter, float global_alpha, Gfx::CompositingAndBlendingOperator compositing_and_blending_operator)
+{
+ SkPaint paint;
+ paint.setImageFilter(move(image_filter));
+ paint.setAlpha(static_cast<u8>(global_alpha * 255));
+
+ draw_with_compositing_and_blending_operator(m_painting_surface->canvas(), paint, compositing_and_blending_operator, [&](SkCanvas& canvas, SkPaint const& paint) {
+ canvas.drawImageRect(
+ &image,
+ to_skia_rect(src_rect),
+ to_skia_rect(dst_rect),
+ to_skia_sampling_options(scaling_mode),
+ &paint,
+ SkCanvas::kStrict_SrcRectConstraint);
+ });
}
void PainterSkia::set_transform(Gfx::AffineTransform const& transform)
@@ -229,10 +264,10 @@ void PainterSkia::stroke_path(Gfx::Path const& path, Gfx::Color color, float thi
paint.setStrokeJoin(to_skia_join(join_style));
paint.setStrokeMiter(miter_limit);
paint.setPathEffect(SkDashPathEffect::Make({ dash_array.data(), dash_array.size() }, dash_offset));
- paint.setBlender(to_skia_blender(compositing_and_blending_operator));
auto sk_path = to_skia_path(path);
- auto& canvas = m_painting_surface->canvas();
- canvas.drawPath(sk_path, paint);
+ draw_with_compositing_and_blending_operator(m_painting_surface->canvas(), paint, compositing_and_blending_operator, [&](SkCanvas& canvas, SkPaint const& paint) {
+ canvas.drawPath(sk_path, paint);
+ });
}
void PainterSkia::stroke_path(Gfx::Path const& path, Gfx::PaintStyle const& paint_style, sk_sp<SkImageFilter> image_filter, float thickness, float global_alpha, Gfx::CompositingAndBlendingOperator compositing_and_blending_operator, Gfx::Path::CapStyle const& cap_style, Gfx::Path::JoinStyle const& join_style, float miter_limit, Vector<float> const& dash_array, float dash_offset)
@@ -252,9 +287,9 @@ void PainterSkia::stroke_path(Gfx::Path const& path, Gfx::PaintStyle const& pain
paint.setStrokeJoin(to_skia_join(join_style));
paint.setStrokeMiter(miter_limit);
paint.setPathEffect(SkDashPathEffect::Make({ dash_array.data(), dash_array.size() }, dash_offset));
- paint.setBlender(to_skia_blender(compositing_and_blending_operator));
- auto& canvas = m_painting_surface->canvas();
- canvas.drawPath(sk_path, paint);
+ draw_with_compositing_and_blending_operator(m_painting_surface->canvas(), paint, compositing_and_blending_operator, [&](SkCanvas& canvas, SkPaint const& paint) {
+ canvas.drawPath(sk_path, paint);
+ });
}
void PainterSkia::fill_path(Gfx::Path const& path, Gfx::Color color, Gfx::WindingRule winding_rule, float blur_radius, Gfx::CompositingAndBlendingOperator compositing_and_blending_operator)
@@ -263,11 +298,11 @@ void PainterSkia::fill_path(Gfx::Path const& path, Gfx::Color color, Gfx::Windin
paint.setAntiAlias(true);
paint.setMaskFilter(SkMaskFilter::MakeBlur(kNormal_SkBlurStyle, blur_radius / 2));
set_color(paint, color, color_space());
- paint.setBlender(to_skia_blender(compositing_and_blending_operator));
auto sk_path = to_skia_path(path);
sk_path.setFillType(to_skia_path_fill_type(winding_rule));
- auto& canvas = m_painting_surface->canvas();
- canvas.drawPath(sk_path, paint);
+ draw_with_compositing_and_blending_operator(m_painting_surface->canvas(), paint, compositing_and_blending_operator, [&](SkCanvas& canvas, SkPaint const& paint) {
+ canvas.drawPath(sk_path, paint);
+ });
}
void PainterSkia::fill_path(Gfx::Path const& path, Gfx::PaintStyle const& paint_style, sk_sp<SkImageFilter> image_filter, float global_alpha, Gfx::CompositingAndBlendingOperator compositing_and_blending_operator, Gfx::WindingRule winding_rule)
@@ -278,9 +313,9 @@ void PainterSkia::fill_path(Gfx::Path const& path, Gfx::PaintStyle const& paint_
paint.setAntiAlias(true);
float alpha = paint.getAlphaf();
paint.setAlphaf(alpha * global_alpha);
- paint.setBlender(to_skia_blender(compositing_and_blending_operator));
- auto& canvas = m_painting_surface->canvas();
- canvas.drawPath(sk_path, paint);
+ draw_with_compositing_and_blending_operator(m_painting_surface->canvas(), paint, compositing_and_blending_operator, [&](SkCanvas& canvas, SkPaint const& paint) {
+ canvas.drawPath(sk_path, paint);
+ });
}
void PainterSkia::draw_glyph_run(Font const& font, SkFont sk_font, ReadonlySpan<CanvasGlyph> glyphs, FloatPoint translation, PaintStyle const& style, sk_sp<SkImageFilter> image_filter, float global_alpha, CompositingAndBlendingOperator compositing_and_blending_operator)
@@ -305,12 +340,13 @@ void PainterSkia::draw_glyph_run(Font const& font, SkFont sk_font, ReadonlySpan<
auto paint = to_skia_paint(style, move(image_filter), color_space());
paint.setAlphaf(paint.getAlphaf() * global_alpha);
- paint.setBlender(to_skia_blender(compositing_and_blending_operator));
// NB: Not drawTextBlob(). Skia caches a drawn SkTextBlob once per subpixel origin, and finds a cached entry by
// scanning every entry of that blob. Canvas text is often redrawn at moving fractional positions, which
// piles up thousands of entries per blob and makes each draw scan all of them.
- m_painting_surface->canvas().drawGlyphs({ glyph_ids.data(), glyph_ids.size() }, { glyph_positions.data(), glyph_positions.size() }, to_skia_point(translation), sk_font, paint);
+ draw_with_compositing_and_blending_operator(m_painting_surface->canvas(), paint, compositing_and_blending_operator, [&](SkCanvas& canvas, SkPaint const& paint) {
+ canvas.drawGlyphs({ glyph_ids.data(), glyph_ids.size() }, { glyph_positions.data(), glyph_positions.size() }, to_skia_point(translation), sk_font, paint);
+ });
}
void PainterSkia::save()
diff --git a/Services/Compositor/PainterSkia.h b/Services/Compositor/PainterSkia.h
index c7c102bd7b5..393b4a407b6 100644
--- a/Services/Compositor/PainterSkia.h
+++ b/Services/Compositor/PainterSkia.h
@@ -20,6 +20,7 @@
class SkColorSpace;
class SkFont;
+class SkImage;
class SkImageFilter;
template<typename T>
class sk_sp;
@@ -41,6 +42,7 @@ public:
void clear_rect(Gfx::FloatRect const&, Color);
void fill_rect(Gfx::FloatRect const&, Color);
void draw_bitmap(Gfx::FloatRect const& dst_rect, Gfx::DecodedImageFrame const& source, Gfx::IntRect const& src_rect, Gfx::ScalingMode, sk_sp<SkImageFilter>, float global_alpha, Gfx::CompositingAndBlendingOperator compositing_and_blending_operator);
+ void draw_image(SkImage const&, Gfx::FloatRect const& dst_rect, Gfx::IntRect const& src_rect, Gfx::ScalingMode, sk_sp<SkImageFilter>, float global_alpha, Gfx::CompositingAndBlendingOperator compositing_and_blending_operator);
void stroke_path(Gfx::Path const&, Gfx::Color, float thickness, float blur_radius, Gfx::CompositingAndBlendingOperator compositing_and_blending_operator, Gfx::Path::CapStyle, Gfx::Path::JoinStyle, float miter_limit, Vector<float> const& dash_array, float dash_offset);
void stroke_path(Gfx::Path const&, Gfx::PaintStyle const&, sk_sp<SkImageFilter>, float thickness, float global_alpha, Gfx::CompositingAndBlendingOperator compositing_and_blending_operator, Gfx::Path::CapStyle const&, Gfx::Path::JoinStyle const&, float miter_limit, Vector<float> const&, float dash_offset);
void fill_path(Gfx::Path const&, Gfx::Color, Gfx::WindingRule, float blur_radius, Gfx::CompositingAndBlendingOperator compositing_and_blending_operator);
diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.fill.copy.txt b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.fill.copy.txt
index 827e0e557d3..c41f833042f 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.fill.copy.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.fill.copy.txt
@@ -2,5 +2,5 @@ Harness status: OK
Found 1 tests
-1 Fail
-Fail fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
+1 Pass
+Pass fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.fill.destination-atop.txt b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.fill.destination-atop.txt
index 827e0e557d3..c41f833042f 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.fill.destination-atop.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.fill.destination-atop.txt
@@ -2,5 +2,5 @@ Harness status: OK
Found 1 tests
-1 Fail
-Fail fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
+1 Pass
+Pass fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.fill.destination-in.txt b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.fill.destination-in.txt
index 827e0e557d3..c41f833042f 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.fill.destination-in.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.fill.destination-in.txt
@@ -2,5 +2,5 @@ Harness status: OK
Found 1 tests
-1 Fail
-Fail fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
+1 Pass
+Pass fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.fill.source-in.txt b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.fill.source-in.txt
index 827e0e557d3..c41f833042f 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.fill.source-in.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.fill.source-in.txt
@@ -2,5 +2,5 @@ Harness status: OK
Found 1 tests
-1 Fail
-Fail fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
+1 Pass
+Pass fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.fill.source-out.txt b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.fill.source-out.txt
index 827e0e557d3..c41f833042f 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.fill.source-out.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.fill.source-out.txt
@@ -2,5 +2,5 @@ Harness status: OK
Found 1 tests
-1 Fail
-Fail fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
+1 Pass
+Pass fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.image.copy.txt b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.image.copy.txt
index f2f9ef2142a..3247a2de453 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.image.copy.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.image.copy.txt
@@ -2,5 +2,5 @@ Harness status: OK
Found 1 tests
-1 Fail
-Fail drawImage() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
+1 Pass
+Pass drawImage() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.image.destination-atop.txt b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.image.destination-atop.txt
index f2f9ef2142a..3247a2de453 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.image.destination-atop.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.image.destination-atop.txt
@@ -2,5 +2,5 @@ Harness status: OK
Found 1 tests
-1 Fail
-Fail drawImage() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
+1 Pass
+Pass drawImage() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.image.destination-in.txt b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.image.destination-in.txt
index f2f9ef2142a..3247a2de453 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.image.destination-in.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.image.destination-in.txt
@@ -2,5 +2,5 @@ Harness status: OK
Found 1 tests
-1 Fail
-Fail drawImage() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
+1 Pass
+Pass drawImage() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.image.source-in.txt b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.image.source-in.txt
index f2f9ef2142a..3247a2de453 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.image.source-in.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.image.source-in.txt
@@ -2,5 +2,5 @@ Harness status: OK
Found 1 tests
-1 Fail
-Fail drawImage() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
+1 Pass
+Pass drawImage() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.image.source-out.txt b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.image.source-out.txt
index f2f9ef2142a..3247a2de453 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.image.source-out.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.image.source-out.txt
@@ -2,5 +2,5 @@ Harness status: OK
Found 1 tests
-1 Fail
-Fail drawImage() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
+1 Pass
+Pass drawImage() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.pattern.copy.txt b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.pattern.copy.txt
index 04100e66f9f..ae36ff72e00 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.pattern.copy.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.pattern.copy.txt
@@ -2,5 +2,5 @@ Harness status: OK
Found 1 tests
-1 Fail
-Fail Pattern fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
+1 Pass
+Pass Pattern fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.pattern.destination-atop.txt b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.pattern.destination-atop.txt
index 04100e66f9f..ae36ff72e00 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.pattern.destination-atop.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.pattern.destination-atop.txt
@@ -2,5 +2,5 @@ Harness status: OK
Found 1 tests
-1 Fail
-Fail Pattern fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
+1 Pass
+Pass Pattern fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.pattern.destination-in.txt b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.pattern.destination-in.txt
index 04100e66f9f..ae36ff72e00 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.pattern.destination-in.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.pattern.destination-in.txt
@@ -2,5 +2,5 @@ Harness status: OK
Found 1 tests
-1 Fail
-Fail Pattern fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
+1 Pass
+Pass Pattern fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.pattern.source-in.txt b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.pattern.source-in.txt
index 04100e66f9f..ae36ff72e00 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.pattern.source-in.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.pattern.source-in.txt
@@ -2,5 +2,5 @@ Harness status: OK
Found 1 tests
-1 Fail
-Fail Pattern fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
+1 Pass
+Pass Pattern fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.pattern.source-out.txt b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.pattern.source-out.txt
index 04100e66f9f..ae36ff72e00 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.pattern.source-out.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/element/compositing/2d.composite.uncovered.pattern.source-out.txt
@@ -2,5 +2,5 @@ Harness status: OK
Found 1 tests
-1 Fail
-Fail Pattern fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
+1 Pass
+Pass Pattern fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.copy.txt b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.copy.txt
index 827e0e557d3..c41f833042f 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.copy.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.copy.txt
@@ -2,5 +2,5 @@ Harness status: OK
Found 1 tests
-1 Fail
-Fail fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
+1 Pass
+Pass fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.copy.worker.txt b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.copy.worker.txt
index 827e0e557d3..c41f833042f 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.copy.worker.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.copy.worker.txt
@@ -2,5 +2,5 @@ Harness status: OK
Found 1 tests
-1 Fail
-Fail fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
+1 Pass
+Pass fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.destination-atop.txt b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.destination-atop.txt
index 827e0e557d3..c41f833042f 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.destination-atop.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.destination-atop.txt
@@ -2,5 +2,5 @@ Harness status: OK
Found 1 tests
-1 Fail
-Fail fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
+1 Pass
+Pass fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.destination-atop.worker.txt b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.destination-atop.worker.txt
index 827e0e557d3..c41f833042f 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.destination-atop.worker.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.destination-atop.worker.txt
@@ -2,5 +2,5 @@ Harness status: OK
Found 1 tests
-1 Fail
-Fail fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
+1 Pass
+Pass fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.destination-in.txt b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.destination-in.txt
index 827e0e557d3..c41f833042f 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.destination-in.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.destination-in.txt
@@ -2,5 +2,5 @@ Harness status: OK
Found 1 tests
-1 Fail
-Fail fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
+1 Pass
+Pass fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.destination-in.worker.txt b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.destination-in.worker.txt
index 827e0e557d3..c41f833042f 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.destination-in.worker.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.destination-in.worker.txt
@@ -2,5 +2,5 @@ Harness status: OK
Found 1 tests
-1 Fail
-Fail fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
+1 Pass
+Pass fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.source-in.txt b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.source-in.txt
index 827e0e557d3..c41f833042f 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.source-in.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.source-in.txt
@@ -2,5 +2,5 @@ Harness status: OK
Found 1 tests
-1 Fail
-Fail fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
+1 Pass
+Pass fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.source-in.worker.txt b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.source-in.worker.txt
index 827e0e557d3..c41f833042f 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.source-in.worker.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.source-in.worker.txt
@@ -2,5 +2,5 @@ Harness status: OK
Found 1 tests
-1 Fail
-Fail fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
+1 Pass
+Pass fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.source-out.txt b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.source-out.txt
index 827e0e557d3..c41f833042f 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.source-out.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.source-out.txt
@@ -2,5 +2,5 @@ Harness status: OK
Found 1 tests
-1 Fail
-Fail fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
+1 Pass
+Pass fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.source-out.worker.txt b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.source-out.worker.txt
index 827e0e557d3..c41f833042f 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.source-out.worker.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.source-out.worker.txt
@@ -2,5 +2,5 @@ Harness status: OK
Found 1 tests
-1 Fail
-Fail fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
+1 Pass
+Pass fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.image.copy.txt b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.image.copy.txt
index f2f9ef2142a..3247a2de453 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.image.copy.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.image.copy.txt
@@ -2,5 +2,5 @@ Harness status: OK
Found 1 tests
-1 Fail
-Fail drawImage() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
+1 Pass
+Pass drawImage() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.image.copy.worker.txt b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.image.copy.worker.txt
index f2f9ef2142a..3247a2de453 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.image.copy.worker.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.image.copy.worker.txt
@@ -2,5 +2,5 @@ Harness status: OK
Found 1 tests
-1 Fail
-Fail drawImage() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
+1 Pass
+Pass drawImage() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.image.destination-atop.txt b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.image.destination-atop.txt
index f2f9ef2142a..3247a2de453 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.image.destination-atop.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.image.destination-atop.txt
@@ -2,5 +2,5 @@ Harness status: OK
Found 1 tests
-1 Fail
-Fail drawImage() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
+1 Pass
+Pass drawImage() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.image.destination-atop.worker.txt b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.image.destination-atop.worker.txt
index f2f9ef2142a..3247a2de453 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.image.destination-atop.worker.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.image.destination-atop.worker.txt
@@ -2,5 +2,5 @@ Harness status: OK
Found 1 tests
-1 Fail
-Fail drawImage() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
+1 Pass
+Pass drawImage() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.image.destination-in.txt b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.image.destination-in.txt
index f2f9ef2142a..3247a2de453 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.image.destination-in.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.image.destination-in.txt
@@ -2,5 +2,5 @@ Harness status: OK
Found 1 tests
-1 Fail
-Fail drawImage() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
+1 Pass
+Pass drawImage() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.image.destination-in.worker.txt b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.image.destination-in.worker.txt
index f2f9ef2142a..3247a2de453 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.image.destination-in.worker.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.image.destination-in.worker.txt
@@ -2,5 +2,5 @@ Harness status: OK
Found 1 tests
-1 Fail
-Fail drawImage() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
+1 Pass
+Pass drawImage() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.image.source-in.txt b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.image.source-in.txt
index f2f9ef2142a..3247a2de453 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.image.source-in.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.image.source-in.txt
@@ -2,5 +2,5 @@ Harness status: OK
Found 1 tests
-1 Fail
-Fail drawImage() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
+1 Pass
+Pass drawImage() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.image.source-in.worker.txt b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.image.source-in.worker.txt
index f2f9ef2142a..3247a2de453 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.image.source-in.worker.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.image.source-in.worker.txt
@@ -2,5 +2,5 @@ Harness status: OK
Found 1 tests
-1 Fail
-Fail drawImage() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
+1 Pass
+Pass drawImage() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.image.source-out.txt b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.image.source-out.txt
index f2f9ef2142a..3247a2de453 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.image.source-out.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.image.source-out.txt
@@ -2,5 +2,5 @@ Harness status: OK
Found 1 tests
-1 Fail
-Fail drawImage() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
+1 Pass
+Pass drawImage() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.image.source-out.worker.txt b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.image.source-out.worker.txt
index f2f9ef2142a..3247a2de453 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.image.source-out.worker.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.image.source-out.worker.txt
@@ -2,5 +2,5 @@ Harness status: OK
Found 1 tests
-1 Fail
-Fail drawImage() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
+1 Pass
+Pass drawImage() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.copy.txt b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.copy.txt
index 04100e66f9f..ae36ff72e00 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.copy.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.copy.txt
@@ -2,5 +2,5 @@ Harness status: OK
Found 1 tests
-1 Fail
-Fail Pattern fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
+1 Pass
+Pass Pattern fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.copy.worker.txt b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.copy.worker.txt
index 04100e66f9f..ae36ff72e00 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.copy.worker.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.copy.worker.txt
@@ -2,5 +2,5 @@ Harness status: OK
Found 1 tests
-1 Fail
-Fail Pattern fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
+1 Pass
+Pass Pattern fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.destination-atop.txt b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.destination-atop.txt
index 04100e66f9f..ae36ff72e00 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.destination-atop.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.destination-atop.txt
@@ -2,5 +2,5 @@ Harness status: OK
Found 1 tests
-1 Fail
-Fail Pattern fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
+1 Pass
+Pass Pattern fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.destination-atop.worker.txt b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.destination-atop.worker.txt
index 04100e66f9f..ae36ff72e00 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.destination-atop.worker.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.destination-atop.worker.txt
@@ -2,5 +2,5 @@ Harness status: OK
Found 1 tests
-1 Fail
-Fail Pattern fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
+1 Pass
+Pass Pattern fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.destination-in.txt b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.destination-in.txt
index 04100e66f9f..ae36ff72e00 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.destination-in.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.destination-in.txt
@@ -2,5 +2,5 @@ Harness status: OK
Found 1 tests
-1 Fail
-Fail Pattern fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
+1 Pass
+Pass Pattern fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.destination-in.worker.txt b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.destination-in.worker.txt
index 04100e66f9f..ae36ff72e00 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.destination-in.worker.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.destination-in.worker.txt
@@ -2,5 +2,5 @@ Harness status: OK
Found 1 tests
-1 Fail
-Fail Pattern fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
+1 Pass
+Pass Pattern fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.source-in.txt b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.source-in.txt
index 04100e66f9f..ae36ff72e00 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.source-in.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.source-in.txt
@@ -2,5 +2,5 @@ Harness status: OK
Found 1 tests
-1 Fail
-Fail Pattern fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
+1 Pass
+Pass Pattern fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.source-in.worker.txt b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.source-in.worker.txt
index 04100e66f9f..ae36ff72e00 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.source-in.worker.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.source-in.worker.txt
@@ -2,5 +2,5 @@ Harness status: OK
Found 1 tests
-1 Fail
-Fail Pattern fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
+1 Pass
+Pass Pattern fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.source-out.txt b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.source-out.txt
index 04100e66f9f..ae36ff72e00 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.source-out.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.source-out.txt
@@ -2,5 +2,5 @@ Harness status: OK
Found 1 tests
-1 Fail
-Fail Pattern fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
+1 Pass
+Pass Pattern fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.source-out.worker.txt b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.source-out.worker.txt
index 04100e66f9f..ae36ff72e00 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.source-out.worker.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.source-out.worker.txt
@@ -2,5 +2,5 @@ Harness status: OK
Found 1 tests
-1 Fail
-Fail Pattern fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file
+1 Pass
+Pass Pattern fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.
\ No newline at end of file