Skip to content

Commit 1d7f755

Browse files
authored
Merge pull request #1709 from cookiecrook/mq5/prefers-reduced-transparency
MQ5 User Prefs: prefers-reduced-transparency
2 parents a77f9d3 + 2409176 commit 1d7f755

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

mediaqueries-5/Overview.bs

+34
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,36 @@ Detecting the desire for less motion on the page: the 'prefers-reduced-motion' f
478478

479479
</dl>
480480

481+
<h3 id="prefers-reduced-transparency">
482+
Detecting the desire for reduced transparency on the page: the 'prefers-reduced-transparency' feature</h3>
483+
484+
<pre class='descdef mq'>
485+
Name: prefers-reduced-transparency
486+
Value: no-preference | reduce
487+
For: @media
488+
Type: discrete
489+
</pre>
490+
491+
The 'prefers-reduced-transparency' media feature is used to detect if the user
492+
has requested the system minimize the amount of transparent or translucent
493+
layer effects it uses.
494+
495+
<dl dfn-type=value dfn-for="@media/prefers-reduced-transparency">
496+
<dt><dfn>no-preference</dfn>
497+
<dd>
498+
Indicates that the user has made no preference known
499+
to the system. This keyword value evaluates as false
500+
in the <a>boolean context</a>.
501+
502+
<dt><dfn>reduce</dfn>
503+
<dd>
504+
Indicates that user has notified the system that they
505+
prefer an interface that minimizes the amount of
506+
transparent or translucent layer effects.
507+
508+
</dl>
509+
510+
481511
<h2 id="changes" class="no-num">
482512
Changes</h2>
483513
<h3 id="changes-2017">
@@ -493,6 +523,10 @@ The following changes were made to this specification since the
493523

494524
<li>
495525
Add 'prefers-reduced-motion' media feature.
526+
527+
<li>
528+
Add 'prefers-reduced-transparency' media feature.
529+
496530
</ul>
497531

498532

0 commit comments

Comments
 (0)