Skip to content

Commit 4041b2a

Browse files
authored
Merge pull request #562 from SebastianZ/typos-in-masking-example
[css-masking-1][editorial] Fixed typos in example
2 parents 4b938e2 + d13d181 commit 4041b2a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

css-masking-1/Overview.bs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1262,15 +1262,15 @@ The 'mask-type' property allows the author of the <a element>mask</a> element to
12621262
In the next example the computed value of 'mask-mode' is ''mask-mode/alpha'' and overrides the preference on the <a element>mask</a> element that is computed to ''mask-type/luminance''. The <a>mask layer image</a> is used as an alpha mask.
12631263

12641264
<pre><code highlight=html>
1265-
lt;svg>
1265+
&lt;svg>
12661266
&lt;mask style="mask-type: luminance;" id="mask2">
12671267
...
12681268
&lt;/mask>
1269-
lt;/svg>
1269+
&lt;/svg>
12701270

1271-
lt;p style="mask-image: url(#mask2); mask-mode: alpha;">
1271+
&lt;p style="mask-image: url(#mask2); mask-mode: alpha;">
12721272
This is the masked content.
1273-
lt;/p>
1273+
&lt;/p>
12741274
</code></pre>
12751275
</div>
12761276

0 commit comments

Comments
 (0)