Skip to content

Commit b211c84

Browse files
committed
Move CSSOM view module under API/
1 parent 4974bde commit b211c84

File tree

76 files changed

+309
-318
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+309
-318
lines changed

files/en-us/_redirects.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12141,6 +12141,9 @@
1214112141
/en-US/docs/Web/CSS/Aural /en-US/docs/Web/CSS/@media
1214212142
/en-US/docs/Web/CSS/Block_formatting_context /en-US/docs/Web/CSS/CSS_display/Block_formatting_context
1214312143
/en-US/docs/Web/CSS/CSS3_Columns /en-US/docs/Web/CSS/CSS_multicol_layout/Using_multicol_layouts
12144+
/en-US/docs/Web/CSS/CSSOM_view /en-US/docs/Web/API/CSSOM_view
12145+
/en-US/docs/Web/CSS/CSSOM_view/Coordinate_systems /en-US/docs/Web/API/CSSOM_view/Coordinate_systems
12146+
/en-US/docs/Web/CSS/CSSOM_view/Viewport_concepts /en-US/docs/Web/API/CSSOM_view/Viewport_concepts
1214412147
/en-US/docs/Web/CSS/CSS_Background_and_Borders /en-US/docs/Web/CSS/CSS_backgrounds_and_borders
1214512148
/en-US/docs/Web/CSS/CSS_Background_and_Borders/Border-image_generator /en-US/docs/Web/CSS/CSS_backgrounds_and_borders/Border-image_generator
1214612149
/en-US/docs/Web/CSS/CSS_Background_and_Borders/Border-radius_generator /en-US/docs/Web/CSS/CSS_backgrounds_and_borders/Border-radius_generator
@@ -12164,7 +12167,7 @@
1216412167
/en-US/docs/Web/CSS/CSS_Columns/Using_multi-column_layouts /en-US/docs/Web/CSS/CSS_multicol_layout/Using_multicol_layouts
1216512168
/en-US/docs/Web/CSS/CSS_Columns/Using_multicol_layouts /en-US/docs/Web/CSS/CSS_multicol_layout/Using_multicol_layouts
1216612169
/en-US/docs/Web/CSS/CSS_Device_Adaptation /en-US/docs/Web/CSS
12167-
/en-US/docs/Web/CSS/CSS_Device_Adaptation/Viewport_Concepts /en-US/docs/Web/CSS/CSSOM_view/Viewport_concepts
12170+
/en-US/docs/Web/CSS/CSS_Device_Adaptation/Viewport_Concepts /en-US/docs/Web/API/CSSOM_view/Viewport_concepts
1216812171
/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Advanced_layouts_with_flexbox /en-US/docs/Glossary/Flexbox
1216912172
/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Box_Alignment_in_Flexbox /en-US/docs/Web/CSS/CSS_box_alignment/Box_alignment_in_flexbox
1217012173
/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Controlling_Ratios_of_Flex_Items_Along_the_Main_Ax /en-US/docs/Web/CSS/CSS_flexible_box_layout/Controlling_ratios_of_flex_items_along_the_main_axis
@@ -12345,7 +12348,7 @@
1234512348
/en-US/docs/Web/CSS/Using_media_queries_from_code /en-US/docs/Web/CSS/CSS_media_queries/Testing_media_queries
1234612349
/en-US/docs/Web/CSS/Using_the_CSS_multi-column_layout /en-US/docs/Web/CSS/CSS_multicol_layout/Using_multicol_layouts
1234712350
/en-US/docs/Web/CSS/Value_definition_syntax /en-US/docs/Web/CSS/CSS_Values_and_Units/Value_definition_syntax
12348-
/en-US/docs/Web/CSS/Viewport_concepts /en-US/docs/Web/CSS/CSSOM_view/Viewport_concepts
12351+
/en-US/docs/Web/CSS/Viewport_concepts /en-US/docs/Web/API/CSSOM_view/Viewport_concepts
1234912352
/en-US/docs/Web/CSS/Visual_formatting_model /en-US/docs/Web/CSS/CSS_display/Visual_formatting_model
1235012353
/en-US/docs/Web/CSS/_image /en-US/docs/Web/CSS/image/image
1235112354
/en-US/docs/Web/CSS/abs() /en-US/docs/Web/CSS/abs

files/en-us/_wikihistory.json

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -22022,6 +22022,36 @@
2202222022
"modified": "2020-10-15T22:19:19.805Z",
2202322023
"contributors": ["jpmedley"]
2202422024
},
22025+
"Web/API/CSSOM_view": {
22026+
"modified": "2020-10-15T21:38:34.242Z",
22027+
"contributors": [
22028+
"wbamberg",
22029+
"fscholz",
22030+
"Sheppy",
22031+
"mfluehr",
22032+
"Sebastianz",
22033+
"teoli"
22034+
]
22035+
},
22036+
"Web/API/CSSOM_view/Coordinate_systems": {
22037+
"modified": "2020-04-27T22:32:23.815Z",
22038+
"contributors": ["chrisn", "mfluehr", "JohannesCleve", "Sheppy"]
22039+
},
22040+
"Web/API/CSSOM_view/Viewport_concepts": {
22041+
"modified": "2020-11-20T07:41:38.029Z",
22042+
"contributors": [
22043+
"in43sh",
22044+
"PerfectVirgo",
22045+
"Wryhder",
22046+
"mfuji09",
22047+
"bagaffey",
22048+
"sivabalan02",
22049+
"syntaxval",
22050+
"chrisdavidmills",
22051+
"estelle",
22052+
"ExE-Boss"
22053+
]
22054+
},
2202522055
"Web/API/CSSPageRule": {
2202622056
"modified": "2020-10-15T21:21:03.183Z",
2202722057
"contributors": [
@@ -75295,36 +75325,6 @@
7529575325
"BijuGC"
7529675326
]
7529775327
},
75298-
"Web/CSS/CSSOM_view": {
75299-
"modified": "2020-10-15T21:38:34.242Z",
75300-
"contributors": [
75301-
"wbamberg",
75302-
"fscholz",
75303-
"Sheppy",
75304-
"mfluehr",
75305-
"Sebastianz",
75306-
"teoli"
75307-
]
75308-
},
75309-
"Web/CSS/CSSOM_view/Coordinate_systems": {
75310-
"modified": "2020-04-27T22:32:23.815Z",
75311-
"contributors": ["chrisn", "mfluehr", "JohannesCleve", "Sheppy"]
75312-
},
75313-
"Web/CSS/CSSOM_view/Viewport_concepts": {
75314-
"modified": "2020-11-20T07:41:38.029Z",
75315-
"contributors": [
75316-
"in43sh",
75317-
"PerfectVirgo",
75318-
"Wryhder",
75319-
"mfuji09",
75320-
"bagaffey",
75321-
"sivabalan02",
75322-
"syntaxval",
75323-
"chrisdavidmills",
75324-
"estelle",
75325-
"ExE-Boss"
75326-
]
75327-
},
7532875328
"Web/CSS/CSS_Flexible_Box_Layout/Controlling_ratios_of_flex_items_along_main_axis": {
7532975329
"modified": "2020-06-24T00:31:19.661Z",
7533075330
"contributors": [

files/en-us/glossary/layout_viewport/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ This becomes important, for example, on mobile devices, where a pinching gesture
1313

1414
- {{Glossary("Viewport")}}
1515
- {{Glossary("Visual viewport")}}
16-
- [Viewport concepts](/en-US/docs/Web/CSS/CSSOM_view/Viewport_concepts)
17-
- [CSSOM view](/en-US/docs/Web/CSS/CSSOM_view) module
16+
- [Viewport concepts](/en-US/docs/Web/API/CSSOM_view/Viewport_concepts)
17+
- [CSSOM view](/en-US/docs/Web/API/CSSOM_view) module
1818
- [Visual Viewport API](/en-US/docs/Web/API/Visual_Viewport_API)
1919
- [Viewport](https://en.wikipedia.org/wiki/Viewport) on Wikipedia
2020
- [A tale of two viewports](https://www.quirksmode.org/mobile/viewports.html) (Quirksmode)

files/en-us/glossary/viewport/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ The visual viewport of an {{htmlelement("iframe")}}, {{svgelement("svg")}}, or {
1717

1818
- {{Glossary("Visual viewport")}}
1919
- {{Glossary("Layout viewport")}}
20-
- [Viewport concepts](/en-US/docs/Web/CSS/CSSOM_view/Viewport_concepts)
21-
- [CSSOM view](/en-US/docs/Web/CSS/CSSOM_view) module
20+
- [Viewport concepts](/en-US/docs/Web/API/CSSOM_view/Viewport_concepts)
21+
- [CSSOM view](/en-US/docs/Web/API/CSSOM_view) module
2222
- [Visual Viewport API](/en-US/docs/Web/API/Visual_Viewport_API)
2323
- [Viewport](https://en.wikipedia.org/wiki/Viewport) on Wikipedia
2424
- [A tale of two viewports](https://www.quirksmode.org/mobile/viewports.html) (Quirksmode)

files/en-us/glossary/visual_viewport/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ The portion of the {{Glossary("viewport")}} that is currently visible is called
1111

1212
- {{Glossary("Viewport")}}
1313
- {{Glossary("Layout viewport")}}
14-
- [Viewport concepts](/en-US/docs/Web/CSS/CSSOM_view/Viewport_concepts)
15-
- [CSSOM view](/en-US/docs/Web/CSS/CSSOM_view) module
14+
- [Viewport concepts](/en-US/docs/Web/API/CSSOM_view/Viewport_concepts)
15+
- [CSSOM view](/en-US/docs/Web/API/CSSOM_view) module
1616
- [Visual Viewport API](/en-US/docs/Web/API/Visual_Viewport_API)
1717
- [Viewport](https://en.wikipedia.org/wiki/Viewport) on Wikipedia
1818
- [A tale of two viewports](https://www.quirksmode.org/mobile/viewports.html) (Quirksmode)

files/en-us/learn_web_development/getting_started/your_first_website/creating_the_content/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Here, we have the following:
8989
- `<html></html>`: The {{htmlelement("html")}} element wraps all the content on the entire page and is sometimes known as the **root element**. It also includes the `lang` [attribute](/en-US/docs/Glossary/Attribute), which sets the primary language of the document.
9090
- `<head></head>`: The {{htmlelement("head")}} element acts as a container for all the stuff you want to include on the HTML page that _isn't_ the content you are showing to your page's viewers. This includes things like {{Glossary("keyword", "keywords")}} and a page description that you want to appear in search results, {{glossary("CSS")}} to style the content, character set declarations, and more.
9191
- `<meta charset="utf-8">`: This element sets the character set your document should use to [UTF-8](/en-US/docs/Glossary/UTF-8), which includes most characters from the vast majority of written languages. Essentially, it can now handle any textual content you might put on it. There is no reason not to set this, and it can help avoid some problems later on.
92-
- `<meta name="viewport" content="width=device-width">`: This [viewport element](/en-US/docs/Web/CSS/CSSOM_view/Viewport_concepts#mobile_viewports) ensures the page renders at the width of the browser viewport, preventing mobile browsers from rendering pages wider than the viewport and then shrinking them down.
92+
- `<meta name="viewport" content="width=device-width">`: This [viewport element](/en-US/docs/Web/API/CSSOM_view/Viewport_concepts#mobile_viewports) ensures the page renders at the width of the browser viewport, preventing mobile browsers from rendering pages wider than the viewport and then shrinking them down.
9393
- `<title></title>`: The {{htmlelement("title")}} element sets the title of your page, which is the title that appears in the browser tab the page is loaded in. It is also used to describe the page when you bookmark/favorite it.
9494
- `<body></body>`: The {{htmlelement("body")}} element contains _all_ the content that you want to show to web users when they visit your page, whether that's text, images, videos, games, playable audio tracks, or whatever else. At the moment it only contains a single `<img>` element, but we'll add more content later on.
9595

files/en-us/web/api/caretposition/getclientrect/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ page-type: web-api-instance-method
66
browser-compat: api.CaretPosition.getClientRect
77
---
88

9-
{{APIRef("CSSOM")}}
9+
{{APIRef("CSSOM view")}}
1010

1111
The `getClientRect()` method of the {{domxref("CaretPosition")}} interface returns the client rectangle for the caret range.
1212

files/en-us/web/api/caretposition/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ page-type: web-api-interface
55
browser-compat: api.CaretPosition
66
---
77

8-
{{APIRef("CSSOM")}}
8+
{{APIRef("CSSOM view")}}
99

1010
The `CaretPosition` interface represents the caret position, an indicator for the text insertion point.
1111
You can get a `CaretPosition` using the {{domxref("Document.caretPositionFromPoint()")}} method.

files/en-us/web/api/caretposition/offset/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ page-type: web-api-instance-property
66
browser-compat: api.CaretPosition.offset
77
---
88

9-
{{APIRef("CSSOM")}}
9+
{{APIRef("CSSOM view")}}
1010

1111
The **`offset`** property of the {{domxref("CaretPosition")}} interface returns an integer representing the offset of the selection in the caret position node.
1212

files/en-us/web/api/caretposition/offsetnode/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ page-type: web-api-instance-property
66
browser-compat: api.CaretPosition.offsetNode
77
---
88

9-
{{APIRef("CSSOM")}}
9+
{{APIRef("CSSOM view")}}
1010

1111
The **`offsetNode`** property of the {{domxref("CaretPosition")}} interface returns a {{domxref("Node")}} containing the found node at the caret's position.
1212

0 commit comments

Comments
 (0)