From 01b845e6d402777fe03cc4dd7ed5f21af400eed1 Mon Sep 17 00:00:00 2001 From: Jason Lee Date: Tue, 4 Jan 2022 17:38:26 +0800 Subject: Improve copywriting for add spaces between Chinese and English words for files/zh-cn/web/html/element. --- files/zh-cn/web/html/element/progress/index.html | 28 ++++++++++++------------ 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'files/zh-cn/web/html/element/progress/index.html') diff --git a/files/zh-cn/web/html/element/progress/index.html b/files/zh-cn/web/html/element/progress/index.html index 6d14b6890e..118296399d 100644 --- a/files/zh-cn/web/html/element/progress/index.html +++ b/files/zh-cn/web/html/element/progress/index.html @@ -5,7 +5,7 @@ translation_of: Web/HTML/Element/progress ---

概述

-

HTML中的<progress>元素用来显示一项任务的完成进度.虽然规范中没有规定该元素具体如何显示,浏览器开发商可以自己决定,但通常情况下,该元素都显示为一个进度条形式.

+

HTML中的<progress>元素用来显示一项任务的完成进度。虽然规范中没有规定该元素具体如何显示,浏览器开发商可以自己决定,但通常情况下,该元素都显示为一个进度条形式。

{{EmbedInteractiveExample("pages/tabbed/progress.html", "tabbed-standard")}}

@@ -15,16 +15,16 @@ translation_of: Web/HTML/Element/progress

使用上下文

-
使用策略                流文本(Flow content), 短文本(phrasing content)
-Content categories     可标记内容,可触摸内容
+
使用策略                流文本 (Flow content), 短文本 (phrasing content)
+Content categories     可标记内容,可触摸内容
 
 有效内容                Phrasing content, 其中在它的后代中不能包含
-Permitted content      <progress>元素.
+Permitted content      <progress>元素。
 
-标签省略                不可以,{{no_tag_omission}}
+标签省略                不可以,{{no_tag_omission}}
 Tag omission
 
-有效的父元素             任何可以包裹短文本(phrasing content)的元素.
+有效的父元素             任何可以包裹短文本 (phrasing content) 的元素。
 
 隐式元素                {{ARIARole("progressbar")}}
 ARIA role
@@ -32,22 +32,22 @@ translation_of: Web/HTML/Element/progress
 有效的辅助元素            ARIA roles
 
-DOM接口                {{domxref("HTMLProgressElement")}}
+DOM 接口                {{domxref("HTMLProgressElement")}}
 

属性

-

和其他的HTML元素一样,该元素具有全局属性.

+

和其他的 HTML 元素一样,该元素具有全局属性.

{{ htmlattrdef("max") }}
-
该属性描述了这个progress元素所表示的任务一共需要完成多少工作.
+
该属性描述了这个progress元素所表示的任务一共需要完成多少工作。
{{ htmlattrdef("value") }}
-
该属性用来指定该进度条已完成的工作量.如果没有value属性,则该进度条的进度为"不确定",也就是说,进度条不会显示任何进度,你无法估计当前的工作会在何时完成(比如在下载一个未知大小的文件时,下载对话框中的进度条就是这样的).
+
该属性用来指定该进度条已完成的工作量。如果没有value 属性,则该进度条的进度为"不确定",也就是说,进度条不会显示任何进度,你无法估计当前的工作会在何时完成 (比如在下载一个未知大小的文件时,下载对话框中的进度条就是这样的).
-

Note: 你可以使用{{ cssxref("orient") }}属性来指定该进度条的显示方向是横向(默认)还是纵向.CSS伪类{{ cssxref(":indeterminate") }}可以用来匹配那些不确定的进度条.

+

Note: 你可以使用{{ cssxref("orient") }}属性来指定该进度条的显示方向是横向 (默认) 还是纵向.CSS 伪类{{ cssxref(":indeterminate") }}可以用来匹配那些不确定的进度条。

@@ -55,7 +55,7 @@ translation_of: Web/HTML/Element/progress

DOM 接口

-

该元素实现了HTMLProgressElement接口.

+

该元素实现了HTMLProgressElement接口。

例子

@@ -66,11 +66,11 @@ translation_of: Web/HTML/Element/progress

{{ EmbedLiveSample("Examples", 200, 50) }}

-

在Mac OS X上,显示的进度条如下:

+

在 Mac OS X 上,显示的进度条如下:

progress-1.png

-

在Windows上,显示的进度条如下:

+

在 Windows 上,显示的进度条如下:

progress-firefox.JPG

-- cgit v1.2.3-54-g00ecf