Skip to content

Commit 771394a

Browse files
committed
[css-egg] Bikeshed updates
1 parent 5386497 commit 771394a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

css-egg-1/Overview.bs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ spec:css-images-3; type:value;
2020
text: farthest-corner
2121
spec:css-values-3; type:type; text:<time>
2222
spec:css-conditional-3; type:at-rule; text:@media
23+
spec:css-values-4; type:value; text:s
2324
</pre>
2425

2526
<style type="text/css">
@@ -394,7 +395,7 @@ The <dfn id="device-performance-value"><<device-performance>></dfn> describes th
394395
Note: <a href="https://ada.is/xrgarden/">Ada Rose Cannon's Fish Garden</a> supports changing the number of fish through the `?fish=` query parameter, e.g. <a href="https://ada.is/xrgarden/?fish=50">this link will show 50 fish</a>
395396

396397
<h4 id="media-query-ext">
397-
Extension to the ''@media'' rule: The 'performance' feature</h4>
398+
Extension to the ''@media'' rule: The '@media/performance' feature</h4>
398399

399400
<pre class='descdef mq'>
400401
Name: performance
@@ -403,9 +404,9 @@ Extension to the ''@media'' rule: The 'performance' feature</h4>
403404
Type: range
404405
</pre>
405406

406-
The 'performance' media feature describes the performance characteristics of the current device and user agent combination at the current time. It SHOULD incorporate transient and permanent environmental factors affecting performance such as the current room temperature, the accumulation of dust in the device's cooling system, and the existence of spilled lemonade or coffee on the device's motherboard.
407+
The '@media/performance' media feature describes the performance characteristics of the current device and user agent combination at the current time. It SHOULD incorporate transient and permanent environmental factors affecting performance such as the current room temperature, the accumulation of dust in the device's cooling system, and the existence of spilled lemonade or coffee on the device's motherboard.
407408

408-
When querying the 'performance' feature the user agent SHOULD ensure that it is querying a recent value. The user agent MAY in the background run <a href="https://ada.is/xrgarden/">Ada's Fish Garden</a> with various parameters to estimate this value. If device performance characteristics change while content is being viewed, the user agent MUST recompute its value for 'performance', potentially restyling the document.
409+
When querying the '@media/performance' feature the user agent SHOULD ensure that it is querying a recent value. The user agent MAY in the background run <a href="https://ada.is/xrgarden/">Ada's Fish Garden</a> with various parameters to estimate this value. If device performance characteristics change while content is being viewed, the user agent MUST recompute its value for '@media/performance', potentially restyling the document.
409410

410411
<div class=example>
411412
This feature is useful for designing robust content that adapts to different device characteristics.
@@ -467,7 +468,7 @@ modern web standards can be used to achieve a similar effect.
467468
&lt;img src="about:unicorn"
468469
style="background: double-rainbow(bottom, closest-corner)">
469470
</code></pre>
470-
<img class=fabulous src="images/unicorn.svg">
471+
<img class=fabulous src="images/unicorn.svg" no-autosize>
471472
<style>
472473
.fabulous {
473474
background: radial-gradient(closest-corner circle at bottom, transparent, rgba(250, 250, 210, 0.251) 63%, rgba(148, 0, 211, 0.251), rgba(0, 0, 128, 0.251), rgba(0, 0, 255, 0.251), rgba(0, 128, 0, 0.251), rgba(255, 255, 0, 0.251), rgba(255, 165, 0, 0.251), rgba(255, 0, 0, 0.251), transparent 67%, transparent 90%, rgba(255, 0, 0, 0.126), rgba(255, 165, 0, 0.126), rgba(255, 255, 0, 0.126), rgba(0, 128, 0, 0.126), rgba(0, 0, 255, 0.126), rgba(0, 0, 128, 0.126), rgba(148, 0, 211, 0.126), transparent 100%);

0 commit comments

Comments
 (0)