File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -722,10 +722,9 @@ When asked to <dfn export>evaluate media queries and report changes</dfn> for a
722722 <ol>
723723
724724 <li> If <var> target</var> 's <a>matches state</a> has changed since the last time these steps were run,
725- <a>fire an event</a> at <var> target</var>
726- using the {{MediaQueryListEvent}} constructor,
727- with its {{Event/type}} attribute initialized to <a event>change</a> ,
728- its {{Event/isTrusted}} attribute initialized to true,
725+ <a>fire an event</a> named <a event>change</a> at <var> target</var>
726+ using {{MediaQueryListEvent}} ,
727+ with its {{Event/isTrusted}} attribute initialized to true,
729728 its {{MediaQueryList/media}} attribute initialized to <var> target</var> 's <a>media</a> ,
730729 and its {{MediaQueryListEvent/matches}} attribute initialized to <var> target</var> 's <a>matches state</a> . <!--fingerprint-->
731730
@@ -839,7 +838,7 @@ The <dfn attribute for=MediaQueryListEvent>matches</dfn> attribute must return t
839838 <tbody>
840839 <tr>
841840 <td> <dfn event for=MediaQueryList>change</dfn>
842- <td> {{Event }}
841+ <td> {{MediaQueryListEvent }}
843842 <td> {{MediaQueryList}}
844843 <td> Fired at the {{MediaQueryList}} when the <a>matches state</a> changes.
845844</table>
You can’t perform that action at this time.
0 commit comments