aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/window/mozpaintcount
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
commit33058f2b292b3a581333bdfb21b8f671898c5060 (patch)
tree51c3e392513ec574331b2d3f85c394445ea803c6 /files/zh-cn/web/api/window/mozpaintcount
parent8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff)
downloadtranslated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip
initial commit
Diffstat (limited to 'files/zh-cn/web/api/window/mozpaintcount')
-rw-r--r--files/zh-cn/web/api/window/mozpaintcount/index.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/files/zh-cn/web/api/window/mozpaintcount/index.html b/files/zh-cn/web/api/window/mozpaintcount/index.html
new file mode 100644
index 0000000000..da91c15ba4
--- /dev/null
+++ b/files/zh-cn/web/api/window/mozpaintcount/index.html
@@ -0,0 +1,21 @@
+---
+title: Window.mozPaintCount
+slug: Web/API/Window/mozPaintCount
+translation_of: Web/API/Window/mozPaintCount
+---
+<div>{{APIRef}} {{gecko_minversion_header("2.0")}}</div>
+
+<p>返回当前文档渲染到屏幕上所需的时间。</p>
+
+<h2 id="Syntax" name="Syntax">语法</h2>
+
+<pre class="syntaxbox"><code>var <em>paintCount</em> = window.mozPaintCount;</code></pre>
+
+<ul>
+ <li><code><em>paintCount</em></code> 保存 <code>window.mozPaintCount</code> 属性值。</li>
+ <li><code>window.mozPaintCount</code> 的值是长整数, 文档是新建的时候从0开始, 每渲染一次增加1。</li>
+</ul>
+
+<h2 id="Specification" name="Specification">说明</h2>
+
+<p>不是任何W3C技术规范或建议的一部分。</p>