@@ -2021,62 +2021,6 @@ Assorted Issues</h2>
20212021 Another media feature should probably be added to deal with the type of resolution authors want to know to deal with monochrome printing.
20222022-->
20232023
2024- <!--
2025- ██████ ██████ ██████ ███████ ██ ██
2026- ██ ██ ██ ██ ██ ██ ██ ██ ███ ███
2027- ██ ██ ██ ██ ██ ████ ████
2028- ██ ██████ ██████ ██ ██ ██ ███ ██
2029- ██ ██ ██ ██ ██ ██ ██
2030- ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
2031- ██████ ██████ ██████ ███████ ██ ██
2032- -->
2033- <!--
2034- <h2 id='custom-mq-cssom'>
2035- CSSOM</h2>
2036-
2037- The <a interface>CSSRule</a> interface is extended as follows:
2038-
2039- <pre class="idl partial">
2040- partial interface CSSRule {
2041- const unsigned short CUSTOM_MEDIA_RULE = 17;
2042- };
2043- </pre>
2044-
2045- The <a interface>CSSCustomMediaRule</a> interface represents a ''@custom-media'' rule.
2046-
2047- <pre class="idl">
2048- interface CSSCustomMediaRule : CSSRule {
2049- attribute CSSOMString name;
2050- [SameObject, PutForwards=mediaText] readonly attribute MediaList media;
2051- };
2052- </pre>
2053-
2054- <dl dfn-type=attribute dfn-for=CSSCustomMediaRule>
2055- <dt> <dfn>name</dfn> , of type <code> CSSOMString</code>
2056- <dd>
2057- The <a attribute>name</a> attribute on getting must return a <code> CSSOMString</code> object
2058- that contains the serialization of the <<extension-name>> defined for the associated rule.
2059-
2060- On setting the <a attribute>name</a> attribute,
2061- run the following steps:
2062-
2063- <ol>
2064- <li> <a>Parse a component value</a> from the value.
2065-
2066- <li>
2067- If the returned value is an <<extension-name>> ,
2068- replace the associated rule's name with the <<extension-name>> 's representation.
2069-
2070- <li>
2071- Otherwise, do nothing.
2072- </ol>
2073-
2074- <dt> <dfn>media</dfn> , of type <a interface>MediaList</a> , readonly
2075- <dd>
2076- The <a attribute>media</a> attribute must return a <a interface>MediaList</a> object
2077- for the <<media-query-list>> specified with the associated rule.
2078- </dl>
2079- -->
20802024<!--
20812025████████ ████████ ████████ ████████ ████████ ██████ ███ ████████ ████████ ████████
20822026██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
0 commit comments