aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/htmlmediaelement
diff options
context:
space:
mode:
authorTanner Dolby <tannercdolby@gmail.com>2022-02-22 01:49:36 -0800
committerGitHub <noreply@github.com>2022-02-22 17:49:36 +0800
commit6e9fe98036090a37cc6247b873845505e5b512fb (patch)
tree5fc00117ddfd9f448eb9e8011b5bd7f6d8000e8d /files/zh-cn/web/api/htmlmediaelement
parent70c3e11f3335e7701325f125fd712c84d6c1f9bf (diff)
downloadtranslated-content-6e9fe98036090a37cc6247b873845505e5b512fb.tar.gz
translated-content-6e9fe98036090a37cc6247b873845505e5b512fb.tar.bz2
translated-content-6e9fe98036090a37cc6247b873845505e5b512fb.zip
Removes empty <div> or <p> elements from pages (#3093)
* Removes all empty paragraph elements * Removes all empty div elements * Preserve empty div in code snippet * Preserve empty elements inside code snippets * Remove fr files which were converted into markdown * Web/CSS/transform-function/scaleX()/index.html The file is already renamed to index.md。 * remove not needed file * Resolve remaining conflict Co-authored-by: julieng <julien.gattelier@gmail.com> Co-authored-by: Masahiro FUJIMOTO <mfujimot@gmail.com>
Diffstat (limited to 'files/zh-cn/web/api/htmlmediaelement')
-rw-r--r--files/zh-cn/web/api/htmlmediaelement/index.html2
-rw-r--r--files/zh-cn/web/api/htmlmediaelement/pause_event/index.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/files/zh-cn/web/api/htmlmediaelement/index.html b/files/zh-cn/web/api/htmlmediaelement/index.html
index 0fc7ee5662..07692b8b6c 100644
--- a/files/zh-cn/web/api/htmlmediaelement/index.html
+++ b/files/zh-cn/web/api/htmlmediaelement/index.html
@@ -14,7 +14,7 @@ translation_of: Web/API/HTMLMediaElement
<div>HTML媒体元素接口在属性和方法中添加了 {{domxref("HTMLElement", "HTML元素")}}来支持基础的媒体相关的能力,就像audio和video一样。{{domxref("HTMLVideoElement", "HTML 视频元素")}}和 {{domxref("HTMLAudioElement", "HTML 音频元素")}}元素都继承自此接口。</div>
-<div></div>
+
<div>{{InheritanceDiagram(600, 180)}}</div>
diff --git a/files/zh-cn/web/api/htmlmediaelement/pause_event/index.html b/files/zh-cn/web/api/htmlmediaelement/pause_event/index.html
index 824f4bb5ff..97d32786b2 100644
--- a/files/zh-cn/web/api/htmlmediaelement/pause_event/index.html
+++ b/files/zh-cn/web/api/htmlmediaelement/pause_event/index.html
@@ -5,7 +5,7 @@ translation_of: Web/API/HTMLMediaElement/pause_event
---
<div>{{APIRef("HTMLMediaElement")}}</div>
-<div></div>
+
<p><span class="seoSummary">当暂停媒体播放时 <code>pause</code> 事件触发, 并且媒体进入暂停状态,最常见的是通过<code>pause()</code>方法来触发。</span> 当<code>pause()</code> 触发时<code>pause</code>状态只改变1次,并且媒体的<code>pause</code>变成 <code>true</code>。</p>