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
Former Editor: Rik Cabanier, then of Adobe Systems Inc., w3cid 106988
15
23
Former Editor: Nikos Andronikos, Canon Information Systems Research Australia, Nikos.Andronikos@cisra.canon.com.au
16
24
Editor: Chris Harrelson, Google, chrishtr@chromium.org, w3cid 90243
@@ -135,6 +143,67 @@ The syntax of the property of <<blend-mode>> is given with:
135
143
136
144
Note: Applying a blendmode other than <a value>normal</a> to the element must establish a new <a href="https://www.w3.org/tr/css21/visuren.html#x43">stacking context</a>[[!CSS21]]. This group must then be blended and composited with the <a href="https://www.w3.org/tr/css21/visuren.html#x43">stacking context</a> that contains the element.
In CSS, a background image or the content of an <a element>img</a> must always be rendered into an isolated group.<br>For instance, if you link to an SVG file through the <a element>img</a> tag, the artwork of that SVG will not blend with the backdrop of the content.</p>
The 'background-blend-mode' list must be applied in the same order as 'background-image'[[!CSS3BG]]. This means that the first element in the list will apply to the layer that is on top. If a property doesn't have enough comma-separated values to match the number of layers, the UA must calculate its used value by repeating the list of values until there are enough.</p>
303
391
304
392
If the 'background'[[!CSS3BG]] shorthand is used, the 'background-blend-mode'
@@ -364,6 +452,10 @@ The syntax of the property of <<composite-mode>> is given with:
The root group encompasses the entire canvas and contains (or is below) the root element group of the root element of a web page.
723
828
@@ -1199,7 +1304,7 @@ Brightens the <a>backdrop</a> color to reflect the source color. Painting with b
1199
1304
</pre>
1200
1305
1201
1306
<div class="figure">
1202
-
<img src="examples/colordodge.png" alt="example of color dodge blending"/>
1307
+
<img src="examples/colordodge.png" alt="example of color dodge blending">
1203
1308
<p class="caption"></p>
1204
1309
</div>
1205
1310
@@ -1403,8 +1508,14 @@ In both instances, the result of the group composite is composited onto the land
1403
1508
1404
1509
</div>
1405
1510
1406
-
<h2 id="security">Security issues with compositing and blending</h2>
1407
-
1511
+
<h2 id="privacy" class="no-num">
1512
+
Privacy Considerations</h2>
1513
+
1514
+
<p>No new privacy considerations have been reported on this specification.</p>
1515
+
1516
+
<h3 id="security" class="no-num">
1517
+
Security Considerations</h2>
1518
+
1408
1519
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>
1409
1520
1410
1521
<div class="note">
@@ -1419,16 +1530,6 @@ If this rule is not followed, an attacker could infer information and mount a ti
1419
1530
of the element.</p>
1420
1531
</div>
1421
1532
1422
-
<h2 id="privacy" class="no-num">
1423
-
Privacy Considerations</h2>
1424
-
1425
-
<p>No new privacy considerations have been reported on this specification.</p>
1426
-
1427
-
<h3 id="security" class="no-num">
1428
-
Security Considerations</h2>
1429
-
1430
-
<p>No new security considerations have been reported on this specification.</p>
1431
-
1432
1533
<h2 id="changes" class="no-num">Changes</h2>
1433
1534
1434
1535
The following changes were made relative to the <a
0 commit comments