From 9ffa82421521377e1eb86ab73cbaf09ac0cada70 Mon Sep 17 00:00:00 2001 From: alattalatta Date: Fri, 11 Mar 2022 23:04:14 +0900 Subject: Remove {{page}} macro from CSS/HTML/HTTP docs (#4286) * Update Using CSS Transforms * Remove {{page}} from * Remove {{page}} from * Remove {{page}} from * Remove {{page}} from img-src * Remove {{page}} from script-src * Remove {{page}} from display --- files/ko/web/html/element/input/date/index.html | 10 ++++- files/ko/web/html/element/input/index.html | 54 ------------------------- files/ko/web/html/element/track/index.html | 14 ++++--- 3 files changed, 17 insertions(+), 61 deletions(-) (limited to 'files/ko/web/html') diff --git a/files/ko/web/html/element/input/date/index.html b/files/ko/web/html/element/input/date/index.html index 8a40c3cc75..79fae01f34 100644 --- a/files/ko/web/html/element/input/date/index.html +++ b/files/ko/web/html/element/input/date/index.html @@ -124,11 +124,17 @@ console.log(dateControl.valueAsNumber); // prints 1496275200000, a UNIX timestam

{{htmlattrdef("step")}}

-

{{page("/en-US/docs/Web/HTML/Element/input/number", "step-include")}}

+

The step attribute is a number that specifies the granularity that the value must adhere to, or the special value any, which is described below. Only values which are equal to the basis for stepping ({{anch("min")}} if specified, {{htmlattrxref("value", "input")}} otherwise, and an appropriate default value if neither of those is provided) are valid.

+ +

A string value of any means that no stepping is implied, and any value is allowed (barring other constraints, such as {{anch("min")}} and {{anch("max")}}).

+ +
+

참고: When the data entered by the user doesn't adhere to the stepping configuration, the {{Glossary("user agent")}} may round to the nearest valid value, preferring numbers in the positive direction when there are two equally close options.

+

date 입력 칸의 step 값은 날짜 단위, 즉 밀리초 단위로 86,400,000 ✕ step로 처리합니다. 기본값은 1로, 하루를 나타냅니다.

-
+

참고: date 입력 칸에서 step의 값으로 any를 지정하면 1과 같습니다.

diff --git a/files/ko/web/html/element/input/index.html b/files/ko/web/html/element/input/index.html index 8ff435e12d..aae4e879d9 100644 --- a/files/ko/web/html/element/input/index.html +++ b/files/ko/web/html/element/input/index.html @@ -756,60 +756,6 @@ let hatSize = form.elements["hat-size"]; -

Non-standard attributes

- -

The following non-standard attributes are also available on some browsers. As a general rule, you should avoid using them unless it can't be helped.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
AttributeDescription
{{anch("autocorrect")}}A string indicating whether or not autocorrect is on or off. Safari only.
{{anch("incremental")}}Whether or not to send repeated {{event("search")}} events to allow updating live search results while the user is still editing the value of the field. WebKit and Blink only (Safari, Chrome, Opera, etc.).
{{anch("mozactionhint")}}A string indicating the type of action that will be taken when the user presses the Enter or Return key while editing the field; this is used to determine an appropriate label for that key on a virtual keyboard. Firefox for Android only.
{{anch("orient")}}Sets the orientation of the range slider. Firefox only.
{{anch("results")}}The maximum number of items that should be displayed in the drop-down list of previous search queries. Safari only.
{{anch("webkitdirectory")}}A Boolean indicating whether or not to only allow the user to choose a directory (or directories, if {{anch("multiple")}} is also present)
- -
-
{{htmlattrdef("autocorrect")}} {{non-standard_inline}}
-
{{page("/en-US/docs/Web/HTML/Element/input/text", "autocorrect-include")}}
-
{{htmlattrdef("incremental")}} {{non-standard_inline}}
-
{{page("/en-US/docs/Web/HTML/Element/input/search", "incremental-include")}}
-
{{htmlattrdef("mozactionhint")}} {{non-standard_inline}}
-
{{page("/en-US/docs/Web/HTML/Element/input/text", "mozactionhint-include")}}
-
{{htmlattrdef("orient")}} {{non-standard_inline}}
-
{{page("/en-US/docs/Web/HTML/Element/input/range", "orient-include")}}
-
{{htmlattrdef("results")}} {{non-standard_inline}}
-
{{page("/en-US/docs/Web/HTML/Element/input/search", "results-include")}}
-
{{htmlattrdef("webkitdirectory")}} {{non-standard_inline}}
-
{{page("/en-US/docs/Web/HTML/Element/input/file", "webkitdirectory-include")}}
-
-

예제

A simple input box

diff --git a/files/ko/web/html/element/track/index.html b/files/ko/web/html/element/track/index.html index 9ac120629d..cb391ba9f6 100644 --- a/files/ko/web/html/element/track/index.html +++ b/files/ko/web/html/element/track/index.html @@ -107,11 +107,15 @@ translation_of: Web/HTML/Element/track

미디어 요소는 동일한 kind, srclang, label을 가진 <track>을 하나보다 많이 포함할 수 없습니다.

- +

Detecting cue changes

+

The underlying {{domxref("TextTrack")}}, indicated by the {{domxref("HTMLTrackElement.track", "track")}} property, receives a cuechange event every time the currently-presented cue is changed. This happens even if the track isn't associated with a media element.

+

If the track is associated with a media element, using the {{HTMLElement("track")}} element as a child of the {{HTMLElement("audio")}} or {{HTMLElement("video")}} element, the cuechange event is also sent to the {{domxref("HTMLTrackElement")}}.

+
let textTrackElem = document.getElementById("texttrack");
+
+textTrackElem.addEventListener("cuechange", event => {
+  let cues = event.target.track.activeCues;
+});
+

예제

-- cgit v1.2.3-54-g00ecf