[webkit-changes] [WebKit/WebKit] 65dc23: Add reset function to CanvasRenderingContext2D

Kiet Ho noreply at github.com
Fri Sep 8 23:23:17 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 65dc23bfda96b7011b0d15c4aec089f79a75d0e0
      https://github.com/WebKit/WebKit/commit/65dc23bfda96b7011b0d15c4aec089f79a75d0e0
  Author: Kiet Ho <tho22 at apple.com>
  Date:   2023-09-08 (Fri, 08 Sep 2023)

  Changed paths:
    M LayoutTests/TestExpectations
    M LayoutTests/fast/canvas/offscreen-giant-transfer-to-imagebitmap-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/manual/filters/tentative/idl-conversions/canvas-filter-sequence-conversion-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.basic-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.direction-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.fill_style-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.filter-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.font-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.font_kerning-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.font_stretch-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.font_variant_caps-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.global_alpha-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.global_composite_operation-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.image_smoothing_enabled-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.image_smoothing_quality-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.letter_spacing-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.line_cap-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.line_dash-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.line_dash_offset-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.line_join-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.line_width-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.miter_limit-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.shadow_blur-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.shadow_color-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.shadow_offset_x-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.shadow_offset_y-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.stroke_style-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.text_align-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.text_baseline-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.text_rendering-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.transformation_matrix-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.word_spacing-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.basic-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.basic.worker-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.direction-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.direction.worker-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.fill_style-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.fill_style.worker-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.filter-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.filter.worker-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.font-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.font.worker-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.font_kerning-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.font_kerning.worker-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.font_stretch-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.font_stretch.worker-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.font_variant_caps-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.font_variant_caps.worker-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.global_alpha-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.global_alpha.worker-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.global_composite_operation-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.global_composite_operation.worker-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.image_smoothing_enabled-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.image_smoothing_enabled.worker-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.image_smoothing_quality-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.image_smoothing_quality.worker-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.letter_spacing-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.letter_spacing.worker-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.line_cap-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.line_cap.worker-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.line_dash-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.line_dash.worker-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.line_dash_offset-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.line_dash_offset.worker-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.line_join-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.line_join.worker-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.line_width-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.line_width.worker-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.miter_limit-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.miter_limit.worker-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.shadow_blur-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.shadow_blur.worker-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.shadow_color-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.shadow_color.worker-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.shadow_offset_x-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.shadow_offset_x.worker-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.shadow_offset_y-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.shadow_offset_y.worker-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.stroke_style-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.stroke_style.worker-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.text_align-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.text_align.worker-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.text_baseline-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.text_baseline.worker-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.text_rendering-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.text_rendering.worker-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.transformation_matrix-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.transformation_matrix.worker-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.word_spacing-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.word_spacing.worker-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/dom/idlharness.https_exclude=(Document_Window_HTML._)-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/dom/idlharness.worker-expected.txt
    M LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/dom/idlharness.worker-expected.txt
    M LayoutTests/platform/ios/fast/canvas/offscreen-giant-transfer-to-imagebitmap-expected.txt
    M Source/WebCore/html/CanvasBase.h
    M Source/WebCore/html/HTMLCanvasElement.cpp
    M Source/WebCore/html/canvas/CanvasRenderingContext2DBase.cpp
    M Source/WebCore/html/canvas/CanvasState.idl
    M Source/WebCore/platform/graphics/GraphicsContext.cpp
    M Source/WebCore/platform/graphics/GraphicsContext.h

  Log Message:
  -----------
  Add reset function to CanvasRenderingContext2D
https://bugs.webkit.org/show_bug.cgi?id=225349
rdar://77842434

Reviewed by Simon Fraser.

Make sure CanvasRenderingContext2D::reset() clear all the context state settings.
Restore the GraphicsContext state to the canvas default setting by calling
CanvasBase::resetGraphicsContextState().

Add the method GraphicsContext::unwindStateStack() to unwind the state stack
and the transparency layers in the right order. Call this method wherever we
need to reset the GraphicsContext state stack.

* LayoutTests/TestExpectations:
* LayoutTests/fast/canvas/offscreen-giant-transfer-to-imagebitmap-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/manual/filters/tentative/idl-conversions/canvas-filter-sequence-conversion-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.basic-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.direction-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.fill_style-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.filter-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.font-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.font_kerning-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.font_stretch-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.font_variant_caps-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.global_alpha-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.global_composite_operation-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.image_smoothing_enabled-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.image_smoothing_quality-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.letter_spacing-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.line_cap-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.line_dash-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.line_dash_offset-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.line_join-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.line_width-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.miter_limit-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.shadow_blur-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.shadow_color-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.shadow_offset_x-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.shadow_offset_y-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.stroke_style-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.text_align-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.text_baseline-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.text_rendering-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.transformation_matrix-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/reset/2d.reset.state.word_spacing-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.basic-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.basic.worker-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.direction-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.direction.worker-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.fill_style-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.fill_style.worker-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.filter-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.filter.worker-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.font-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.font.worker-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.font_kerning-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.font_kerning.worker-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.font_stretch-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.font_stretch.worker-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.font_variant_caps-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.font_variant_caps.worker-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.global_alpha-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.global_alpha.worker-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.global_composite_operation-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.global_composite_operation.worker-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.image_smoothing_enabled-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.image_smoothing_enabled.worker-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.image_smoothing_quality-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.image_smoothing_quality.worker-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.letter_spacing-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.letter_spacing.worker-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.line_cap-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.line_cap.worker-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.line_dash-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.line_dash.worker-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.line_dash_offset-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.line_dash_offset.worker-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.line_join-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.line_join.worker-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.line_width-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.line_width.worker-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.miter_limit-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.miter_limit.worker-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.shadow_blur-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.shadow_blur.worker-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.shadow_color-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.shadow_color.worker-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.shadow_offset_x-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.shadow_offset_x.worker-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.shadow_offset_y-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.shadow_offset_y.worker-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.stroke_style-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.stroke_style.worker-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.text_align-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.text_align.worker-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.text_baseline-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.text_baseline.worker-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.text_rendering-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.text_rendering.worker-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.transformation_matrix-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.transformation_matrix.worker-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.word_spacing-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/reset/2d.reset.state.word_spacing.worker-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/dom/idlharness.https_exclude=(Document_Window_HTML._)-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/dom/idlharness.worker-expected.txt:
* LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/dom/idlharness.worker-expected.txt:
* LayoutTests/platform/ios/fast/canvas/offscreen-giant-transfer-to-imagebitmap-expected.txt:
* Source/WebCore/html/CanvasBase.h:
* Source/WebCore/html/HTMLCanvasElement.cpp:
(WebCore::HTMLCanvasElement::reset):
* Source/WebCore/html/canvas/CanvasRenderingContext2DBase.cpp:
(WebCore::CanvasRenderingContext2DBase::unwindStateStack):
(WebCore::CanvasRenderingContext2DBase::reset):
* Source/WebCore/html/canvas/CanvasState.idl:
* Source/WebCore/platform/graphics/GraphicsContext.cpp:
(WebCore::GraphicsContext::unwindStateStack):
* Source/WebCore/platform/graphics/GraphicsContext.h:
(WebCore::GraphicsContext::unwindStateStack):

Canonical link: https://commits.webkit.org/267824@main




More information about the webkit-changes mailing list