Skip to content

Commit 1897a6b

Browse files
committed
[mediaqueries-5][editorial] Fixed Bikeshed issues and updated WPTs
1 parent 4d3d902 commit 1897a6b

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

mediaqueries-5/Overview.bs

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1110,6 +1110,7 @@ Error Handling</h3>
11101110
</div>
11111111

11121112
<wpt>
1113+
duplicate-media-stylesheet-crash.html
11131114
mq-invalid-media-type-001.html
11141115
mq-invalid-media-type-002.html
11151116
mq-invalid-media-type-003.html
@@ -1519,7 +1520,7 @@ Display Resolution: the '@media/resolution' feature</h3>
15191520

15201521
The '@media/resolution' media feature describes the resolution of the output
15211522
device, i.e. the density of the pixels, taking into account the <a spec=cssom-view>page zoom</a>
1522-
but assuming a <a spec=cssom-view>pinch zoom</a> of 1.0.
1523+
but assuming a <a spec=cssom-view>scale factor</a> of 1.0.
15231524

15241525
The '@media/resolution' media feature is <a>false in the negative range</a>
15251526

@@ -2725,6 +2726,11 @@ Custom Media Queries</h2>
27252726
<dfn>@custom-media</dfn> = @custom-media <<extension-name>> [ <<media-query-list>> | true | false ] ;
27262727
</pre>
27272728

2729+
<wpt>
2730+
at-custom-media-basic.html
2731+
at-custom-media-parsing.html
2732+
</wpt>
2733+
27282734
The <<extension-name>> can then be used in a <a>media feature</a>.
27292735
It <strong>must</strong> be used in a <a>boolean context</a>;
27302736
using them in a normal or <a>range context</a> is a syntax error.
@@ -3563,9 +3569,9 @@ interface PreferenceObject : EventTarget {
35633569

35643570
The <dfn attribute for=PreferenceObject>onchange</dfn> attribute is an [=event handler IDL attribute=] for
35653571
the {{onchange}} [=event handler=], whose [=event handler event type=]
3566-
is <dfn class="event" data-dfn-for="PreferenceObject">change</dfn>.
3572+
is <dfn export class="event" data-dfn-for="PreferenceObject">change</dfn>.
35673573

3568-
<div algorithm="update steps">
3574+
<div algorithm="update steps" export>
35693575
Whenever the [=user agent=] is aware that the state of a {{PreferenceObject}}
35703576
instance |value| has changed, it runs the <dfn algorithm for="PreferenceObject">{{PreferenceObject}}
35713577
update steps</dfn>:
@@ -3576,6 +3582,8 @@ update steps</dfn>:
35763582
1. If |document| is null or |document| is not [=Document/fully active=], terminate this algorithm.
35773583
1. <a>Fire an event</a> named <code>change</code> at |preference|.
35783584

3585+
</div>
3586+
35793587
<h5 id=request-override-method>
35803588
{{requestOverride()}} method</h5>
35813589

@@ -3947,6 +3955,7 @@ The following additions were made to create the First Public Working Draft of th
39473955
'@media/prefers-color-scheme',
39483956
and '@media/forced-colors' media features.
39493957
</ul>
3958+
</div>
39503959

39513960
<h2 class="no-num" id="acknowledgments">
39523961
Acknowledgments</h2>

0 commit comments

Comments
 (0)