From 785c0b7c8adc9e73cfd07817009c4437255c9398 Mon Sep 17 00:00:00 2001 From: MDN Date: Wed, 10 Mar 2021 16:18:46 +0000 Subject: [CRON] sync translated content --- files/ko/web/api/document/stylesheets/index.html | 58 ++++++++++++++++++++++ .../documentorshadowroot/stylesheets/index.html | 57 --------------------- 2 files changed, 58 insertions(+), 57 deletions(-) create mode 100644 files/ko/web/api/document/stylesheets/index.html delete mode 100644 files/ko/web/api/documentorshadowroot/stylesheets/index.html (limited to 'files/ko/web/api') diff --git a/files/ko/web/api/document/stylesheets/index.html b/files/ko/web/api/document/stylesheets/index.html new file mode 100644 index 0000000000..326d92d32a --- /dev/null +++ b/files/ko/web/api/document/stylesheets/index.html @@ -0,0 +1,58 @@ +--- +title: DocumentOrShadowRoot.styleSheets +slug: Web/API/Document/styleSheets +tags: + - API + - Document + - Propert + - Reference +translation_of: Web/API/DocumentOrShadowRoot/styleSheets +original_slug: Web/API/DocumentOrShadowRoot/styleSheets +--- +
{{SeeCompatTable}}{{APIRef("Shadow DOM")}}
+ +

{{domxref("DocumentOrShadowRoot")}} 인터페이스의 styleSheets 읽기 전용 속성은 문서에서 명시적으로 링크했거나, 안에 포함된 스타일시트에 대한 {{domxref('CSSStyleSheet')}} 객체의 {{domxref('StyleSheetList')}}를 반환합니다.

+ +

예제

+ +
function getStyleSheet(unique_title) {
+  for(var i=0; i<document.styleSheets.length; i++) {
+    var sheet = document.styleSheets[i];
+    if(sheet.title == unique_title) {
+      return sheet;
+    }
+  }
+}
+
+ +

참고

+ +

반환 된 목록은 다음과 같이 정렬됩니다:

+ + + +

명세

+ + + + + + + + + + + + + + +
SpecificationStatusComment
{{SpecName('Shadow DOM','#extensions-to-the-documentorshadowroot-mixin','DocumentOrShadowRoot')}}{{Spec2('Shadow DOM')}}Initial definition.
+ +

브라우저 호환성

+ + + +

{{Compat("api.DocumentOrShadowRoot.styleSheets")}}

diff --git a/files/ko/web/api/documentorshadowroot/stylesheets/index.html b/files/ko/web/api/documentorshadowroot/stylesheets/index.html deleted file mode 100644 index cf6e1c38ce..0000000000 --- a/files/ko/web/api/documentorshadowroot/stylesheets/index.html +++ /dev/null @@ -1,57 +0,0 @@ ---- -title: DocumentOrShadowRoot.styleSheets -slug: Web/API/DocumentOrShadowRoot/styleSheets -tags: - - API - - Document - - Propert - - Reference -translation_of: Web/API/DocumentOrShadowRoot/styleSheets ---- -
{{SeeCompatTable}}{{APIRef("Shadow DOM")}}
- -

{{domxref("DocumentOrShadowRoot")}} 인터페이스의 styleSheets 읽기 전용 속성은 문서에서 명시적으로 링크했거나, 안에 포함된 스타일시트에 대한 {{domxref('CSSStyleSheet')}} 객체의 {{domxref('StyleSheetList')}}를 반환합니다.

- -

예제

- -
function getStyleSheet(unique_title) {
-  for(var i=0; i<document.styleSheets.length; i++) {
-    var sheet = document.styleSheets[i];
-    if(sheet.title == unique_title) {
-      return sheet;
-    }
-  }
-}
-
- -

참고

- -

반환 된 목록은 다음과 같이 정렬됩니다:

- - - -

명세

- - - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Shadow DOM','#extensions-to-the-documentorshadowroot-mixin','DocumentOrShadowRoot')}}{{Spec2('Shadow DOM')}}Initial definition.
- -

브라우저 호환성

- - - -

{{Compat("api.DocumentOrShadowRoot.styleSheets")}}

-- cgit v1.2.3-54-g00ecf