Skip to content

Commit 69eb4fe

Browse files
committed
Add wpt annotations, implementation report
1 parent f28f25f commit 69eb4fe

File tree

1 file changed

+118
-14
lines changed

1 file changed

+118
-14
lines changed

compositing-1/Overview.bs

Lines changed: 118 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,19 @@ ED: https://drafts.fxtf.org/compositing-1/
66
TR: https://www.w3.org/TR/compositing-1/
77
Prepare for TR: no
88
Previous Version: https://www.w3.org/TR/2015/CR-compositing-1-20150113/
9-
Previous Version: https://www.w3.org/TR/2014/CR-compositing-1-20140220/
109
Shortname: compositing
1110
Link Defaults: css-color-4 (property) color, css-masking-1 (property) mask
1211
Level: 1
1312
Group: fxtf
13+
Repository: w3c/fxtf-drafts
14+
Complain About: missing-example-ids false
15+
Complain About: broken-links false
16+
Complain About: accidental-2119 true
17+
Inline Github Issues: title
18+
Default Highlight: css
19+
Implementation Report: https://wpt.fyi/results/css/compositing
20+
WPT Path Prefix: css/compositing/
21+
WPT Display: open
1422
Former Editor: Rik Cabanier, then of Adobe Systems Inc., w3cid 106988
1523
Former Editor: Nikos Andronikos, Canon Information Systems Research Australia, Nikos.Andronikos@cisra.canon.com.au
1624
Editor: Chris Harrelson, Google, chrishtr@chromium.org, w3cid 90243
@@ -135,6 +143,67 @@ The syntax of the property of <<blend-mode>> is given with:
135143

136144
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.
137145

146+
<wpt>
147+
Blending_in_a_group_with_filter.html
148+
Blending_in_a_group_with_opacity.html
149+
Text_with_SVG_background.html
150+
inheritance.html
151+
line-with-svg-background.html
152+
svg/mix-blend-mode-in-svg-image.html
153+
svg/mix-blend-mode-svg-rectangle.html
154+
text-with-svg-background.html
155+
mix-blend-mode/mix-blend-mode-animation.html
156+
mix-blend-mode/mix-blend-mode-blended-element-interposed.html
157+
mix-blend-mode/mix-blend-mode-blended-element-overflow-hidden-and-border-radius.html
158+
mix-blend-mode/mix-blend-mode-blended-element-overflow-scroll.html
159+
mix-blend-mode/mix-blend-mode-blended-element-with-transparent-pixels.html
160+
mix-blend-mode/mix-blend-mode-blended-with-3D-transform.html
161+
mix-blend-mode/mix-blend-mode-blended-with-transform-and-perspective.html
162+
mix-blend-mode/mix-blend-mode-blending-with-sibling.html
163+
mix-blend-mode/mix-blend-mode-border-image.html
164+
mix-blend-mode/mix-blend-mode-both-parent-and-blended-with-3D-transform.html
165+
mix-blend-mode/mix-blend-mode-canvas-parent.html
166+
mix-blend-mode/mix-blend-mode-canvas-sibling.html
167+
mix-blend-mode/mix-blend-mode-creates-stacking-context.html
168+
mix-blend-mode/mix-blend-mode-filter.html
169+
mix-blend-mode/mix-blend-mode-iframe-parent.html
170+
mix-blend-mode/mix-blend-mode-iframe-sibling.html
171+
mix-blend-mode/mix-blend-mode-image.html
172+
mix-blend-mode/mix-blend-mode-intermediate-element-overflow-hidden-and-border-radius.html
173+
mix-blend-mode/mix-blend-mode-mask.html
174+
mix-blend-mode/mix-blend-mode-overflowing-child-of-blended-element.html
175+
mix-blend-mode/mix-blend-mode-overflowing-child.html
176+
mix-blend-mode/mix-blend-mode-paragraph-background-image.html
177+
mix-blend-mode/mix-blend-mode-paragraph.html
178+
mix-blend-mode/mix-blend-mode-parent-element-overflow-hidden-and-border-radius.html
179+
mix-blend-mode/mix-blend-mode-parent-element-overflow-scroll-blended-position-fixed.html
180+
mix-blend-mode/mix-blend-mode-parent-element-overflow-scroll.html
181+
mix-blend-mode/mix-blend-mode-parent-with-3D-transform-and-transition.html
182+
mix-blend-mode/mix-blend-mode-parent-with-3D-transform.html
183+
mix-blend-mode/mix-blend-mode-parent-with-border-radius.html
184+
mix-blend-mode/mix-blend-mode-parent-with-text.html
185+
mix-blend-mode/mix-blend-mode-parsing.html
186+
mix-blend-mode/mix-blend-mode-plus-lighter-basic.html
187+
mix-blend-mode/mix-blend-mode-plus-lighter-svg-basic.html
188+
mix-blend-mode/mix-blend-mode-plus-lighter-svg.html
189+
mix-blend-mode/mix-blend-mode-plus-lighter.html
190+
mix-blend-mode/mix-blend-mode-root-element-group.html
191+
mix-blend-mode/mix-blend-mode-rotated-clip.html
192+
mix-blend-mode/mix-blend-mode-script.html
193+
mix-blend-mode/mix-blend-mode-sibling-with-3D-transform-and-transition.html
194+
mix-blend-mode/mix-blend-mode-sibling-with-3D-transform.html
195+
mix-blend-mode/mix-blend-mode-simple.html
196+
mix-blend-mode/mix-blend-mode-stacking-context-001.html
197+
mix-blend-mode/mix-blend-mode-stacking-context-creates-isolation.html
198+
mix-blend-mode/mix-blend-mode-svg.html
199+
mix-blend-mode/mix-blend-mode-video-sibling.html
200+
mix-blend-mode/mix-blend-mode-video.html
201+
mix-blend-mode/mix-blend-mode-with-transform-and-preserve-3D.html
202+
parsing/mix-blend-mode-computed.html
203+
parsing/mix-blend-mode-invalid.html
204+
parsing/mix-blend-mode-valid.html
205+
</wpt>
206+
138207
<div class="example">
139208
<p>Given the following sample markup:</p>
140209
<pre>
@@ -274,6 +343,15 @@ The syntax of the property of <<isolation-mode>> is given with:
274343

275344
<pre class="isolated prod"><dfn id="isolated-propid">&lt;isolation-mode></dfn> = auto | isolate</pre>
276345

346+
<wpt>
347+
inheritance.html
348+
isolation/animation/isolation-no-interpolation.html
349+
isolation/blend-isolation.html
350+
parsing/isolation-computed.html
351+
parsing/isolation-invalid.html
352+
parsing/isolation-valid.html
353+
</wpt>
354+
277355
<p id="img_isolation">
278356
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>
279357

@@ -299,6 +377,16 @@ Media: visual
299377
Animation type: discrete
300378
</pre>
301379

380+
<wpt>
381+
inheritance.html
382+
background-blending/background-blend-mode-gradient-image.html
383+
background-blending/background-blend-mode-plus-lighter.html
384+
parsing/background-blend-mode-computed-multiple.html
385+
parsing/background-blend-mode-computed.html
386+
parsing/background-blend-mode-invalid.html
387+
parsing/background-blend-mode-valid.html
388+
</wpt>
389+
302390
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>
303391

304392
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:
364452

365453
<pre class="compositemode prod"><dfn id="compositemode">&lt;composite-mode></dfn> = <a href="#porterduffcompositingoperators_clear">clear</a> | <a href="#porterduffcompositingoperators_src">copy</a> | <a href="#porterduffcompositingoperators_srcover">source-over</a> | <a href="#porterduffcompositingoperators_dstover">destination-over</a> | <a href="#porterduffcompositingoperators_srcin">source-in</a> | <br><a href="#porterduffcompositingoperators_dstin">destination-in</a> | <a href="#porterduffcompositingoperators_srcout">source-out</a> | <a href="#porterduffcompositingoperators_dstout">destination-out</a> | <a href="#porterduffcompositingoperators_srcatop">source-atop</a> | <br><a href="#porterduffcompositingoperators_dstatop">destination-atop</a> | <a href="#porterduffcompositingoperators_xor">xor</a> | <a href="#porterduffcompositingoperators_plus">lighter</a></pre>
366454

455+
<wpt>
456+
canvas-composite-modes.html
457+
</wpt>
458+
367459
<h2 id="whatiscompositing">Introduction to compositing</h2>
368460

369461
Compositing is the combining of a graphic element with its backdrop.
@@ -718,6 +810,19 @@ root element group, and any filter, clip-path, mask and and opacity is then
718810
applied, before compositing into the <a href="#rootgroup">root group</a>,
719811
if present.
720812

813+
<wpt>
814+
root-element-background-image-transparency-001.html
815+
root-element-background-image-transparency-002.html
816+
root-element-background-image-transparency-003.html
817+
root-element-background-image-transparency-004.html
818+
root-element-background-transparency.html
819+
root-element-blend-mode.html
820+
root-element-filter-background-clip-text-crash.html
821+
root-element-filter.html
822+
root-element-opacity-change.html
823+
root-element-opacity.html
824+
</wpt>
825+
721826
<h3 id="rootgroup">The Root Group</h3>
722827
The root group encompasses the entire canvas and contains (or is below) the root element group of the root element of a web page.
723828

@@ -1199,7 +1304,7 @@ Brightens the <a>backdrop</a> color to reflect the source color. Painting with b
11991304
</pre>
12001305

12011306
<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">
12031308
<p class="caption"></p>
12041309
</div>
12051310

@@ -1403,8 +1508,14 @@ In both instances, the result of the group composite is composited onto the land
14031508

14041509
</div>
14051510

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+
14081519
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>
14091520

14101521
<div class="note">
@@ -1419,16 +1530,6 @@ If this rule is not followed, an attacker could infer information and mount a ti
14191530
of the element.</p>
14201531
</div>
14211532

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-
14321533
<h2 id="changes" class="no-num">Changes</h2>
14331534

14341535
The following changes were made relative to the <a
@@ -1487,5 +1588,8 @@ Draft of 2013-06-25</a>:
14871588
<li>all open issues were resolved
14881589
</ul>
14891590

1591+
<wpt ignore>
1592+
opacity-and-transform-animation-crash.html
1593+
</wpt>
14901594
</body>
14911595
</html>

0 commit comments

Comments
 (0)