Skip to content

Commit 9bbf056

Browse files
committed
[css-images] Clarify that paint sources might not have intrinsic sizes.
1 parent bcbee2c commit 9bbf056

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

css-images/Overview.bs

+2-2
Original file line numberDiff line numberDiff line change
@@ -332,8 +332,8 @@ Using Elements as Images: the ''element()'' notation</h3>
332332
Paint Sources</h4>
333333

334334
Host languages may define that some elements provide a <dfn export>paint source</dfn>.
335-
Paint sources have an intrinsic width, height, and appearance,
336-
separate from the process of rendering,
335+
Paint sources have an intrinsic appearance and can obtain a <a>concrete object size</a>
336+
without having to do layout or rendering,
337337
and so may be used as images even when they're <a title='element-not-rendered'>not rendered</a>.
338338

339339
In HTML, the <code>&lt;img></code>, <code>&lt;video></code>, and <code>&lt;canvas></code> elements provide paint sources

css-images/Overview.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -418,8 +418,8 @@ <h4 class="heading settled" data-level=1.2.1 id=paint-sources><span class=secno>
418418
Paint Sources</span><a class=self-link href=#paint-sources></a></h4>
419419

420420
<p>Host languages may define that some elements provide a <dfn data-dfn-type=dfn data-export="" id=paint-source>paint source<a class=self-link href=#paint-source></a></dfn>.
421-
Paint sources have an intrinsic width, height, and appearance,
422-
separate from the process of rendering,
421+
Paint sources have an intrinsic appearance and can obtain a <a data-link-type=dfn title="concrete object size">concrete object size</a>
422+
without having to do layout or rendering,
423423
and so may be used as images even when they’re <a data-link-type=dfn href=#element-not-rendered title=element-not-rendered>not rendered</a>.</p>
424424

425425
<p>In HTML, the <code>&lt;img&gt;</code>, <code>&lt;video&gt;</code>, and <code>&lt;canvas&gt;</code> elements provide paint sources

0 commit comments

Comments
 (0)