diff options
author | Irvin <irvinfly@gmail.com> | 2022-02-16 02:03:27 +0800 |
---|---|---|
committer | Irvin <irvinfly@gmail.com> | 2022-02-16 02:35:54 +0800 |
commit | 012ee621791b6895e637f96e6523027951768f25 (patch) | |
tree | 29cfacc0d5092af45870dcc74f22feb8b2664fbf /files/zh-cn/web/javascript/reference/global_objects/error/name | |
parent | ba91b017421b001cd226135612a7bd5dfcd88904 (diff) | |
download | translated-content-012ee621791b6895e637f96e6523027951768f25.tar.gz translated-content-012ee621791b6895e637f96e6523027951768f25.tar.bz2 translated-content-012ee621791b6895e637f96e6523027951768f25.zip |
remove inline style for zh-CN
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/error/name')
-rw-r--r-- | files/zh-cn/web/javascript/reference/global_objects/error/name/index.html | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/error/name/index.html b/files/zh-cn/web/javascript/reference/global_objects/error/name/index.html index 4d24a6f972..0903c6e059 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/error/name/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/error/name/index.html @@ -7,7 +7,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Error/name <h2 id="Summary" name="Summary">概述</h2> -<p><code style="font-style: normal; line-height: 19.0909080505371px;"><strong>name</strong></code> 属性表示error类型的名称.初始值为"Error".</p> +<p><code><strong>name</strong></code> 属性表示error类型的名称.初始值为"Error".</p> <h2 id="Description" name="Description">描述</h2> @@ -23,9 +23,9 @@ e.name = "ParseError"; // 修改之后,e.toString()会成为下 throw e; // "ParseError: Malformed input" </pre> -<h2 id="规范" style="margin-bottom: 20px; line-height: 30px; font-size: 2.14285714285714rem;">规范</h2> +<h2 id="规范">规范</h2> -<table class="standard-table" style="line-height: 19.0909080505371px;"> +<table class="standard-table"> <tbody> <tr> <th scope="col">Specification</th> @@ -50,20 +50,20 @@ throw e; // "ParseError: Malformed input" </tbody> </table> -<h2 id="浏览器兼容性" style="margin-bottom: 20px; line-height: 30px; font-size: 2.14285714285714rem;">浏览器兼容性</h2> +<h2 id="浏览器兼容性">浏览器兼容性</h2> -<div style="line-height: 19.0909080505371px;">{{CompatibilityTable}}</div> +<div>{{CompatibilityTable}}</div> -<div style="line-height: 19.0909080505371px;"> -<table class="compat-table" style="border-color: transparent;"> +<div> +<table class="compat-table"> <tbody> <tr> - <th style="line-height: 16px;">Feature</th> - <th style="line-height: 16px;">Chrome</th> - <th style="line-height: 16px;">Firefox (Gecko)</th> - <th style="line-height: 16px;">Internet Explorer</th> - <th style="line-height: 16px;">Opera</th> - <th style="line-height: 16px;">Safari</th> + <th>Feature</th> + <th>Chrome</th> + <th>Firefox (Gecko)</th> + <th>Internet Explorer</th> + <th>Opera</th> + <th>Safari</th> </tr> <tr> <td>Basic support</td> @@ -77,17 +77,17 @@ throw e; // "ParseError: Malformed input" </table> </div> -<div style="line-height: 19.0909080505371px;"> -<table class="compat-table" style="border-color: transparent;"> +<div> +<table class="compat-table"> <tbody> <tr> - <th style="line-height: 16px;">Feature</th> - <th style="line-height: 16px;">Android</th> - <th style="line-height: 16px;">Chrome for Android</th> - <th style="line-height: 16px;">Firefox Mobile (Gecko)</th> - <th style="line-height: 16px;">IE Mobile</th> - <th style="line-height: 16px;">Opera Mobile</th> - <th style="line-height: 16px;">Safari Mobile</th> + <th>Feature</th> + <th>Android</th> + <th>Chrome for Android</th> + <th>Firefox Mobile (Gecko)</th> + <th>IE Mobile</th> + <th>Opera Mobile</th> + <th>Safari Mobile</th> </tr> <tr> <td>Basic support</td> @@ -102,9 +102,9 @@ throw e; // "ParseError: Malformed input" </table> </div> -<h2 id="See_also" name="See_also" style="margin-bottom: 20px; line-height: 30px; font-size: 2.14285714285714rem;">相关链接</h2> +<h2 id="See_also" name="See_also">相关链接</h2> -<ul style="line-height: 19.0909080505371px;"> +<ul> <li>{{jsxref("Error.prototype.message")}}</li> <li>{{jsxref("Error.prototype.toString()")}}</li> </ul> |