@@ -60970,7 +60970,7 @@ interface mixin <dfn interface>CanvasFilters</dfn> {
60970
60970
60971
60971
typedef record<DOMString, any> <dfn>CanvasFilterInput</dfn>;
60972
60972
60973
- [Exposed=(Window,Worker,PaintWorkletGlobalScope )]
60973
+ [Exposed=(Window,Worker,PaintWorklet )]
60974
60974
interface <dfn interface>CanvasFilter</dfn> {
60975
60975
<span data-x="dom-CanvasFilter">constructor</span>(optional (<code>CanvasFilterInput</code> or sequence<<code>CanvasFilterInput</code>>) filters);
60976
60976
};
@@ -66015,22 +66015,22 @@ console.log(pixels.data[2]);
66015
66015
<code>CanvasFilter</code> object.</p>
66016
66016
</dd>
66017
66017
66018
- <dt><code data-x=""><var>context</var>.< span data-x="dom-context-2d-filter">filter</span> = new
66019
- <span subdfn data-x="dom-CanvasFilter">CanvasFilter</span>(<var>input</var>)</code></dt>
66018
+ <dt><code data-x=""><span data-x="dom-context-2d-filter">filter</span> = new <span subdfn
66019
+ data-x="dom-CanvasFilter">CanvasFilter</span>(<var>input</var>)</code></dt>
66020
66020
66021
66021
<dd>
66022
- <p>Constructs a new <span data-x="dom-CanvasFilter">CanvasFilter</span > from the properties of
66023
- the <var>input</var> object. These properties include a filter property, which is one of the
66024
- supported filter names, and additionally can include properties corresponding to the settings
66025
- for the filter. These latter properties are the same as the XML attribute names when using the
66026
- corresponding SVG filters.</p>
66022
+ <p>Constructs a new <code data-x="dom-CanvasFilter">CanvasFilter</code > from the properties of
66023
+ the <var>input</var> object. These properties include a <code data-x=""> filter</code> property,
66024
+ whose value is one of the supported filter names, and additionally can include properties
66025
+ corresponding to the settings for the filter. These latter properties are the same as the XML
66026
+ attribute names when using the corresponding SVG filters.</p>
66027
66027
</dd>
66028
66028
66029
- <dt><code data-x=""><var>context</var>.< span data-x="dom-context-2d-filter">filter</span> = new
66030
- <span data-x="dom-CanvasFilter">CanvasFilter</span>(<var>inputs</var>)</code></dt>
66029
+ <dt><code data-x=""><span data-x="dom-context-2d-filter">filter</span> = new <span
66030
+ data-x="dom-CanvasFilter">CanvasFilter</span>(<var>inputs</var>)</code></dt>
66031
66031
66032
66032
<dd>
66033
- <p>Constructs a new <span data-x="dom-CanvasFilter">CanvasFilter</span > from the
66033
+ <p>Constructs a new <code data-x="dom-CanvasFilter">CanvasFilter</code > from the
66034
66034
<var>inputs</var> array. Each element in the array is an input as described for the previous
66035
66035
overload. They are composed in sequence to create the final filter.</p>
66036
66036
</dd>
@@ -66049,11 +66049,6 @@ console.log(pixels.data[2]);
66049
66049
data-x="concept-canvas-current-filter">current filter</span> is the string "<code
66050
66050
data-x="">none</code>" filters will be disabled for the context.</p>
66051
66051
66052
- <p>A <span><filter-value-list></span> consists of a sequence of one or more filter
66053
- functions or references to SVG filters. The input to the filter is used as the input to the first
66054
- item in the list. Subsequent items take the output of the previous item as their input. <ref
66055
- spec=FILTERS></p>
66056
-
66057
66052
<p>A <code>CanvasFilter</code> is an interface for creating SVG filters using JavaScript. A
66058
66053
<code>CanvasFilter</code> has an associated <dfn
66059
66054
data-x="concept-concept-canvasfilter-xml-filter-list">XML filter list</dfn>. An <span
@@ -66201,17 +66196,19 @@ console.log(pixels.data[2]);
66201
66196
<p>If any of the following is true:</p>
66202
66197
66203
66198
<ul>
66204
- <li><p><var>key</var> is not listed as an attribute for the filter primitive given by
66205
- <var>xmlName</var></p></li>
66199
+ <li><p><var>key</var> is not listed as the local name of attribute for the filter
66200
+ primitive given by <var>xmlName</var></p></li>
66206
66201
66207
- <li><p><var>key</var> is a <span>core attribute</span></p></li>
66202
+ <li><p><var>key</var> is the local name a <span>core attribute</span></p></li>
66208
66203
66209
- <li><p><var>key</var> is a <span>presentation attribute</span></p></li>
66204
+ <li><p><var>key</var> is the local name a <span>presentation attribute</span></p></li>
66210
66205
66211
- <li><p><var>key</var> is a <span>filter primitive attribute</span></p></li>
66206
+ <li><p><var>key</var> is the local name a <span>filter primitive attribute</span></p></li>
66212
66207
66213
- <li><p><var>key</var> is "<code data-x="">in</code>", or "<code
66208
+ <li><p><var>key</var> is the local name "<code data-x="">in</code>", or "<code
66214
66209
data-x="">filter</code>"</p></li>
66210
+
66211
+ <li><p><var>key</var> contains U+003A (:)</p></li>
66215
66212
</ul>
66216
66213
66217
66214
<p>then <span>continue</span>.</p>
@@ -66366,16 +66363,17 @@ console.log(pixels.data[2]);
66366
66363
transformation matrix.</p></li>
66367
66364
66368
66365
<li>
66369
- <p>When the <code data-x="dom-context-2d -filter">filter</code> attribute is set to a value
66370
- other than "<code data-x="">none</code>" and all the externally-defined filters it references,
66371
- if any, are in documents that are currently loaded, then use image <var>A</var> as the input to
66372
- the <span data-x="concept-canvas-current-filter">current filter</span>, creating image
66373
- <var>B</var>. If the <span data-x="concept-canvas-current-filter">current filter</span> is a
66374
- string parseable as a <span><filter-value-list></span>, then draw using the <span
66366
+ <p>When the <span data-x="concept-canvas-current -filter">current filter</span> is set to a
66367
+ value other than "<code data-x="">none</code>" and all the externally-defined filters it
66368
+ references, if any, are in documents that are currently loaded, then use image <var>A</var> as
66369
+ the input to the <span data-x="concept-canvas-current-filter">current filter</span>, creating
66370
+ image <var>B</var>. If the <span data-x="concept-canvas-current-filter">current filter</span>
66371
+ is a string parseable as a <span><filter-value-list></span>, then draw using the <span
66375
66372
data-x="concept-canvas-current-filter">current filter</span> in the same manner as SVG. If the
66376
66373
<span data-x="concept-canvas-current-filter">current filter</span> is a
66377
66374
<code>CanvasFilter</code>, draw using the equivalent SVG for the XML structure stored in the
66378
- <span data-x="concept-canvas-current-filter">current filter</span>'s by mapping each <span>filter property</span> of the <span
66375
+ <span data-x="concept-canvas-current-filter">current filter</span>'s by mapping each
66376
+ <span>filter property</span> of the <span
66379
66377
data-x="concept-concept-canvasfilter-xml-filter-list">XML filter list</span>.</p>
66380
66378
66381
66379
<p>Otherwise, let <var>B</var> be an alias for <var>A</var>.</p>
0 commit comments