You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Removed PORTERDUFF from the extra bibliographic references, because it is already included with the automatic references. Fixed some spelling errors. Updated the link to the previous version. Added missing keyword "alternate" in link to alternative style.
In addition, this specification will define CSS properties for blending and group isolaition and define the <ahref="http://www.w3.org/TR/2dcontext2/#dom-context-2d-globalcompositeoperation" title="canvas 2d globalcompositeoperation">
287
+
In addition, this specification will define CSS properties for blending and group isolation and define the <ahref="http://www.w3.org/TR/2dcontext2/#dom-context-2d-globalcompositeoperation" title="canvas 2d globalcompositeoperation">
288
288
'globalcompositeoperation'</a> as defined in [[!2DCONTEXT2]].
289
289
</p>
290
290
@@ -302,6 +302,8 @@ <h2 class="no-num no-toc" id="status">Status of This Document</h2>
302
302
<ol>
303
303
<li>Force <ahref="#img_isolation">'isolation'</a> if an SVG images is linked using the 'img' element.</li>
304
304
</ol>
305
+
306
+
<p>The deadline for comments is 28 January 2014.
305
307
306
308
<h2class="no-num no-toc" id="contents">Table of contents</h2>
The default properties of a compositing group shall cause no visual difference compared to having no group. See <ahref="#groupinvariance">Group Invariance</a>.
1359
1361
</p>
1360
1362
<p>
1361
-
A compositing group is rendered by first compositing the elements of the group onto the inital backdrop. The result of this is a single element containing
1363
+
A compositing group is rendered by first compositing the elements of the group onto the initial backdrop. The result of this is a single element containing
1362
1364
color and alpha information. This element is then composited onto the group backdrop.
1363
1365
Steps shall be taken to ensure the group backdrop makes only a single contribution to the final composite.
1364
1366
<dl>
1365
1367
<dtid="initialbackdrop">initial backdrop</dt>
1366
1368
<dd>
1367
-
The intial backdrop is the backdrop used for compositing the group's first element. This will be the same as the group backdrop in a non-isolated
1369
+
The initial backdrop is the backdrop used for compositing the group's first element. This will be the same as the group backdrop in a non-isolated
1368
1370
group, or a fully transparent backdrop for an isolated group.
In a knockout group, each individual element shall be composited with the initial backdrop rather than with the stack of preceeding elements in the group.
1402
+
In a knockout group, each individual element shall be composited with the initial backdrop rather than with the stack of preceding elements in the group.
1401
1403
When calculating the <a href="#backdrop">backdrop</a> for an element inside a knockout group, the elements of the group are ignored. Instead, only the elements that are behind the knockout group are included in the backdrop.
The result of the mixing formula must be clamped to the minimum and maximum values of the color range.
1711
1713
</p>
1712
1714
<p>
1713
-
The result of the mixing function is modulated by the backdrop alpha. A fully opaque backdrop allows the mixing function to be fully realised.
1715
+
The result of the mixing function is modulated by the backdrop alpha. A fully opaque backdrop allows the mixing function to be fully realized.
1714
1716
A transparent backdrop will cause the final result to be a weighted average between the source color and mixed color with the weight controlled by the backdrop alpha.
Nonseparable blend modes consider all color components in combination as opposed to the seperable ones that look at each component individually.
1949
+
Nonseparable blend modes consider all color components in combination as opposed to the separable ones that look at each component individually.
1948
1950
All of these blend modes conceptually entail the following steps:
1949
1951
</p>
1950
1952
<p>
@@ -2060,7 +2062,7 @@ <h3 id="isolationblending">Effect of group isolation on blending</h3>
2060
2062
2061
2063
<h2id="security">Security issues with compositing and blending</h2>
2062
2064
<p>
2063
-
It is important that the timing to the blending and compositing operations is independant of the source and destination pixel. Operations must be implemented in such a way that they always take the same amount of time regardless of the pixel values.</p>
2065
+
It is important that the timing to the blending and compositing operations is independent of the source and destination pixel. Operations must be implemented in such a way that they always take the same amount of time regardless of the pixel values.</p>
2064
2066
<divclass="note">
2065
2067
<p>
2066
2068
If this rule is not followed, an attacker could infer information and mount a timing attack.
0 commit comments