diff options
author | YujiSoftware <yuji.software+github@gmail.com> | 2022-03-02 20:22:51 +0900 |
---|---|---|
committer | Irvin <irvinfly@gmail.com> | 2022-03-04 01:03:17 +0800 |
commit | 9a110dee28ae2ef12ee014b98fda6bae6ee48edb (patch) | |
tree | 6525763f4313d7d8f42aefa699765f61ee1c63df /files/zh-cn/web/css/text-rendering | |
parent | eeddb651b6e8deb8ecabc2bc5bc28c8ead25cca5 (diff) | |
download | translated-content-9a110dee28ae2ef12ee014b98fda6bae6ee48edb.tar.gz translated-content-9a110dee28ae2ef12ee014b98fda6bae6ee48edb.tar.bz2 translated-content-9a110dee28ae2ef12ee014b98fda6bae6ee48edb.zip |
Migrate to Compat macro (zh-cn)
Diffstat (limited to 'files/zh-cn/web/css/text-rendering')
-rw-r--r-- | files/zh-cn/web/css/text-rendering/index.html | 77 |
1 files changed, 1 insertions, 76 deletions
diff --git a/files/zh-cn/web/css/text-rendering/index.html b/files/zh-cn/web/css/text-rendering/index.html index 8a3c674df8..32b735b99a 100644 --- a/files/zh-cn/web/css/text-rendering/index.html +++ b/files/zh-cn/web/css/text-rendering/index.html @@ -133,79 +133,4 @@ body { text-rendering: optimizeLegibility; } <h2 id="Browser_Compatibility" name="Browser_Compatibility">浏览器兼容性</h2> -<p>{{ CompatibilityTable() }}</p> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>Feature</th> - <th>Chrome</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari (WebKit)</th> - </tr> - <tr> - <td>Basic support for Windows and Linux</td> - <td> - <p>4.0 but the implementation known bugs on Windows and Linux which can break <a href="http://crbug.com/114719">font substitition</a>, <a href="http://crbug.com/51973">small-caps</a>, <a href="http://crbug.com/55458">letter-spacing</a> or cause <a href="http://crbug.com/149548">text to overlap</a></p> - </td> - <td><strong>3.0</strong> (1.9)</td> - <td>{{ CompatNo() }}</td> - <td>{{ CompatNo() }}</td> - <td>5.0 (532.5)</td> - </tr> - <tr> - <td>Basic support for other operating systems</td> - <td>{{ CompatNo() }}</td> - <td>{{ CompatNo() }}</td> - <td>{{ CompatNo() }}</td> - <td>{{ CompatNo() }}</td> - <td>{{ CompatNo() }}</td> - </tr> - <tr> - <td><code>auto</code></td> - <td>Chrome treats this as <code>optimizeSpeed</code>.<br> - Work is continuing on{{ Webkitbug("41363") }}</td> - <td>If the font size is 20 px or higher, Gecko browsers use <code>optimizeLegibility</code>; for smaller text, they use <code>optimizeSpeed</code>.</td> - <td>{{ CompatNo() }}</td> - <td>{{ CompatNo() }}</td> - <td>Safari treats this as <code>optimizeSpeed</code>.<br> - Work is continuing on{{ Webkitbug("41363") }}</td> - </tr> - <tr> - <td><code>geometricPrecision</code></td> - <td>13 supports true geometric precision, without rounding up or down to the nearest supported font size in the operating system.<br> - Introduced in WebKit 535.1 {{ Webkitbug("60317") }}</td> - <td>Gecko treats the value the same as <code>optimizeLegibility</code>.</td> - <td> {{ CompatNo() }}</td> - <td> {{ CompatNo() }}</td> - <td> </td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>Feature</th> - <th>Android</th> - <th>Firefox Mobile (Gecko)</th> - <th>IE Phone</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>Basic support</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - </tr> - </tbody> -</table> -</div> +{{Compat("css.properties.text-rendering")}} |