diff --git a/android_webview/tools/system_webview_shell/test/data/webexposed/global-interface-listing-expected.txt b/android_webview/tools/system_webview_shell/test/data/webexposed/global-interface-listing-expected.txt index bbc937f22786c1..d253a5c3f94d49 100644 --- a/android_webview/tools/system_webview_shell/test/data/webexposed/global-interface-listing-expected.txt +++ b/android_webview/tools/system_webview_shell/test/data/webexposed/global-interface-listing-expected.txt @@ -690,6 +690,7 @@ interface CanvasRenderingContext2D getter globalCompositeOperation getter imageSmoothingEnabled getter imageSmoothingQuality + getter letterSpacing getter lineCap getter lineDashOffset getter lineJoin @@ -702,7 +703,6 @@ interface CanvasRenderingContext2D getter strokeStyle getter textAlign getter textBaseline - getter textLetterSpacing getter textRendering getter wordSpacing method arc @@ -759,6 +759,7 @@ interface CanvasRenderingContext2D setter globalCompositeOperation setter imageSmoothingEnabled setter imageSmoothingQuality + setter letterSpacing setter lineCap setter lineDashOffset setter lineJoin @@ -771,7 +772,6 @@ interface CanvasRenderingContext2D setter strokeStyle setter textAlign setter textBaseline - setter textLetterSpacing setter textRendering setter wordSpacing interface ChannelMergerNode : AudioNode @@ -4249,6 +4249,7 @@ interface OffscreenCanvasRenderingContext2D getter globalCompositeOperation getter imageSmoothingEnabled getter imageSmoothingQuality + getter letterSpacing getter lineCap getter lineDashOffset getter lineJoin @@ -4260,7 +4261,6 @@ interface OffscreenCanvasRenderingContext2D getter shadowOffsetY getter strokeStyle getter textAlign - getter textLetterSpacing getter textRendering getter wordSpacing getter textBaseline @@ -4316,6 +4316,7 @@ interface OffscreenCanvasRenderingContext2D setter globalCompositeOperation setter imageSmoothingEnabled setter imageSmoothingQuality + setter letterSpacing setter lineCap setter lineDashOffset setter lineJoin @@ -4328,7 +4329,6 @@ interface OffscreenCanvasRenderingContext2D setter strokeStyle setter textAlign setter textBaseline - setter textLetterSpacing setter textRendering setter wordSpacing interface Option diff --git a/third_party/blink/renderer/modules/canvas/canvas2d/base_rendering_context_2d.cc b/third_party/blink/renderer/modules/canvas/canvas2d/base_rendering_context_2d.cc index 5d8a3cbe87d75f..9dacc8791c8cea 100644 --- a/third_party/blink/renderer/modules/canvas/canvas2d/base_rendering_context_2d.cc +++ b/third_party/blink/renderer/modules/canvas/canvas2d/base_rendering_context_2d.cc @@ -2404,8 +2404,8 @@ void BaseRenderingContext2D::CheckOverdraw( WillOverwriteCanvas(); } -double BaseRenderingContext2D::textLetterSpacing() const { - return GetState().GetTextLetterSpacing(); +double BaseRenderingContext2D::letterSpacing() const { + return GetState().GetLetterSpacing(); } double BaseRenderingContext2D::wordSpacing() const { diff --git a/third_party/blink/renderer/modules/canvas/canvas2d/base_rendering_context_2d.h b/third_party/blink/renderer/modules/canvas/canvas2d/base_rendering_context_2d.h index da62d250d743a9..141ea872c50433 100644 --- a/third_party/blink/renderer/modules/canvas/canvas2d/base_rendering_context_2d.h +++ b/third_party/blink/renderer/modules/canvas/canvas2d/base_rendering_context_2d.h @@ -327,7 +327,7 @@ class MODULES_EXPORT BaseRenderingContext2D : public GarbageCollectedMixin, String textBaseline() const; void setTextBaseline(const String&); - double textLetterSpacing() const; + double letterSpacing() const; double wordSpacing() const; String textRendering() const; diff --git a/third_party/blink/renderer/modules/canvas/canvas2d/canvas_rendering_context_2d.cc b/third_party/blink/renderer/modules/canvas/canvas2d/canvas_rendering_context_2d.cc index cfe1ccc60910a8..6d271f7516876c 100644 --- a/third_party/blink/renderer/modules/canvas/canvas2d/canvas_rendering_context_2d.cc +++ b/third_party/blink/renderer/modules/canvas/canvas2d/canvas_rendering_context_2d.cc @@ -785,8 +785,7 @@ void CanvasRenderingContext2D::setDirection(const String& direction_string) { GetState().SetDirection(direction); } -void CanvasRenderingContext2D::setTextLetterSpacing( - const double letter_spacing) { +void CanvasRenderingContext2D::setLetterSpacing(const double letter_spacing) { if (UNLIKELY(!std::isfinite(letter_spacing))) return; @@ -794,8 +793,7 @@ void CanvasRenderingContext2D::setTextLetterSpacing( setFont(font()); float letter_spacing_float = clampTo(letter_spacing); - GetState().SetTextLetterSpacing(letter_spacing_float, - Host()->GetFontSelector()); + GetState().SetLetterSpacing(letter_spacing_float, Host()->GetFontSelector()); } void CanvasRenderingContext2D::setWordSpacing(const double word_spacing) { diff --git a/third_party/blink/renderer/modules/canvas/canvas2d/canvas_rendering_context_2d.h b/third_party/blink/renderer/modules/canvas/canvas2d/canvas_rendering_context_2d.h index 31c2f688a41016..091a635058a9f9 100644 --- a/third_party/blink/renderer/modules/canvas/canvas2d/canvas_rendering_context_2d.h +++ b/third_party/blink/renderer/modules/canvas/canvas2d/canvas_rendering_context_2d.h @@ -124,7 +124,7 @@ class MODULES_EXPORT CanvasRenderingContext2D final String direction() const; void setDirection(const String&); - void setTextLetterSpacing(const double letter_spacing); + void setLetterSpacing(const double letter_spacing); void setWordSpacing(const double word_spacing); void setTextRendering(const String&); diff --git a/third_party/blink/renderer/modules/canvas/canvas2d/canvas_rendering_context_2d.idl b/third_party/blink/renderer/modules/canvas/canvas2d/canvas_rendering_context_2d.idl index 33dbfa98d670d9..2ca0843d1a2215 100644 --- a/third_party/blink/renderer/modules/canvas/canvas2d/canvas_rendering_context_2d.idl +++ b/third_party/blink/renderer/modules/canvas/canvas2d/canvas_rendering_context_2d.idl @@ -181,7 +181,7 @@ interface CanvasRenderingContext2D { [RuntimeEnabled=NewCanvas2DAPI] attribute DOMString fontKerning; // "auto", "normal", "none" (default: "auto") [RuntimeEnabled=NewCanvas2DAPI] attribute DOMString fontStretch; // "ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded" (default: normal) [RuntimeEnabled=NewCanvas2DAPI] attribute DOMString fontVariantCaps; // "normal", "small-caps", "all-small-caps", "petite-caps", "all-petite-caps", "unicase", "titling-caps" (default: "normal") - [RuntimeEnabled=NewCanvas2DAPI] attribute unrestricted double textLetterSpacing; // length in pixel (default: 0) + [RuntimeEnabled=NewCanvas2DAPI] attribute unrestricted double letterSpacing; // length in pixel (default: 0) [RuntimeEnabled=NewCanvas2DAPI] attribute DOMString textRendering; // "auto", "optimizeSpeed", "optimizeLegibility", "geometricPrecision" (default: auto) [RuntimeEnabled=NewCanvas2DAPI] attribute unrestricted double wordSpacing; // length in pixel (default: 0) }; diff --git a/third_party/blink/renderer/modules/canvas/canvas2d/canvas_rendering_context_2d_state.cc b/third_party/blink/renderer/modules/canvas/canvas2d/canvas_rendering_context_2d_state.cc index ee9d0e397ec979..ea14b9c8814c8c 100644 --- a/third_party/blink/renderer/modules/canvas/canvas2d/canvas_rendering_context_2d_state.cc +++ b/third_party/blink/renderer/modules/canvas/canvas2d/canvas_rendering_context_2d_state.cc @@ -739,9 +739,8 @@ bool CanvasRenderingContext2DState::PatternIsAccelerated( return Style(paint_type)->GetCanvasPattern()->GetPattern()->IsTextureBacked(); } -void CanvasRenderingContext2DState::SetTextLetterSpacing( - float letter_spacing, - FontSelector* selector) { +void CanvasRenderingContext2DState::SetLetterSpacing(float letter_spacing, + FontSelector* selector) { DCHECK(realized_font_); FontDescription font_description(GetFontDescription()); font_description.SetLetterSpacing(letter_spacing); diff --git a/third_party/blink/renderer/modules/canvas/canvas2d/canvas_rendering_context_2d_state.h b/third_party/blink/renderer/modules/canvas/canvas2d/canvas_rendering_context_2d_state.h index b01b2e03fbeb4b..6d2d7c43063c5d 100644 --- a/third_party/blink/renderer/modules/canvas/canvas2d/canvas_rendering_context_2d_state.h +++ b/third_party/blink/renderer/modules/canvas/canvas2d/canvas_rendering_context_2d_state.h @@ -142,8 +142,8 @@ class CanvasRenderingContext2DState final void SetTextBaseline(TextBaseline baseline) { text_baseline_ = baseline; } TextBaseline GetTextBaseline() const { return text_baseline_; } - void SetTextLetterSpacing(float letter_space, FontSelector* selector); - float GetTextLetterSpacing() const { return letter_spacing_; } + void SetLetterSpacing(float letter_space, FontSelector* selector); + float GetLetterSpacing() const { return letter_spacing_; } void SetWordSpacing(float word_space, FontSelector* selector); float GetWordSpacing() const { return word_spacing_; } diff --git a/third_party/blink/renderer/modules/canvas/offscreencanvas2d/offscreen_canvas_rendering_context_2d.cc b/third_party/blink/renderer/modules/canvas/offscreencanvas2d/offscreen_canvas_rendering_context_2d.cc index 223a4e2e626cf5..422a52b7ed8dfb 100644 --- a/third_party/blink/renderer/modules/canvas/offscreencanvas2d/offscreen_canvas_rendering_context_2d.cc +++ b/third_party/blink/renderer/modules/canvas/offscreencanvas2d/offscreen_canvas_rendering_context_2d.cc @@ -473,7 +473,7 @@ String OffscreenCanvasRenderingContext2D::direction() const { ? kRtlDirectionString : kLtrDirectionString; } -void OffscreenCanvasRenderingContext2D::setTextLetterSpacing( +void OffscreenCanvasRenderingContext2D::setLetterSpacing( const double letter_spacing) { if (UNLIKELY(!std::isfinite(letter_spacing))) return; @@ -482,8 +482,7 @@ void OffscreenCanvasRenderingContext2D::setTextLetterSpacing( setFont(font()); float letter_spacing_float = clampTo(letter_spacing); - GetState().SetTextLetterSpacing(letter_spacing_float, - Host()->GetFontSelector()); + GetState().SetLetterSpacing(letter_spacing_float, Host()->GetFontSelector()); } void OffscreenCanvasRenderingContext2D::setWordSpacing( diff --git a/third_party/blink/renderer/modules/canvas/offscreencanvas2d/offscreen_canvas_rendering_context_2d.h b/third_party/blink/renderer/modules/canvas/offscreencanvas2d/offscreen_canvas_rendering_context_2d.h index 3b908ec901fed8..5ebc6778b8e8b7 100644 --- a/third_party/blink/renderer/modules/canvas/offscreencanvas2d/offscreen_canvas_rendering_context_2d.h +++ b/third_party/blink/renderer/modules/canvas/offscreencanvas2d/offscreen_canvas_rendering_context_2d.h @@ -84,7 +84,7 @@ class MODULES_EXPORT OffscreenCanvasRenderingContext2D final String direction() const; void setDirection(const String&); - void setTextLetterSpacing(const double letter_spacing); + void setLetterSpacing(const double letter_spacing); void setWordSpacing(const double word_spacing); void setTextRendering(const String&); void setFontKerning(const String&); diff --git a/third_party/blink/renderer/modules/canvas/offscreencanvas2d/offscreen_canvas_rendering_context_2d.idl b/third_party/blink/renderer/modules/canvas/offscreencanvas2d/offscreen_canvas_rendering_context_2d.idl index cc98f39d313dc9..bd4ae87648de2b 100644 --- a/third_party/blink/renderer/modules/canvas/offscreencanvas2d/offscreen_canvas_rendering_context_2d.idl +++ b/third_party/blink/renderer/modules/canvas/offscreencanvas2d/offscreen_canvas_rendering_context_2d.idl @@ -122,7 +122,7 @@ [RuntimeEnabled=NewCanvas2DAPI] attribute DOMString fontKerning; // "auto", "normal", "none" (default: "auto") [RuntimeEnabled=NewCanvas2DAPI] attribute DOMString fontStretch; // "ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded" (default: normal) [RuntimeEnabled=NewCanvas2DAPI] attribute DOMString fontVariantCaps; // "normal", "small-caps", "all-small-caps", "petite-caps", "all-petite-caps", "unicase", "titling-caps" (default: "normal") - [RuntimeEnabled=NewCanvas2DAPI] attribute unrestricted double textLetterSpacing; // length in pixel (default: 0) + [RuntimeEnabled=NewCanvas2DAPI] attribute unrestricted double letterSpacing; // length in pixel (default: 0) [RuntimeEnabled=NewCanvas2DAPI] attribute DOMString textRendering; // "auto", "optimizeSpeed", "optimizeLegibility", "geometricPrecision" (default: auto) [RuntimeEnabled=NewCanvas2DAPI] attribute unrestricted double wordSpacing; // length in pixel (default: 0) }; diff --git a/third_party/blink/web_tests/external/wpt/html/canvas/element/drawing-text-to-the-canvas/2d.text.drawing.style.nonfinite.spacing.html b/third_party/blink/web_tests/external/wpt/html/canvas/element/drawing-text-to-the-canvas/2d.text.drawing.style.nonfinite.spacing.html index be085ebfa8f4b8..f3929607faa3f2 100644 --- a/third_party/blink/web_tests/external/wpt/html/canvas/element/drawing-text-to-the-canvas/2d.text.drawing.style.nonfinite.spacing.html +++ b/third_party/blink/web_tests/external/wpt/html/canvas/element/drawing-text-to-the-canvas/2d.text.drawing.style.nonfinite.spacing.html @@ -19,14 +19,14 @@

2d.text.drawing.style.nonfinite.spacing

var t = async_test("Testing letter spacing and word spacing with nonfinite inputs"); _addTest(function(canvas, ctx) { -_assertSame(ctx.textLetterSpacing, 0, "ctx.textLetterSpacing", "0"); +_assertSame(ctx.letterSpacing, 0, "ctx.letterSpacing", "0"); _assertSame(ctx.wordSpacing, 0, "ctx.wordSpacing", "0"); function test_word_spacing(value) { ctx.wordSpacing = value; - ctx.textLetterSpacing = value; + ctx.letterSpacing = value; _assertSame(ctx.wordSpacing, 0, "ctx.wordSpacing", "0"); - _assertSame(ctx.textLetterSpacing, 0, "ctx.textLetterSpacing", "0"); + _assertSame(ctx.letterSpacing, 0, "ctx.letterSpacing", "0"); } test_word_spacing(NaN); test_word_spacing(Infinity); diff --git a/third_party/blink/web_tests/external/wpt/html/canvas/element/drawing-text-to-the-canvas/2d.text.drawing.style.spacing.html b/third_party/blink/web_tests/external/wpt/html/canvas/element/drawing-text-to-the-canvas/2d.text.drawing.style.spacing.html index b65971280bb120..200d711b4421c6 100644 --- a/third_party/blink/web_tests/external/wpt/html/canvas/element/drawing-text-to-the-canvas/2d.text.drawing.style.spacing.html +++ b/third_party/blink/web_tests/external/wpt/html/canvas/element/drawing-text-to-the-canvas/2d.text.drawing.style.spacing.html @@ -19,20 +19,20 @@

2d.text.drawing.style.spacing

var t = async_test("Testing letter spacing and word spacing"); _addTest(function(canvas, ctx) { -_assertSame(ctx.textLetterSpacing, 0, "ctx.textLetterSpacing", "0"); +_assertSame(ctx.letterSpacing, 0, "ctx.letterSpacing", "0"); _assertSame(ctx.wordSpacing, 0, "ctx.wordSpacing", "0"); -ctx.textLetterSpacing = 3; -_assertSame(ctx.textLetterSpacing, 3, "ctx.textLetterSpacing", "3"); +ctx.letterSpacing = 3; +_assertSame(ctx.letterSpacing, 3, "ctx.letterSpacing", "3"); _assertSame(ctx.wordSpacing, 0, "ctx.wordSpacing", "0"); ctx.wordSpacing = 5; -_assertSame(ctx.textLetterSpacing, 3, "ctx.textLetterSpacing", "3"); +_assertSame(ctx.letterSpacing, 3, "ctx.letterSpacing", "3"); _assertSame(ctx.wordSpacing, 5, "ctx.wordSpacing", "5"); -ctx.textLetterSpacing = -1; +ctx.letterSpacing = -1; ctx.wordSpacing = -1; -_assertSame(ctx.textLetterSpacing, -1, "ctx.textLetterSpacing", "-1"); +_assertSame(ctx.letterSpacing, -1, "ctx.letterSpacing", "-1"); _assertSame(ctx.wordSpacing, -1, "ctx.wordSpacing", "-1"); diff --git a/third_party/blink/web_tests/external/wpt/html/canvas/element/drawing-text-to-the-canvas/2d.text.drawing.style.spacing.measure.html b/third_party/blink/web_tests/external/wpt/html/canvas/element/drawing-text-to-the-canvas/2d.text.drawing.style.spacing.measure.html index b4b4c66fd8a15f..315f284777aae5 100644 --- a/third_party/blink/web_tests/external/wpt/html/canvas/element/drawing-text-to-the-canvas/2d.text.drawing.style.spacing.measure.html +++ b/third_party/blink/web_tests/external/wpt/html/canvas/element/drawing-text-to-the-canvas/2d.text.drawing.style.spacing.measure.html @@ -19,28 +19,28 @@

2d.text.drawing.style.spacing.measure

var t = async_test("Testing letter spacing and word spacing"); _addTest(function(canvas, ctx) { -_assertSame(ctx.textLetterSpacing, 0, "ctx.textLetterSpacing", "0"); +_assertSame(ctx.letterSpacing, 0, "ctx.letterSpacing", "0"); _assertSame(ctx.wordSpacing, 0, "ctx.wordSpacing", "0"); var width_normal = ctx.measureText('Hello World').width; -ctx.textLetterSpacing = 3; -_assertSame(ctx.textLetterSpacing, 3, "ctx.textLetterSpacing", "3"); +ctx.letterSpacing = 3; +_assertSame(ctx.letterSpacing, 3, "ctx.letterSpacing", "3"); _assertSame(ctx.wordSpacing, 0, "ctx.wordSpacing", "0"); var width_with_spacing = ctx.measureText('Hello World').width; // Add letter spacing after each letter, so 11 * 3 = 33px longer. _assertSame(width_with_spacing, width_normal + 33, "width_with_spacing", "width_normal + 33"); ctx.wordSpacing = 5; -ctx.textLetterSpacing = 0; -_assertSame(ctx.textLetterSpacing, 0, "ctx.textLetterSpacing", "0"); +ctx.letterSpacing = 0; +_assertSame(ctx.letterSpacing, 0, "ctx.letterSpacing", "0"); _assertSame(ctx.wordSpacing, 5, "ctx.wordSpacing", "5"); // Add Word Spacing between "Hello" and "World", so it's 5px longer. width_with_spacing = ctx.measureText('Hello World').width; _assertSame(width_with_spacing, width_normal + 5, "width_with_spacing", "width_normal + 5"); -ctx.textLetterSpacing = -2; +ctx.letterSpacing = -2; ctx.wordSpacing = -1; -_assertSame(ctx.textLetterSpacing, -2, "ctx.textLetterSpacing", "-2"); +_assertSame(ctx.letterSpacing, -2, "ctx.letterSpacing", "-2"); _assertSame(ctx.wordSpacing, -1, "ctx.wordSpacing", "-1"); // Add Word Spacing and letter spacing, so it's -11*2 = -22px from // letter spacing and -1px from word spacing. diff --git a/third_party/blink/web_tests/external/wpt/html/canvas/offscreen/text/2d.text.drawing.style.nonfinite.spacing.html b/third_party/blink/web_tests/external/wpt/html/canvas/offscreen/text/2d.text.drawing.style.nonfinite.spacing.html index cc2d2d5580b40c..688eee2a0259eb 100644 --- a/third_party/blink/web_tests/external/wpt/html/canvas/offscreen/text/2d.text.drawing.style.nonfinite.spacing.html +++ b/third_party/blink/web_tests/external/wpt/html/canvas/offscreen/text/2d.text.drawing.style.nonfinite.spacing.html @@ -20,14 +20,14 @@

2d.text.drawing.style.nonfinite.spacing

var offscreenCanvas = new OffscreenCanvas(100, 50); var ctx = offscreenCanvas.getContext('2d'); -_assertSame(ctx.textLetterSpacing, 0, "ctx.textLetterSpacing", "0"); +_assertSame(ctx.letterSpacing, 0, "ctx.letterSpacing", "0"); _assertSame(ctx.wordSpacing, 0, "ctx.wordSpacing", "0"); function test_word_spacing(value) { ctx.wordSpacing = value; - ctx.textLetterSpacing = value; + ctx.letterSpacing = value; _assertSame(ctx.wordSpacing, 0, "ctx.wordSpacing", "0"); - _assertSame(ctx.textLetterSpacing, 0, "ctx.textLetterSpacing", "0"); + _assertSame(ctx.letterSpacing, 0, "ctx.letterSpacing", "0"); } test_word_spacing(NaN); test_word_spacing(Infinity); diff --git a/third_party/blink/web_tests/external/wpt/html/canvas/offscreen/text/2d.text.drawing.style.nonfinite.spacing.worker.js b/third_party/blink/web_tests/external/wpt/html/canvas/offscreen/text/2d.text.drawing.style.nonfinite.spacing.worker.js index 101378bece9f64..ecf9224e9e2ea7 100644 --- a/third_party/blink/web_tests/external/wpt/html/canvas/offscreen/text/2d.text.drawing.style.nonfinite.spacing.worker.js +++ b/third_party/blink/web_tests/external/wpt/html/canvas/offscreen/text/2d.text.drawing.style.nonfinite.spacing.worker.js @@ -16,14 +16,14 @@ t.step(function() { var offscreenCanvas = new OffscreenCanvas(100, 50); var ctx = offscreenCanvas.getContext('2d'); -_assertSame(ctx.textLetterSpacing, 0, "ctx.textLetterSpacing", "0"); +_assertSame(ctx.letterSpacing, 0, "ctx.letterSpacing", "0"); _assertSame(ctx.wordSpacing, 0, "ctx.wordSpacing", "0"); function test_word_spacing(value) { ctx.wordSpacing = value; - ctx.textLetterSpacing = value; + ctx.letterSpacing = value; _assertSame(ctx.wordSpacing, 0, "ctx.wordSpacing", "0"); - _assertSame(ctx.textLetterSpacing, 0, "ctx.textLetterSpacing", "0"); + _assertSame(ctx.letterSpacing, 0, "ctx.letterSpacing", "0"); } test_word_spacing(NaN); test_word_spacing(Infinity); diff --git a/third_party/blink/web_tests/external/wpt/html/canvas/offscreen/text/2d.text.drawing.style.spacing.html b/third_party/blink/web_tests/external/wpt/html/canvas/offscreen/text/2d.text.drawing.style.spacing.html index d1db23fdfe283c..bc688b7ee24b1e 100644 --- a/third_party/blink/web_tests/external/wpt/html/canvas/offscreen/text/2d.text.drawing.style.spacing.html +++ b/third_party/blink/web_tests/external/wpt/html/canvas/offscreen/text/2d.text.drawing.style.spacing.html @@ -20,20 +20,20 @@

2d.text.drawing.style.spacing

var offscreenCanvas = new OffscreenCanvas(100, 50); var ctx = offscreenCanvas.getContext('2d'); -_assertSame(ctx.textLetterSpacing, 0, "ctx.textLetterSpacing", "0"); +_assertSame(ctx.letterSpacing, 0, "ctx.letterSpacing", "0"); _assertSame(ctx.wordSpacing, 0, "ctx.wordSpacing", "0"); -ctx.textLetterSpacing = 3; -_assertSame(ctx.textLetterSpacing, 3, "ctx.textLetterSpacing", "3"); +ctx.letterSpacing = 3; +_assertSame(ctx.letterSpacing, 3, "ctx.letterSpacing", "3"); _assertSame(ctx.wordSpacing, 0, "ctx.wordSpacing", "0"); ctx.wordSpacing = 5; -_assertSame(ctx.textLetterSpacing, 3, "ctx.textLetterSpacing", "3"); +_assertSame(ctx.letterSpacing, 3, "ctx.letterSpacing", "3"); _assertSame(ctx.wordSpacing, 5, "ctx.wordSpacing", "5"); -ctx.textLetterSpacing = -1; +ctx.letterSpacing = -1; ctx.wordSpacing = -1; -_assertSame(ctx.textLetterSpacing, -1, "ctx.textLetterSpacing", "-1"); +_assertSame(ctx.letterSpacing, -1, "ctx.letterSpacing", "-1"); _assertSame(ctx.wordSpacing, -1, "ctx.wordSpacing", "-1"); t.done(); diff --git a/third_party/blink/web_tests/external/wpt/html/canvas/offscreen/text/2d.text.drawing.style.spacing.measure.html b/third_party/blink/web_tests/external/wpt/html/canvas/offscreen/text/2d.text.drawing.style.spacing.measure.html index 91f446b737efd1..5aac96856eda51 100644 --- a/third_party/blink/web_tests/external/wpt/html/canvas/offscreen/text/2d.text.drawing.style.spacing.measure.html +++ b/third_party/blink/web_tests/external/wpt/html/canvas/offscreen/text/2d.text.drawing.style.spacing.measure.html @@ -20,28 +20,28 @@

2d.text.drawing.style.spacing.measure

var offscreenCanvas = new OffscreenCanvas(100, 50); var ctx = offscreenCanvas.getContext('2d'); -_assertSame(ctx.textLetterSpacing, 0, "ctx.textLetterSpacing", "0"); +_assertSame(ctx.letterSpacing, 0, "ctx.letterSpacing", "0"); _assertSame(ctx.wordSpacing, 0, "ctx.wordSpacing", "0"); var width_normal = ctx.measureText('Hello World').width; -ctx.textLetterSpacing = 3; -_assertSame(ctx.textLetterSpacing, 3, "ctx.textLetterSpacing", "3"); +ctx.letterSpacing = 3; +_assertSame(ctx.letterSpacing, 3, "ctx.letterSpacing", "3"); _assertSame(ctx.wordSpacing, 0, "ctx.wordSpacing", "0"); var width_with_spacing = ctx.measureText('Hello World').width; // Add letter spacing after each letter, so 11 * 3 = 33px longer. _assertSame(width_with_spacing, width_normal + 33, "width_with_spacing", "width_normal + 33"); ctx.wordSpacing = 5; -ctx.textLetterSpacing = 0; -_assertSame(ctx.textLetterSpacing, 0, "ctx.textLetterSpacing", "0"); +ctx.letterSpacing = 0; +_assertSame(ctx.letterSpacing, 0, "ctx.letterSpacing", "0"); _assertSame(ctx.wordSpacing, 5, "ctx.wordSpacing", "5"); // Add Word Spacing between "Hello" and "World", so it's 5px longer. width_with_spacing = ctx.measureText('Hello World').width; _assertSame(width_with_spacing, width_normal + 5, "width_with_spacing", "width_normal + 5"); -ctx.textLetterSpacing = -2; +ctx.letterSpacing = -2; ctx.wordSpacing = -1; -_assertSame(ctx.textLetterSpacing, -2, "ctx.textLetterSpacing", "-2"); +_assertSame(ctx.letterSpacing, -2, "ctx.letterSpacing", "-2"); _assertSame(ctx.wordSpacing, -1, "ctx.wordSpacing", "-1"); // Add Word Spacing and letter spacing, so it's -11*2 = -22px from // letter spacing and -1px from word spacing. diff --git a/third_party/blink/web_tests/external/wpt/html/canvas/offscreen/text/2d.text.drawing.style.spacing.measure.worker.js b/third_party/blink/web_tests/external/wpt/html/canvas/offscreen/text/2d.text.drawing.style.spacing.measure.worker.js index a514bbdfe3f753..df8343951483ab 100644 --- a/third_party/blink/web_tests/external/wpt/html/canvas/offscreen/text/2d.text.drawing.style.spacing.measure.worker.js +++ b/third_party/blink/web_tests/external/wpt/html/canvas/offscreen/text/2d.text.drawing.style.spacing.measure.worker.js @@ -16,28 +16,28 @@ t.step(function() { var offscreenCanvas = new OffscreenCanvas(100, 50); var ctx = offscreenCanvas.getContext('2d'); -_assertSame(ctx.textLetterSpacing, 0, "ctx.textLetterSpacing", "0"); +_assertSame(ctx.letterSpacing, 0, "ctx.letterSpacing", "0"); _assertSame(ctx.wordSpacing, 0, "ctx.wordSpacing", "0"); var width_normal = ctx.measureText('Hello World').width; -ctx.textLetterSpacing = 3; -_assertSame(ctx.textLetterSpacing, 3, "ctx.textLetterSpacing", "3"); +ctx.letterSpacing = 3; +_assertSame(ctx.letterSpacing, 3, "ctx.letterSpacing", "3"); _assertSame(ctx.wordSpacing, 0, "ctx.wordSpacing", "0"); var width_with_spacing = ctx.measureText('Hello World').width; // Add letter spacing after each letter, so 11 * 3 = 33px longer. _assertSame(width_with_spacing, width_normal + 33, "width_with_spacing", "width_normal + 33"); ctx.wordSpacing = 5; -ctx.textLetterSpacing = 0; -_assertSame(ctx.textLetterSpacing, 0, "ctx.textLetterSpacing", "0"); +ctx.letterSpacing = 0; +_assertSame(ctx.letterSpacing, 0, "ctx.letterSpacing", "0"); _assertSame(ctx.wordSpacing, 5, "ctx.wordSpacing", "5"); // Add Word Spacing between "Hello" and "World", so it's 5px longer. width_with_spacing = ctx.measureText('Hello World').width; _assertSame(width_with_spacing, width_normal + 5, "width_with_spacing", "width_normal + 5"); -ctx.textLetterSpacing = -2; +ctx.letterSpacing = -2; ctx.wordSpacing = -1; -_assertSame(ctx.textLetterSpacing, -2, "ctx.textLetterSpacing", "-2"); +_assertSame(ctx.letterSpacing, -2, "ctx.letterSpacing", "-2"); _assertSame(ctx.wordSpacing, -1, "ctx.wordSpacing", "-1"); // Add Word Spacing and letter spacing, so it's -11*2 = -22px from // letter spacing and -1px from word spacing. diff --git a/third_party/blink/web_tests/external/wpt/html/canvas/offscreen/text/2d.text.drawing.style.spacing.worker.js b/third_party/blink/web_tests/external/wpt/html/canvas/offscreen/text/2d.text.drawing.style.spacing.worker.js index e6855c1838e6f7..7904f3f97d74ee 100644 --- a/third_party/blink/web_tests/external/wpt/html/canvas/offscreen/text/2d.text.drawing.style.spacing.worker.js +++ b/third_party/blink/web_tests/external/wpt/html/canvas/offscreen/text/2d.text.drawing.style.spacing.worker.js @@ -16,20 +16,20 @@ t.step(function() { var offscreenCanvas = new OffscreenCanvas(100, 50); var ctx = offscreenCanvas.getContext('2d'); -_assertSame(ctx.textLetterSpacing, 0, "ctx.textLetterSpacing", "0"); +_assertSame(ctx.letterSpacing, 0, "ctx.letterSpacing", "0"); _assertSame(ctx.wordSpacing, 0, "ctx.wordSpacing", "0"); -ctx.textLetterSpacing = 3; -_assertSame(ctx.textLetterSpacing, 3, "ctx.textLetterSpacing", "3"); +ctx.letterSpacing = 3; +_assertSame(ctx.letterSpacing, 3, "ctx.letterSpacing", "3"); _assertSame(ctx.wordSpacing, 0, "ctx.wordSpacing", "0"); ctx.wordSpacing = 5; -_assertSame(ctx.textLetterSpacing, 3, "ctx.textLetterSpacing", "3"); +_assertSame(ctx.letterSpacing, 3, "ctx.letterSpacing", "3"); _assertSame(ctx.wordSpacing, 5, "ctx.wordSpacing", "5"); -ctx.textLetterSpacing = -1; +ctx.letterSpacing = -1; ctx.wordSpacing = -1; -_assertSame(ctx.textLetterSpacing, -1, "ctx.textLetterSpacing", "-1"); +_assertSame(ctx.letterSpacing, -1, "ctx.letterSpacing", "-1"); _assertSame(ctx.wordSpacing, -1, "ctx.wordSpacing", "-1"); t.done(); diff --git a/third_party/blink/web_tests/external/wpt/html/canvas/tools/yaml/element/drawing-text-to-the-canvas.yaml b/third_party/blink/web_tests/external/wpt/html/canvas/tools/yaml/element/drawing-text-to-the-canvas.yaml index 6d871592fa910a..5d472506b1ecd6 100644 --- a/third_party/blink/web_tests/external/wpt/html/canvas/tools/yaml/element/drawing-text-to-the-canvas.yaml +++ b/third_party/blink/web_tests/external/wpt/html/canvas/tools/yaml/element/drawing-text-to-the-canvas.yaml @@ -743,20 +743,20 @@ testing: - 2d.text.drawing.style.spacing code: | - @assert ctx.textLetterSpacing === 0; + @assert ctx.letterSpacing === 0; @assert ctx.wordSpacing === 0; - ctx.textLetterSpacing = 3; - @assert ctx.textLetterSpacing === 3; + ctx.letterSpacing = 3; + @assert ctx.letterSpacing === 3; @assert ctx.wordSpacing === 0; ctx.wordSpacing = 5; - @assert ctx.textLetterSpacing === 3; + @assert ctx.letterSpacing === 3; @assert ctx.wordSpacing === 5; - ctx.textLetterSpacing = -1; + ctx.letterSpacing = -1; ctx.wordSpacing = -1; - @assert ctx.textLetterSpacing === -1; + @assert ctx.letterSpacing === -1; @assert ctx.wordSpacing === -1; - name: 2d.text.drawing.style.nonfinite.spacing @@ -764,14 +764,14 @@ testing: - 2d.text.drawing.style.spacing code: | - @assert ctx.textLetterSpacing === 0; + @assert ctx.letterSpacing === 0; @assert ctx.wordSpacing === 0; function test_word_spacing(value) { ctx.wordSpacing = value; - ctx.textLetterSpacing = value; + ctx.letterSpacing = value; @assert ctx.wordSpacing === 0; - @assert ctx.textLetterSpacing === 0; + @assert ctx.letterSpacing === 0; } @nonfinite test_word_spacing(<0 NaN Infinity -Infinity>); @@ -780,28 +780,28 @@ testing: - 2d.text.drawing.style.spacing code: | - @assert ctx.textLetterSpacing === 0; + @assert ctx.letterSpacing === 0; @assert ctx.wordSpacing === 0; var width_normal = ctx.measureText('Hello World').width; - ctx.textLetterSpacing = 3; - @assert ctx.textLetterSpacing === 3; + ctx.letterSpacing = 3; + @assert ctx.letterSpacing === 3; @assert ctx.wordSpacing === 0; var width_with_spacing = ctx.measureText('Hello World').width; // Add letter spacing after each letter, so 11 * 3 = 33px longer. @assert width_with_spacing === width_normal + 33; ctx.wordSpacing = 5; - ctx.textLetterSpacing = 0; - @assert ctx.textLetterSpacing === 0; + ctx.letterSpacing = 0; + @assert ctx.letterSpacing === 0; @assert ctx.wordSpacing === 5; // Add Word Spacing between "Hello" and "World", so it's 5px longer. width_with_spacing = ctx.measureText('Hello World').width; @assert width_with_spacing === width_normal + 5; - ctx.textLetterSpacing = -2; + ctx.letterSpacing = -2; ctx.wordSpacing = -1; - @assert ctx.textLetterSpacing === -2; + @assert ctx.letterSpacing === -2; @assert ctx.wordSpacing === -1; // Add Word Spacing and letter spacing, so it's -11*2 = -22px from // letter spacing and -1px from word spacing. diff --git a/third_party/blink/web_tests/external/wpt/html/canvas/tools/yaml/offscreen/text.yaml b/third_party/blink/web_tests/external/wpt/html/canvas/tools/yaml/offscreen/text.yaml index df4cc1c307d87c..d034011fbfab71 100644 --- a/third_party/blink/web_tests/external/wpt/html/canvas/tools/yaml/offscreen/text.yaml +++ b/third_party/blink/web_tests/external/wpt/html/canvas/tools/yaml/offscreen/text.yaml @@ -1241,20 +1241,20 @@ testing: - 2d.text.drawing.style.spacing code: | - @assert ctx.textLetterSpacing === 0; + @assert ctx.letterSpacing === 0; @assert ctx.wordSpacing === 0; - ctx.textLetterSpacing = 3; - @assert ctx.textLetterSpacing === 3; + ctx.letterSpacing = 3; + @assert ctx.letterSpacing === 3; @assert ctx.wordSpacing === 0; ctx.wordSpacing = 5; - @assert ctx.textLetterSpacing === 3; + @assert ctx.letterSpacing === 3; @assert ctx.wordSpacing === 5; - ctx.textLetterSpacing = -1; + ctx.letterSpacing = -1; ctx.wordSpacing = -1; - @assert ctx.textLetterSpacing === -1; + @assert ctx.letterSpacing === -1; @assert ctx.wordSpacing === -1; t.done(); @@ -1263,14 +1263,14 @@ testing: - 2d.text.drawing.style.spacing code: | - @assert ctx.textLetterSpacing === 0; + @assert ctx.letterSpacing === 0; @assert ctx.wordSpacing === 0; function test_word_spacing(value) { ctx.wordSpacing = value; - ctx.textLetterSpacing = value; + ctx.letterSpacing = value; @assert ctx.wordSpacing === 0; - @assert ctx.textLetterSpacing === 0; + @assert ctx.letterSpacing === 0; } @nonfinite test_word_spacing(<0 NaN Infinity -Infinity>); @@ -1281,28 +1281,28 @@ testing: - 2d.text.drawing.style.spacing code: | - @assert ctx.textLetterSpacing === 0; + @assert ctx.letterSpacing === 0; @assert ctx.wordSpacing === 0; var width_normal = ctx.measureText('Hello World').width; - ctx.textLetterSpacing = 3; - @assert ctx.textLetterSpacing === 3; + ctx.letterSpacing = 3; + @assert ctx.letterSpacing === 3; @assert ctx.wordSpacing === 0; var width_with_spacing = ctx.measureText('Hello World').width; // Add letter spacing after each letter, so 11 * 3 = 33px longer. @assert width_with_spacing === width_normal + 33; ctx.wordSpacing = 5; - ctx.textLetterSpacing = 0; - @assert ctx.textLetterSpacing === 0; + ctx.letterSpacing = 0; + @assert ctx.letterSpacing === 0; @assert ctx.wordSpacing === 5; // Add Word Spacing between "Hello" and "World", so it's 5px longer. width_with_spacing = ctx.measureText('Hello World').width; @assert width_with_spacing === width_normal + 5; - ctx.textLetterSpacing = -2; + ctx.letterSpacing = -2; ctx.wordSpacing = -1; - @assert ctx.textLetterSpacing === -2; + @assert ctx.letterSpacing === -2; @assert ctx.wordSpacing === -1; // Add Word Spacing and letter spacing, so it's -11*2 = -22px from // letter spacing and -1px from word spacing. diff --git a/third_party/blink/web_tests/external/wpt/html/dom/idlharness.https_exclude=(Document_Window_HTML._)-expected.txt b/third_party/blink/web_tests/external/wpt/html/dom/idlharness.https_exclude=(Document_Window_HTML._)-expected.txt index de79a04477dbd5..7aec7b8cc39c18 100644 --- a/third_party/blink/web_tests/external/wpt/html/dom/idlharness.https_exclude=(Document_Window_HTML._)-expected.txt +++ b/third_party/blink/web_tests/external/wpt/html/dom/idlharness.https_exclude=(Document_Window_HTML._)-expected.txt @@ -1,5 +1,5 @@ This is a testharness.js-based test. -Found 1445 tests; 1411 PASS, 34 FAIL, 0 TIMEOUT, 0 NOTRUN. +Found 1445 tests; 1408 PASS, 37 FAIL, 0 TIMEOUT, 0 NOTRUN. PASS idl_test setup PASS idl_test validation PASS Partial interface Document: original interface defined @@ -495,7 +495,7 @@ PASS CanvasRenderingContext2D interface: attribute font PASS CanvasRenderingContext2D interface: attribute textAlign PASS CanvasRenderingContext2D interface: attribute textBaseline PASS CanvasRenderingContext2D interface: attribute direction -PASS CanvasRenderingContext2D interface: attribute textLetterSpacing +FAIL CanvasRenderingContext2D interface: attribute textLetterSpacing assert_true: The prototype object must have a property "textLetterSpacing" expected true got false FAIL CanvasRenderingContext2D interface: attribute textWordSpacing assert_true: The prototype object must have a property "textWordSpacing" expected true got false PASS CanvasRenderingContext2D interface: attribute fontKerning PASS CanvasRenderingContext2D interface: attribute fontStretch @@ -617,7 +617,7 @@ PASS CanvasRenderingContext2D interface: document.createElement("canvas").getCon PASS CanvasRenderingContext2D interface: document.createElement("canvas").getContext("2d") must inherit property "textAlign" with the proper type PASS CanvasRenderingContext2D interface: document.createElement("canvas").getContext("2d") must inherit property "textBaseline" with the proper type PASS CanvasRenderingContext2D interface: document.createElement("canvas").getContext("2d") must inherit property "direction" with the proper type -PASS CanvasRenderingContext2D interface: document.createElement("canvas").getContext("2d") must inherit property "textLetterSpacing" with the proper type +FAIL CanvasRenderingContext2D interface: document.createElement("canvas").getContext("2d") must inherit property "textLetterSpacing" with the proper type assert_inherits: property "textLetterSpacing" not found in prototype chain FAIL CanvasRenderingContext2D interface: document.createElement("canvas").getContext("2d") must inherit property "textWordSpacing" with the proper type assert_inherits: property "textWordSpacing" not found in prototype chain PASS CanvasRenderingContext2D interface: document.createElement("canvas").getContext("2d") must inherit property "fontKerning" with the proper type PASS CanvasRenderingContext2D interface: document.createElement("canvas").getContext("2d") must inherit property "fontStretch" with the proper type @@ -793,7 +793,7 @@ PASS OffscreenCanvasRenderingContext2D interface: attribute font PASS OffscreenCanvasRenderingContext2D interface: attribute textAlign PASS OffscreenCanvasRenderingContext2D interface: attribute textBaseline PASS OffscreenCanvasRenderingContext2D interface: attribute direction -PASS OffscreenCanvasRenderingContext2D interface: attribute textLetterSpacing +FAIL OffscreenCanvasRenderingContext2D interface: attribute textLetterSpacing assert_true: The prototype object must have a property "textLetterSpacing" expected true got false FAIL OffscreenCanvasRenderingContext2D interface: attribute textWordSpacing assert_true: The prototype object must have a property "textWordSpacing" expected true got false PASS OffscreenCanvasRenderingContext2D interface: attribute fontKerning PASS OffscreenCanvasRenderingContext2D interface: attribute fontStretch diff --git a/third_party/blink/web_tests/external/wpt/html/dom/idlharness.worker-expected.txt b/third_party/blink/web_tests/external/wpt/html/dom/idlharness.worker-expected.txt index 10ce0c3c39da77..caef5119972432 100644 --- a/third_party/blink/web_tests/external/wpt/html/dom/idlharness.worker-expected.txt +++ b/third_party/blink/web_tests/external/wpt/html/dom/idlharness.worker-expected.txt @@ -1,5 +1,5 @@ This is a testharness.js-based test. -Found 805 tests; 796 PASS, 9 FAIL, 0 TIMEOUT, 0 NOTRUN. +Found 805 tests; 795 PASS, 10 FAIL, 0 TIMEOUT, 0 NOTRUN. PASS idl_test setup PASS idl_test validation PASS Partial interface Document: original interface defined @@ -401,7 +401,7 @@ PASS OffscreenCanvasRenderingContext2D interface: attribute font PASS OffscreenCanvasRenderingContext2D interface: attribute textAlign PASS OffscreenCanvasRenderingContext2D interface: attribute textBaseline PASS OffscreenCanvasRenderingContext2D interface: attribute direction -PASS OffscreenCanvasRenderingContext2D interface: attribute textLetterSpacing +FAIL OffscreenCanvasRenderingContext2D interface: attribute textLetterSpacing assert_true: The prototype object must have a property "textLetterSpacing" expected true got false FAIL OffscreenCanvasRenderingContext2D interface: attribute textWordSpacing assert_true: The prototype object must have a property "textWordSpacing" expected true got false PASS OffscreenCanvasRenderingContext2D interface: attribute fontKerning PASS OffscreenCanvasRenderingContext2D interface: attribute fontStretch diff --git a/third_party/blink/web_tests/fast/canvas/canvas-text-drawing-style-letterWordSpacing.html b/third_party/blink/web_tests/fast/canvas/canvas-text-drawing-style-letterWordSpacing.html index 3af3ef66122c99..c58d1c5f1c5e4a 100644 --- a/third_party/blink/web_tests/fast/canvas/canvas-text-drawing-style-letterWordSpacing.html +++ b/third_party/blink/web_tests/fast/canvas/canvas-text-drawing-style-letterWordSpacing.html @@ -6,16 +6,16 @@ var ctx = document.createElement('canvas').getContext('2d'); // Verify initial values: - assert_equals(ctx.textLetterSpacing, 0); + assert_equals(ctx.letterSpacing, 0); assert_equals(ctx.wordSpacing, 0); - ctx.textLetterSpacing = 3; - assert_equals(ctx.textLetterSpacing, 3); + ctx.letterSpacing = 3; + assert_equals(ctx.letterSpacing, 3); assert_equals(ctx.wordSpacing, 0); ctx.wordSpacing = 5; - assert_equals(ctx.textLetterSpacing, 3); + assert_equals(ctx.letterSpacing, 3); assert_equals(ctx.wordSpacing, 5); -}, "Test basic functionality of textLetterSpacing and wordSpacing."); +}, "Test basic functionality of letterSpacing and wordSpacing."); diff --git a/third_party/blink/web_tests/http/tests/serviceworker/webexposed/global-interface-listing-service-worker-expected.txt b/third_party/blink/web_tests/http/tests/serviceworker/webexposed/global-interface-listing-service-worker-expected.txt index 234c534d1e2dcc..92be067294929b 100644 --- a/third_party/blink/web_tests/http/tests/serviceworker/webexposed/global-interface-listing-service-worker-expected.txt +++ b/third_party/blink/web_tests/http/tests/serviceworker/webexposed/global-interface-listing-service-worker-expected.txt @@ -997,6 +997,7 @@ interface OffscreenCanvasRenderingContext2D getter globalCompositeOperation getter imageSmoothingEnabled getter imageSmoothingQuality + getter letterSpacing getter lineCap getter lineDashOffset getter lineJoin @@ -1009,7 +1010,6 @@ interface OffscreenCanvasRenderingContext2D getter strokeStyle getter textAlign getter textBaseline - getter textLetterSpacing getter textRendering getter wordSpacing method arc @@ -1073,6 +1073,7 @@ interface OffscreenCanvasRenderingContext2D setter globalCompositeOperation setter imageSmoothingEnabled setter imageSmoothingQuality + setter letterSpacing setter lineCap setter lineDashOffset setter lineJoin @@ -1085,7 +1086,6 @@ interface OffscreenCanvasRenderingContext2D setter strokeStyle setter textAlign setter textBaseline - setter textLetterSpacing setter textRendering setter wordSpacing interface Path2D diff --git a/third_party/blink/web_tests/webexposed/global-interface-listing-dedicated-worker-expected.txt b/third_party/blink/web_tests/webexposed/global-interface-listing-dedicated-worker-expected.txt index 6cd2430f9a69bf..8642e017c20b3f 100644 --- a/third_party/blink/web_tests/webexposed/global-interface-listing-dedicated-worker-expected.txt +++ b/third_party/blink/web_tests/webexposed/global-interface-listing-dedicated-worker-expected.txt @@ -1044,6 +1044,7 @@ Starting worker: resources/global-interface-listing-worker.js [Worker] getter globalCompositeOperation [Worker] getter imageSmoothingEnabled [Worker] getter imageSmoothingQuality +[Worker] getter letterSpacing [Worker] getter lineCap [Worker] getter lineDashOffset [Worker] getter lineJoin @@ -1056,7 +1057,6 @@ Starting worker: resources/global-interface-listing-worker.js [Worker] getter strokeStyle [Worker] getter textAlign [Worker] getter textBaseline -[Worker] getter textLetterSpacing [Worker] getter textRendering [Worker] getter wordSpacing [Worker] method arc @@ -1120,6 +1120,7 @@ Starting worker: resources/global-interface-listing-worker.js [Worker] setter globalCompositeOperation [Worker] setter imageSmoothingEnabled [Worker] setter imageSmoothingQuality +[Worker] setter letterSpacing [Worker] setter lineCap [Worker] setter lineDashOffset [Worker] setter lineJoin @@ -1132,7 +1133,6 @@ Starting worker: resources/global-interface-listing-worker.js [Worker] setter strokeStyle [Worker] setter textAlign [Worker] setter textBaseline -[Worker] setter textLetterSpacing [Worker] setter textRendering [Worker] setter wordSpacing [Worker] interface Path2D diff --git a/third_party/blink/web_tests/webexposed/global-interface-listing-expected.txt b/third_party/blink/web_tests/webexposed/global-interface-listing-expected.txt index 9c10dfb0d407f4..909a8688525798 100644 --- a/third_party/blink/web_tests/webexposed/global-interface-listing-expected.txt +++ b/third_party/blink/web_tests/webexposed/global-interface-listing-expected.txt @@ -1095,6 +1095,7 @@ interface CanvasRenderingContext2D getter globalCompositeOperation getter imageSmoothingEnabled getter imageSmoothingQuality + getter letterSpacing getter lineCap getter lineDashOffset getter lineJoin @@ -1107,7 +1108,6 @@ interface CanvasRenderingContext2D getter strokeStyle getter textAlign getter textBaseline - getter textLetterSpacing getter textRendering getter wordSpacing method addHitRegion @@ -1177,6 +1177,7 @@ interface CanvasRenderingContext2D setter globalCompositeOperation setter imageSmoothingEnabled setter imageSmoothingQuality + setter letterSpacing setter lineCap setter lineDashOffset setter lineJoin @@ -1189,7 +1190,6 @@ interface CanvasRenderingContext2D setter strokeStyle setter textAlign setter textBaseline - setter textLetterSpacing setter textRendering setter wordSpacing interface CaptureHandleChangeEvent : Event @@ -5948,6 +5948,7 @@ interface OffscreenCanvasRenderingContext2D getter globalCompositeOperation getter imageSmoothingEnabled getter imageSmoothingQuality + getter letterSpacing getter lineCap getter lineDashOffset getter lineJoin @@ -5960,7 +5961,6 @@ interface OffscreenCanvasRenderingContext2D getter strokeStyle getter textAlign getter textBaseline - getter textLetterSpacing getter textRendering getter wordSpacing method arc @@ -6024,6 +6024,7 @@ interface OffscreenCanvasRenderingContext2D setter globalCompositeOperation setter imageSmoothingEnabled setter imageSmoothingQuality + setter letterSpacing setter lineCap setter lineDashOffset setter lineJoin @@ -6036,7 +6037,6 @@ interface OffscreenCanvasRenderingContext2D setter strokeStyle setter textAlign setter textBaseline - setter textLetterSpacing setter textRendering setter wordSpacing interface Option diff --git a/third_party/blink/web_tests/webexposed/global-interface-listing-shared-worker-expected.txt b/third_party/blink/web_tests/webexposed/global-interface-listing-shared-worker-expected.txt index caef66cbdeb995..f9f9671062a3c6 100644 --- a/third_party/blink/web_tests/webexposed/global-interface-listing-shared-worker-expected.txt +++ b/third_party/blink/web_tests/webexposed/global-interface-listing-shared-worker-expected.txt @@ -917,6 +917,7 @@ Starting worker: resources/global-interface-listing-worker.js [Worker] getter globalCompositeOperation [Worker] getter imageSmoothingEnabled [Worker] getter imageSmoothingQuality +[Worker] getter letterSpacing [Worker] getter lineCap [Worker] getter lineDashOffset [Worker] getter lineJoin @@ -929,7 +930,6 @@ Starting worker: resources/global-interface-listing-worker.js [Worker] getter strokeStyle [Worker] getter textAlign [Worker] getter textBaseline -[Worker] getter textLetterSpacing [Worker] getter textRendering [Worker] getter wordSpacing [Worker] method arc @@ -993,6 +993,7 @@ Starting worker: resources/global-interface-listing-worker.js [Worker] setter globalCompositeOperation [Worker] setter imageSmoothingEnabled [Worker] setter imageSmoothingQuality +[Worker] setter letterSpacing [Worker] setter lineCap [Worker] setter lineDashOffset [Worker] setter lineJoin @@ -1005,7 +1006,6 @@ Starting worker: resources/global-interface-listing-worker.js [Worker] setter strokeStyle [Worker] setter textAlign [Worker] setter textBaseline -[Worker] setter textLetterSpacing [Worker] setter textRendering [Worker] setter wordSpacing [Worker] interface Path2D