Skip to content

Commit d687ded

Browse files
chrishtrsvgeesus
authored andcommitted
Merge pull request w3c#305 from chrishtr/fixlinkstooldspec
Replace links to w3c copy of canvas spec with links to living WHATWG spec
1 parent dda814b commit d687ded

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

compositing-2/Overview.bs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Editor: Chris Harrelson, Google Inc., chrishtr@chromium.org, w3cid 90243
1414
Former Editor: Nikos Andronikos, Canon Information Systems Research Australia, Nikos.Andronikos@cisra.canon.com.au
1515
Abstract: Compositing describes how shapes of different elements are combined into a single image. There are various possible approaches for compositing. Previous versions of SVG and CSS used <a href="https://www.w3.org/TR/SVG11/masking.html#SimpleAlphaBlending">Simple Alpha Compositing</a>. In this model, each element is rendered into its own buffer and is then merged with its <a>backdrop</a> using the Porter Duff ''source-over'' operator. This specification will define a new compositing model that expands upon the Simple Alpha Compositing model by offering:
1616
Abstract: <ul><li>additional Porter Duff compositing operators</li><li>advanced blending modes which allow control of how colors mix in the areas where shapes overlap</li><li>compositing groups</li></ul>
17-
Abstract: In addition, this specification will define CSS properties for blending and group isolation and the properties of the <a href="https://www.w3.org/TR/2dcontext2/#dom-context-2d-globalcompositeoperation" title="canvas 2d globalcompositeoperation">‘globalcompositeoperation’</a> attribute as defined in [[2DCONTEXT2]].
17+
Abstract: In addition, this specification will define CSS properties for blending and group isolation and the properties of the {{globalCompositeOperation}} attribute.
1818
</pre>
1919

2020
<style type="text/css">
@@ -49,7 +49,8 @@ The 'background-blend-mode' property also builds upon the properties defined in
4949

5050
This specification also enhances the rules as specified in <a href="https://www.w3.org/TR/2003/REC-SVG11-20030114/masking.html#SimpleAlphaBlending" title="simple alpha blending">Section 14.2 Simple alpha compositing</a> of [[SVG11]] and <a href="https://www.w3.org/TR/css3-color/#alpha" title="simple alpha compositing">simple alpha compositing</a> of [[!CSS3COLOR]].
5151

52-
This module also extends the <a href="https://www.w3.org/TR/2dcontext2/#dom-context-2d-globalcompositeoperation" title="canvas 2d globalcompositeoperation">‘globalcompositeoperation’</a> as defined in [[!2DCONTEXT2]].
52+
This module also extends the
53+
{{globalCompositeOperation}}.
5354

5455
<h3 id="values">Values</h3>
5556

@@ -324,7 +325,7 @@ Note that the gradient is not blending with the color of <a element>body</a>. In
324325

325326
<h2 id="canvascompositingandblending">Specifying Compositing and Blending in Canvas 2D</h2>
326327

327-
The <a href="https://www.w3.org/TR/2dcontext">canvas 2d</a> context defines the <a href="https://www.w3.org/TR/2dcontext/#dom-context-2d-globalcompositeoperation">‘globalCompositeOperation’</a> attribute that is used to set the current compositing and blending operator.
328+
The <a href="https://html.spec.whatwg.org/multipage/canvas.html#2dcontext">canvas 2d</a> context defines the {{globalCompositeOperation}} attribute that is used to set the current compositing and blending operator.
328329

329330
This property takes the following value:
330331

0 commit comments

Comments
 (0)