Skip to content

Commit ecb89e9

Browse files
committed
separate security and privacy considerations
1 parent 0b44cb3 commit ecb89e9

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

css-masking-1/Overview.bs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1267,7 +1267,7 @@ The 'mask-type' property allows the author of the <a element>mask</a> element to
12671267
The 'mask-type' property is a <a href="https://www.w3.org/TR/2011/REC-SVG11-20110816/intro.html#TermPresentationAttribute">presentation attribute</a> for SVG elements.
12681268

12691269

1270-
# Privacy and Security Considerations # {#priv-sec}
1270+
# Privacy Considerations # {#priv}
12711271

12721272
It is important that the timing to the masking operations is independent of the source and destination pixel. Masking operations must be implemented in such a way that they always take the same amount of time regardless of the pixel values. If this rule is not followed, an attacker could infer information and mount a timing attack.
12731273

@@ -1277,6 +1277,11 @@ A timing attack is a method of obtaining information about content that is other
12771277

12781278
User agents must use the <a href="https://fetch.spec.whatwg.org/#main-fetch">potentially CORS-enabled fetch</a> method defined by the [[!FETCH]] specification for all <<mask-source>>, <<clip-source>> and <<image>> values on the 'mask-image', 'mask-border-source' and 'clip-path' properties. When fetching, user agents must use “Anonymous” mode, set the referrer source to the stylesheet's URL and set the origin to the URL of the containing document. If this results in network errors, the effect is as if the value ''mask-image/none'' had been specified.
12791279

1280+
# Security Considerations # {#sec}
1281+
1282+
No new security considerations have been raised on this specification.
1283+
1284+
12801285
<h2 id="clip-property" class="no-num">Appendix A: The deprecated 'clip' property</h3>
12811286

12821287
<pre class=propdef>

0 commit comments

Comments
 (0)