Skip to content

Commit fb8f5a9

Browse files
committed
[css-backgrounds-3] Dfn canvas surface and canvas background as terms. Mention that it's usually white. w3c#4863
1 parent b3d692e commit fb8f5a9

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

css-backgrounds-3/Overview.bs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1280,15 +1280,17 @@ then the canvas background is transparent.
12801280
For example, if the element has ''visibility: hidden'' but not ''display: none'',
12811281
boxes <em>are</em> generated for it and its background <em>is</em> used for the canvas.
12821282

1283-
<p>If the canvas background is not opaque, the surface that shows through is UA-dependent.
1283+
<p>If the [=canvas background=] is not opaque,
1284+
the <dfn export>canvas surface</dfn> below it shows through.
1285+
The texture of the [=canvas surface=] is UA-dependent
1286+
(but is typically an opaque white).
12841287

12851288
<h4 id="root-background">
12861289
The Canvas Background and the Root Element</h4>
12871290

1288-
<p>The background of the root element becomes the background of the
1289-
<a href="https://www.w3.org/TR/CSS2/intro.html#the-canvas">canvas</a>
1291+
<p>The background of the root element becomes the <dfn export>canvas background</dfn>
12901292
and its <span class=index>background painting area</span> extends
1291-
to cover the entire canvas.
1293+
to cover the entire <a href="https://www.w3.org/TR/CSS2/intro.html#the-canvas">canvas</a>.
12921294
However, any images are sized and positioned relative to the root element
12931295
as if they were painted for that element alone.
12941296
(In other words, the

0 commit comments

Comments
 (0)