CINXE.COM

drafts: diff css-conditional-5/Overview.bs

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <link rel="icon" href="/drafts/static/hgicon.png" type="image/png" /> <meta name="robots" content="index, nofollow"/> <link rel="stylesheet" href="/drafts/static/style-monoblue.css" type="text/css" /> <script type="text/javascript" src="/drafts/static/mercurial.js"></script> <title>drafts: diff css-conditional-5/Overview.bs</title> <link rel="alternate" type="application/atom+xml" href="/drafts/atom-log" title="Atom feed for drafts"/> <link rel="alternate" type="application/rss+xml" href="/drafts/rss-log" title="RSS feed for drafts"/> </head> <body> <div id="container"> <div class="page-header"> <h1 class="breadcrumb"><a href="/">Mercurial</a> &gt; <a href="/drafts">drafts</a> / file diff</h1> <form action="/drafts/log"> <dl class="search"> <dt><label>Search: </label></dt> <dd><input type="text" name="rev" /></dd> </dl> </form> <ul class="page-nav"> <li><a href="/drafts/summary">summary</a></li> <li><a href="/drafts/shortlog">shortlog</a></li> <li><a href="/drafts/log">changelog</a></li> <li><a href="/drafts/graph/0236560cd086">graph</a></li> <li><a href="/drafts/tags">tags</a></li> <li><a href="/drafts/bookmarks">bookmarks</a></li> <li><a href="/drafts/branches">branches</a></li> <li><a href="/drafts/file/0236560cd086">files</a></li> <li><a href="/drafts/help">help</a></li> </ul> </div> <ul class="submenu"> <li><a href="/drafts/file/0236560cd086/css-conditional-5/Overview.bs">file</a></li> <li><a href="/drafts/log/0236560cd086/css-conditional-5/Overview.bs">revisions</a></li> <li><a href="/drafts/annotate/0236560cd086/css-conditional-5/Overview.bs">annotate</a></li> <li class="current">diff</li> <li><a href="/drafts/comparison/0236560cd086/css-conditional-5/Overview.bs">comparison</a></li> <li><a href="/drafts/raw-diff/0236560cd086/css-conditional-5/Overview.bs">raw</a></li> </ul> <h2 class="no-link no-border">diff: css-conditional-5/Overview.bs</h2> <h3 class="changeset">css-conditional-5/Overview.bs</h3> <dl class="overview"> <dt>changeset 30108</dt> <dd><a href="/drafts/rev/0236560cd086">0236560cd086</a></dd> <dt>parent 29970</dt> <dd><a href="/drafts/diff/b72b7fa7bbaa/css-conditional-5/Overview.bs">b72b7fa7bbaa</a></dd> <dt>child 30183</dt> <dd><a href="/drafts/diff/7dae9d60d3f8/css-conditional-5/Overview.bs">7dae9d60d3f8</a></dd> </dl> <div class="diff"> <pre><span style="color:#cc0000;"><a class="linenr" href="#l1.1" id="l1.1"> 1.1</a> --- a/css-conditional-5/Overview.bs Sat Jul 01 16:22:50 2023 +0300 </span><span style="color:#008800;"><a class="linenr" href="#l1.2" id="l1.2"> 1.2</a> +++ b/css-conditional-5/Overview.bs Sat Jul 01 15:34:46 2023 +0200 </span><span style="color:#990099;"><a class="linenr" href="#l1.3" id="l1.3"> 1.3</a> @@ -74,37 +74,21 @@ </span><span><a class="linenr" href="#l1.4" id="l1.4"> 1.4</a> &lt;dfn&gt;&amp;lt;supports-feature&gt;&lt;/dfn&gt; = &lt;&lt;supports-selector-fn&gt;&gt; | &lt;&lt;supports-font-tech-fn&gt;&gt; </span><span><a class="linenr" href="#l1.5" id="l1.5"> 1.5</a> | &lt;&lt;supports-font-format-fn&gt;&gt; | &lt;&lt;supports-decl&gt;&gt; </span><span><a class="linenr" href="#l1.6" id="l1.6"> 1.6</a> &lt;dfn&gt;&amp;lt;supports-font-tech-fn&gt;&lt;/dfn&gt; = font-tech( &lt;&lt;font-tech&gt;&gt; ) </span><span style="color:#cc0000;"><a class="linenr" href="#l1.7" id="l1.7"> 1.7</a> - &lt;dfn&gt;&amp;lt;font-tech&gt;&lt;/dfn&gt; = [ features-opentype | features-aat | features-graphite </span><span style="color:#cc0000;"><a class="linenr" href="#l1.8" id="l1.8"> 1.8</a> - | color-colrv0 | color-colrv1 | color-svg | color-sbix | color-cbdt </span><span style="color:#cc0000;"><a class="linenr" href="#l1.9" id="l1.9"> 1.9</a> - | variations | palettes | incremental ] </span><span><a class="linenr" href="#l1.10" id="l1.10"> 1.10</a> &lt;dfn&gt;&amp;lt;supports-font-format-fn&gt;&lt;/dfn&gt; = font-format( &lt;&lt;font-format&gt;&gt; ) </span><span style="color:#cc0000;"><a class="linenr" href="#l1.11" id="l1.11"> 1.11</a> - &lt;dfn&gt;&amp;lt;font-format&gt;&lt;/dfn&gt; = [ collection | embedded-opentype | opentype </span><span style="color:#cc0000;"><a class="linenr" href="#l1.12" id="l1.12"> 1.12</a> - | svg | truetype | woff | woff2 ] </span><span><a class="linenr" href="#l1.13" id="l1.13"> 1.13</a> &lt;/pre&gt; </span><span><a class="linenr" href="#l1.14" id="l1.14"> 1.14</a> </span><span style="color:#cc0000;"><a class="linenr" href="#l1.15" id="l1.15"> 1.15</a> - ISSUE: &lt;&lt;font-format&gt;&gt; and &lt;&lt;font-tech&gt;&gt; should be imported from css-fonts-4, not defined here. </span><span style="color:#cc0000;"><a class="linenr" href="#l1.16" id="l1.16"> 1.16</a> - </span><span style="color:#cc0000;"><a class="linenr" href="#l1.17" id="l1.17"> 1.17</a> - </span><span><a class="linenr" href="#l1.18" id="l1.18"> 1.18</a> : &lt;&lt;supports-font-tech-fn&gt;&gt; </span><span><a class="linenr" href="#l1.19" id="l1.19"> 1.19</a> :: </span><span><a class="linenr" href="#l1.20" id="l1.20"> 1.20</a> The result is true if the UA </span><span><a class="linenr" href="#l1.21" id="l1.21"> 1.21</a> &lt;a href=&quot;#dfn-support-font-tech&quot;&gt;supports the font tech&lt;/a&gt; </span><span><a class="linenr" href="#l1.22" id="l1.22"> 1.22</a> provided as an argument to the function. </span><span><a class="linenr" href="#l1.23" id="l1.23"> 1.23</a> </span><span style="color:#cc0000;"><a class="linenr" href="#l1.24" id="l1.24"> 1.24</a> - Note: The allowed values for the ''font-tech()'' function </span><span style="color:#cc0000;"><a class="linenr" href="#l1.25" id="l1.25"> 1.25</a> - are the same as those for the ''tech()'' function </span><span style="color:#cc0000;"><a class="linenr" href="#l1.26" id="l1.26"> 1.26</a> - in the '@font-face' '@font-face/src' descriptor. </span><span style="color:#cc0000;"><a class="linenr" href="#l1.27" id="l1.27"> 1.27</a> - </span><span><a class="linenr" href="#l1.28" id="l1.28"> 1.28</a> : &lt;&lt;supports-font-format-fn&gt;&gt; </span><span><a class="linenr" href="#l1.29" id="l1.29"> 1.29</a> :: </span><span><a class="linenr" href="#l1.30" id="l1.30"> 1.30</a> The result is true if the UA </span><span><a class="linenr" href="#l1.31" id="l1.31"> 1.31</a> &lt;a href=&quot;#dfn-support-font-format&quot;&gt;supports the font format&lt;/a&gt; </span><span><a class="linenr" href="#l1.32" id="l1.32"> 1.32</a> provided as an argument to the function. </span><span><a class="linenr" href="#l1.33" id="l1.33"> 1.33</a> </span><span style="color:#cc0000;"><a class="linenr" href="#l1.34" id="l1.34"> 1.34</a> - Note: The allowed values for the ''font-format()'' function </span><span style="color:#cc0000;"><a class="linenr" href="#l1.35" id="l1.35"> 1.35</a> - are the same as those for the ''format()'' function </span><span style="color:#cc0000;"><a class="linenr" href="#l1.36" id="l1.36"> 1.36</a> - in the '@font-face' '@font-face/src' descriptor. </span><span style="color:#cc0000;"><a class="linenr" href="#l1.37" id="l1.37"> 1.37</a> - </span><span><a class="linenr" href="#l1.38" id="l1.38"> 1.38</a> &lt;h3 id=&quot;support-definition-ext&quot;&gt; </span><span><a class="linenr" href="#l1.39" id="l1.39"> 1.39</a> Extensions to the definition of support&lt;/h3&gt; </span><span><a class="linenr" href="#l1.40" id="l1.40"> 1.40</a> </span><span style="color:#990099;"><a class="linenr" href="#l1.41" id="l1.41"> 1.41</a> @@ -116,7 +100,8 @@ </span><span><a class="linenr" href="#l1.42" id="l1.42"> 1.42</a> A CSS processor is considered to </span><span><a class="linenr" href="#l1.43" id="l1.43"> 1.43</a> &lt;dfn export for=CSS id=&quot;dfn-support-font-format&quot;&gt;support a font format&lt;/dfn&gt; </span><span><a class="linenr" href="#l1.44" id="l1.44"> 1.44</a> when it is capable of utilising the specified [[css-fonts-4#font-format-definitions]] </span><span style="color:#cc0000;"><a class="linenr" href="#l1.45" id="l1.45"> 1.45</a> - in layout and rendering. </span><span style="color:#008800;"><a class="linenr" href="#l1.46" id="l1.46"> 1.46</a> + in layout and rendering, </span><span style="color:#008800;"><a class="linenr" href="#l1.47" id="l1.47"> 1.47</a> + and this format is not specified as a &lt;&lt;string&gt;&gt;. </span><span><a class="linenr" href="#l1.48" id="l1.48"> 1.48</a> </span><span><a class="linenr" href="#l1.49" id="l1.49"> 1.49</a> &lt;h2 id=&quot;when-rule&quot;&gt; </span><span><a class="linenr" href="#l1.50" id="l1.50"> 1.50</a> Generalized Conditional Rules: the ''@when'' rule&lt;/h2&gt; </span></pre> </div> <script type="text/javascript">process_dates()</script> <div class="page-footer"> <p>Mercurial Repository: drafts</p> <ul class="rss-logo"> <li><a href="/drafts/rss-log">RSS</a></li> <li><a href="/drafts/atom-log">Atom</a></li> </ul> </div> <div id="powered-by"> <p><a href="http://mercurial.selenic.com/" title="Mercurial"><img src="/drafts/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a></p> </div> <div id="corner-top-left"></div> <div id="corner-top-right"></div> <div id="corner-bottom-left"></div> <div id="corner-bottom-right"></div> </div> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10