aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/imagedata
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2021-02-25 08:31:36 -0500
committerPeter Bengtsson <mail@peterbe.com>2021-02-25 08:31:36 -0500
commit97065b2e68dd8768dc1ea092c893c57ebe205026 (patch)
tree11bf4a1114c543989c24c7a801ba379b2c20a30c /files/zh-cn/web/api/imagedata
parentd1794f6b276285489b417053507f432a14be31df (diff)
downloadtranslated-content-97065b2e68dd8768dc1ea092c893c57ebe205026.tar.gz
translated-content-97065b2e68dd8768dc1ea092c893c57ebe205026.tar.bz2
translated-content-97065b2e68dd8768dc1ea092c893c57ebe205026.zip
use class="hidden" not style="display:none"
Diffstat (limited to 'files/zh-cn/web/api/imagedata')
-rw-r--r--files/zh-cn/web/api/imagedata/imagedata/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/api/imagedata/imagedata/index.html b/files/zh-cn/web/api/imagedata/imagedata/index.html
index fc2b782cd0..10281c10da 100644
--- a/files/zh-cn/web/api/imagedata/imagedata/index.html
+++ b/files/zh-cn/web/api/imagedata/imagedata/index.html
@@ -22,7 +22,7 @@ translation_of: Web/API/ImageData/ImageData
<dd>包含图像隐藏像素的 {{jsxref("Uint8ClampedArray")}} 数组。如果数组没有给定,指定大小的黑色矩形图像将会被创建。</dd>
<dt><code>width</code></dt>
<dd>无符号长整型(unsigned long)数值,描述图像的宽度。</dd>
- <dt><span style="display: none;"> </span><code>height</code></dt>
+ <dt><span class="hidden"> </span><code>height</code></dt>
<dd>      无符号长整型(unsigned long)数值,描述图像的高度。</dd>
<dd>如果已给定数组,这个值是可选的:它将通过它的大小和给定的宽度进行推断。</dd>
</dl>