diff options
author | Tanner Dolby <tannercdolby@gmail.com> | 2022-02-22 01:49:36 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-22 17:49:36 +0800 |
commit | 6e9fe98036090a37cc6247b873845505e5b512fb (patch) | |
tree | 5fc00117ddfd9f448eb9e8011b5bd7f6d8000e8d /files/zh-cn/web/api/console | |
parent | 70c3e11f3335e7701325f125fd712c84d6c1f9bf (diff) | |
download | translated-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/console')
-rw-r--r-- | files/zh-cn/web/api/console/index.html | 2 | ||||
-rw-r--r-- | files/zh-cn/web/api/console/timelog/index.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/files/zh-cn/web/api/console/index.html b/files/zh-cn/web/api/console/index.html index a5b296b310..053d2784c0 100644 --- a/files/zh-cn/web/api/console/index.html +++ b/files/zh-cn/web/api/console/index.html @@ -164,7 +164,7 @@ console.info("My first car was a", car, ". The object is:", someObject);</pre> <pre class="brush: js notranslate">console.log("This is %cMy stylish message", "color: yellow; font-style: italic; background-color: blue;padding: 2px");</pre> -<div></div> + <div>指令前的文本不会受到影响,但指令后的文本将会使用参数中声明的 CSS 样式。</div> diff --git a/files/zh-cn/web/api/console/timelog/index.html b/files/zh-cn/web/api/console/timelog/index.html index 9dc87c6071..3c8bbf2dfa 100644 --- a/files/zh-cn/web/api/console/timelog/index.html +++ b/files/zh-cn/web/api/console/timelog/index.html @@ -15,7 +15,7 @@ translation_of: Web/API/Console/timeLog <div>在控制台输出计时器的值,该计时器必须已经通过 {{domxref("console.time()")}} 启动。</div> -<div></div> + <p>参阅文档中的 <a href="/en-US/docs/Web/API/console#Timers">Timers</a> 部分获取详细说明和示例。 </p> |