Skip to content

Commit

Permalink
fix rules
Browse files Browse the repository at this point in the history
  • Loading branch information
yin1999 committed Sep 7, 2024
1 parent 21733f2 commit 7900d7e
Show file tree
Hide file tree
Showing 9 changed files with 39 additions and 32 deletions.
6 changes: 3 additions & 3 deletions docs/ko/guides/glossary-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@

## 용어 안내서 `참고 링크` 우선 순위

- 1. 해당 단어에 대한 의견을 나눈 PR 링크
- 2. 적절한 ko MDN 문서 링크
- 3. 적절한 en-us MDN 문서 링크
1. 해당 단어에 대한 의견을 나눈 PR 링크
2. 적절한 ko MDN 문서 링크
3. 적절한 en-us MDN 문서 링크

## Section Title

Expand Down
24 changes: 15 additions & 9 deletions files/es/web/css/animation-fill-mode/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,21 +37,27 @@ animation-fill-mode: unset;
- `none`
- : La animación no aplicará los estilos antes ni después de su ejecución.
- `forwards`

- : El objeto sobre el que se aplica la animación quedará con los valores y estilos que le aplique el último keyframe de la ejecución de la animación. El último valor dependerá del valor de {{ cssxref("animation-direction") }} y {{ cssxref("animation-iteration-count") }}:

| `animation-direction` | `animation-iteration-count` | ultimo keyframe encontrado |
| --------------------- | --------------------------- | -------------------------- |
| `normal` | even o odd | `100%` or `to` |
| `reverse` | even o odd | `0%` or `from` |
| `alternate` | even | `0%` or `from` |
| `alternate` | odd | `100%` or `to` |
| `alternate-reverse` | even | `100%` or `to` |
| `alternate-reverse` | odd | `0%` or `from` |
| `normal` | even o odd | `100%` or `to` |
| `reverse` | even o odd | `0%` or `from` |
| `alternate` | even | `0%` or `from` |
| `alternate` | odd | `100%` or `to` |
| `alternate-reverse` | even | `100%` or `to` |
| `alternate-reverse` | odd | `0%` or `from` |

- `backwards`

- : La animación aplicará los valores definidos en el primer [keyframe](/es/docs/CSS/@keyframes) tan pronto como se aplique al objeto, y los retendrá durante el tiempo de {{ cssxref("animation-delay") }}. El primer keyframe dependerá del valor de {{ cssxref("animation-direction") }}:
| `animation-direction` | primer keyframe |

| `animation-direction` | primer keyframe |
| ------------------------------- | --------------- |
| `normal` o `alternate` | `0%` or `from` |
| `reverse` o `alternate-reverse` | `100%` or `to` |
| `normal` o `alternate` | `0%` or `from` |
| `reverse` o `alternate-reverse` | `100%` or `to` |

- `both`
- : La animación seguirá las reglas de las opciones forwards y backwards, extendiendo las propiedades de la animación en ambas direcciones.

Expand Down
10 changes: 7 additions & 3 deletions files/ja/web/api/wheelevent/wheelevent/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ new WheelEvent(type, options)
- : イベント名の文字列です。
大文字と小文字は区別され、ブラウザーは常に `wheel` に設定します。
- `options` {{optional_inline}}

- : _{{domxref("MouseEvent/MouseEvent", "MouseEvent()")}} で定義するプロパティに加え_、以下のプロパティを持つことができるオブジェクトです。

- `deltaX` {{optional_inline}}
- : 浮動小数点数で、水平スクロール量を `deltaMode` の単位で表します。
既定値は `0.0` です。
Expand All @@ -38,12 +40,14 @@ new WheelEvent(type, options)
- : 浮動小数点数で、 Z 軸のスクロール量を `deltaMode` の単位で表します。
既定値は `0.0` です。
- `deltaMode` {{optional_inline}}

- : デルタ値のスクロール量の単位を表す整数です。既定値は `0x00` です。指定できる値は以下の通りです。
| 定数 || 説明 |

| 定数 || 説明 |
| ----------------- | ------ | ------------------------------------ |
| `DOM_DELTA_PIXEL` | `0x00` | デルタ値はピクセル数で指定されます。 |
| `DOM_DELTA_LINE` | `0x01` | デルタ値は行数で指定されます。 |
| `DOM_DELTA_PAGE` | `0x02` | デルタ値はページ数で指定されます。 |
| `DOM_DELTA_LINE` | `0x01` | デルタ値は行数で指定されます。 |
| `DOM_DELTA_PAGE` | `0x02` | デルタ値はページ数で指定されます。 |

### 返値

Expand Down
3 changes: 1 addition & 2 deletions files/ko/web/css/animation-iteration-count/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ animation-iteration-count: unset;

## 같이 보기

- [CSS 애니메이션 사용하기
](/ko/docs/Web/CSS/CSS_animations/Using_CSS_animations)
- [CSS 애니메이션 사용하기](/ko/docs/Web/CSS/CSS_animations/Using_CSS_animations)
- JavaScript {{domxref("AnimationEvent")}} API
- 애니메이션과 관련된 다른 CSS 속성: {{cssxref("animation")}}, {{cssxref("animation-composition")}}, {{cssxref("animation-delay")}}, {{cssxref("animation-direction")}}, {{cssxref("animation-duration")}}, {{cssxref("animation-fill-mode")}}, {{cssxref("animation-name")}}, {{cssxref("animation-play-state")}}, {{cssxref("animation-timeline")}}, {{cssxref("animation-timing-function")}}
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ l10n:

**`Symbol.species`** 정적 데이터 속성은 [잘 알려진 심볼](/ko/docs/Web/JavaScript/Reference/Global_Objects/Symbol#잘_알려진_심볼) `Symbol.species`을 나타냅니다. 객체의 복사본을 생성하는 메서드는 생성자 함수가 복사본을 만들 때 사용할 객체에서 이 심볼을 검색할 수 있습니다.

> [!WARNING]
> `Symbol.species`가 존재하면 임의의 코드가 실행될 수 있으며 보안 취약점이 발생할 수 있습니다. 또한 특정 최적화를 훨씬 더 어렵게 만듭니다. 엔진 구현자는 [이 기능을 제거할지 여부를 조사](https://github.com/tc39/proposal-rm-builtin-subclassing)하고 있습니다. 가능하면 이 기능을 사용하지 마세요.
> **경고:** `Symbol.species`가 존재하면 임의의 코드가 실행될 수 있으며 보안 취약점이 발생할 수 있습니다. 또한 특정 최적화를 훨씬 더 어렵게 만듭니다. 엔진 구현자는 [이 기능을 제거할지 여부를 조사](https://github.com/tc39/proposal-rm-builtin-subclassing)하고 있습니다. 가능하면 이 기능을 사용하지 마세요.
{{EmbedInteractiveExample("pages/js/symbol-species.html")}}

Expand Down
3 changes: 1 addition & 2 deletions files/ru/web/http/authentication/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,7 @@ https://username:[email protected]/
```

**Использование таких URL-адресов устарело**. В браузере Chrome в URL-адресах часть
`username:password@` даже[
вырезана](https://bugs.chromium.org/p/chromium/issues/detail?id=82250#c7) из соображений безопасности. В браузере Firefox, проверяется, действительно ли сайт требует
`username:password@` даже[вырезана](https://bugs.chromium.org/p/chromium/issues/detail?id=82250#c7) из соображений безопасности. В браузере Firefox, проверяется, действительно ли сайт требует
аутентификации и если нет, тогда Firefox предупредит пользователя запросом (prompt) "You are about to log in to the
site "www\.example.com" with the username "username", but the website does not require authentication. This may be an
attempt to trick you.".
Expand Down
3 changes: 1 addition & 2 deletions files/zh-cn/glossary/breadcrumb/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ l10n:
## 参见

- [面包屑导航](/zh-CN/docs/Web/CSS/Layout_cookbook/Breadcrumb_Navigation)
- [
Google 搜索中心:面包屑结构化数据](https://developers.google.cn/search/docs/appearance/structured-data/breadcrumb)
- [Google 搜索中心:面包屑结构化数据](https://developers.google.cn/search/docs/appearance/structured-data/breadcrumb)
- [APG 指南:Breadcrumb 示例](https://www.w3.org/WAI/ARIA/apg/patterns/breadcrumb/examples/breadcrumb/)
- [理解成功标准 2.4.8 | W3C 理解 WCAG 2.2](https://www.w3.org/WAI/WCAG22/Understanding/location)
- [理解技术 65 | W3C 理解 WCAG 2.2](https://www.w3.org/WAI/WCAG22/Techniques/general/G65)
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ express helloworld
> 也可以指定模板库来使用其他丰富的设置。可通过 help 命令来查看所有选项:
>
> ```bash
> $ express --help
> express --help
> ```

NPM 将在当前位置的子目录中创建新的 Express 应用,可以在控制台看到构建的过程。在完成时,NPM 会提示你需要安装哪些 Node 依赖,以及如何开启应用。
Expand Down
17 changes: 9 additions & 8 deletions files/zh-cn/web/html/element/meta/name/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,16 @@ CSS 颜色调整规范(CSS Color Adjustment specification)定义了以下元
CSS 设备适配规范(CSS Device Adaptation specification)定义了以下元数据名称:

- `viewport`: 为{{glossary("viewport", "视口")}}的初始大小提供指示(hint)。目前仅用于移动设备。
| 值 | 可能的附加值 | 描述 |

| 值 | 可能的附加值 | 描述 |
| --------------- | -------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `width` | 一个正整数,或者字符串 `device-width` | 定义 viewport 的宽度,如果值为正整数,则单位为像素。 |
| `height` | 一个正整数,或者字符串 `device-height` | 定义 viewport 的高度。未被任何浏览器使用。 |
| `initial-scale` | 一个 `0.0` 和 `10.0` 之间的正数 | 定义设备宽度(宽度和高度中更小的那个:如果是纵向屏幕,就是 `device-width`,如果是横向屏幕,就是 `device-height`)与 viewport 大小之间的缩放比例。 |
| `maximum-scale` | 一个 `0.0` 和 `10.0` 之间的正数 | 定义缩放的最大值,必须大于等于 `minimum-scale`,否则表现将不可预测。浏览器设置可以忽略此规则;iOS 10 开始,Safari iOS 默认忽略此规则。 |
| `minimum-scale` | 一个 `0.0` 和 `10.0` 之间的正数 | 定义缩放的最小值,必须小于等于 `maximum-scale`,否则表现将不可预测。浏览器设置可以忽略此规则;iOS 10 开始,Safari iOS 默认忽略此规则。 |
| `user-scalable` | `yes` 或者 `no` | 默认为 `yes`,如果设置为 `no`,用户将无法缩放当前页面。浏览器设置可以忽略此规则;iOS 10 开始,Safari iOS 默认忽略此规则。 |
| `viewport-fit` | `auto`、`contain` 或者 `cover` | The `auto` value doesn’t affect the initial layout viewport, and the whole web page is viewable.The `contain` value means that the viewport is scaled to fit the largest rectangle inscribed within the display.The `cover` value means that the viewport is scaled to fill the device display. It is highly recommended to make use of the [safe area inset](/zh-CN/docs/Web/CSS/env) variables to ensure that important content doesn't end up outside the display. |
| `width` | 一个正整数,或者字符串 `device-width` | 定义 viewport 的宽度,如果值为正整数,则单位为像素。 |
| `height` | 一个正整数,或者字符串 `device-height` | 定义 viewport 的高度。未被任何浏览器使用。 |
| `initial-scale` | 一个 `0.0` 和 `10.0` 之间的正数 | 定义设备宽度(宽度和高度中更小的那个:如果是纵向屏幕,就是 `device-width`,如果是横向屏幕,就是 `device-height`)与 viewport 大小之间的缩放比例。 |
| `maximum-scale` | 一个 `0.0` 和 `10.0` 之间的正数 | 定义缩放的最大值,必须大于等于 `minimum-scale`,否则表现将不可预测。浏览器设置可以忽略此规则;iOS 10 开始,Safari iOS 默认忽略此规则。 |
| `minimum-scale` | 一个 `0.0` 和 `10.0` 之间的正数 | 定义缩放的最小值,必须小于等于 `maximum-scale`,否则表现将不可预测。浏览器设置可以忽略此规则;iOS 10 开始,Safari iOS 默认忽略此规则。 |
| `user-scalable` | `yes` 或者 `no` | 默认为 `yes`,如果设置为 `no`,用户将无法缩放当前页面。浏览器设置可以忽略此规则;iOS 10 开始,Safari iOS 默认忽略此规则。 |
| `viewport-fit` | `auto`、`contain` 或者 `cover` | The `auto` value doesn’t affect the initial layout viewport, and the whole web page is viewable.The `contain` value means that the viewport is scaled to fit the largest rectangle inscribed within the display.The `cover` value means that the viewport is scaled to fill the device display. It is highly recommended to make use of the [safe area inset](/zh-CN/docs/Web/CSS/env) variables to ensure that important content doesn't end up outside the display. |

> [!NOTE]
> 虽然此元数据条目未被标准化,但是,由于此条目在事实上处于支配地位,大多数移动浏览器都遵守此条目的声明。
Expand Down

0 comments on commit 7900d7e

Please sign in to comment.