Skip to content

Commit 7526c9b

Browse files
authored
Move guide: shorthand properties (mdn#38426)
1 parent 3d283cb commit 7526c9b

File tree

96 files changed

+123
-121
lines changed

Some content is hidden

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

96 files changed

+123
-121
lines changed

files/en-us/_redirects.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@
522522
/en-US/docs/CSS/Replaced_element /en-US/docs/Web/CSS/Replaced_element
523523
/en-US/docs/CSS/Scaling_background_images /en-US/docs/Web/CSS/CSS_backgrounds_and_borders/Resizing_background_images
524524
/en-US/docs/CSS/Scaling_of_SVG_backgrounds /en-US/docs/Web/CSS/Scaling_of_SVG_backgrounds
525-
/en-US/docs/CSS/Shorthand_properties /en-US/docs/Web/CSS/Shorthand_properties
525+
/en-US/docs/CSS/Shorthand_properties /en-US/docs/Web/CSS/CSS_cascade/Shorthand_properties
526526
/en-US/docs/CSS/Specificity /en-US/docs/Web/CSS/CSS_cascade/Specificity
527527
/en-US/docs/CSS/Syntax /en-US/docs/Web/CSS/CSS_syntax/Syntax
528528
/en-US/docs/CSS/Text-overflow_TEST /en-US/docs/Web/CSS/text-overflow
@@ -3618,7 +3618,7 @@
36183618
/en-US/docs/Glossary/l10n /en-US/docs/Glossary/Localization
36193619
/en-US/docs/Glossary/q_values /en-US/docs/Glossary/Quality_values
36203620
/en-US/docs/Glossarybandwidth /en-US/docs/Glossary/Bandwidth
3621-
/en-US/docs/Guide_to_Shorthand_CSS /en-US/docs/Web/CSS/Shorthand_properties
3621+
/en-US/docs/Guide_to_Shorthand_CSS /en-US/docs/Web/CSS/CSS_cascade/Shorthand_properties
36223622
/en-US/docs/HTM/Attribute /en-US/docs/Web/HTML/Attributes
36233623
/en-US/docs/HTML /en-US/docs/Web/HTML
36243624
/en-US/docs/HTML/Attributes /en-US/docs/Web/HTML/Attributes
@@ -11993,6 +11993,7 @@
1199311993
/en-US/docs/Web/CSS/Reference/object-position /en-US/docs/Web/CSS/object-position
1199411994
/en-US/docs/Web/CSS/Selector_lists /en-US/docs/Web/CSS/Selector_list
1199511995
/en-US/docs/Web/CSS/Selectors /en-US/docs/Web/CSS/CSS_selectors
11996+
/en-US/docs/Web/CSS/Shorthand_properties /en-US/docs/Web/CSS/CSS_cascade/Shorthand_properties
1199611997
/en-US/docs/Web/CSS/Specificity /en-US/docs/Web/CSS/CSS_cascade/Specificity
1199711998
/en-US/docs/Web/CSS/Syntax /en-US/docs/Web/CSS/CSS_syntax/Syntax
1199811999
/en-US/docs/Web/CSS/Text-overflow_TEST /en-US/docs/Web/CSS/text-overflow

files/en-us/_wikihistory.json

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -76229,6 +76229,38 @@
7622976229
"DBaron"
7623076230
]
7623176231
},
76232+
"Web/CSS/CSS_cascade/Shorthand_properties": {
76233+
"modified": "2020-12-01T16:34:44.101Z",
76234+
"contributors": [
76235+
"cdoublev",
76236+
"gerfolder",
76237+
"jalbertbowden",
76238+
"billmei",
76239+
"mfuji09",
76240+
"stephaniehobson",
76241+
"Sheppy",
76242+
"mfluehr",
76243+
"ericwilligers",
76244+
"allen.dean",
76245+
"gingur",
76246+
"rubenmarcus",
76247+
"BychekRU",
76248+
"danielhickman",
76249+
"fscholz",
76250+
"sethdill",
76251+
"xfq",
76252+
"kscarfone",
76253+
"basdirks",
76254+
"ethertank",
76255+
"teoli",
76256+
"Ptak82",
76257+
"Peng",
76258+
"Np",
76259+
"Dria",
76260+
"DBaron",
76261+
"alecananian"
76262+
]
76263+
},
7623276264
"Web/CSS/CSS_cascade/Specificity": {
7623376265
"modified": "2020-11-14T16:01:00.890Z",
7623476266
"contributors": [
@@ -78622,38 +78654,6 @@
7862278654
"chrisdavidmills"
7862378655
]
7862478656
},
78625-
"Web/CSS/Shorthand_properties": {
78626-
"modified": "2020-12-01T16:34:44.101Z",
78627-
"contributors": [
78628-
"cdoublev",
78629-
"gerfolder",
78630-
"jalbertbowden",
78631-
"billmei",
78632-
"mfuji09",
78633-
"stephaniehobson",
78634-
"Sheppy",
78635-
"mfluehr",
78636-
"ericwilligers",
78637-
"allen.dean",
78638-
"gingur",
78639-
"rubenmarcus",
78640-
"BychekRU",
78641-
"danielhickman",
78642-
"fscholz",
78643-
"sethdill",
78644-
"xfq",
78645-
"kscarfone",
78646-
"basdirks",
78647-
"ethertank",
78648-
"teoli",
78649-
"Ptak82",
78650-
"Peng",
78651-
"Np",
78652-
"Dria",
78653-
"DBaron",
78654-
"alecananian"
78655-
]
78656-
},
7865778657
"Web/CSS/Subsequent-sibling_combinator": {
7865878658
"modified": "2020-10-15T21:04:16.746Z",
7865978659
"contributors": [

files/en-us/mdn/writing_guidelines/page_structures/page_types/page_type_key/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ This section lists `page-type` values for pages under [Web/CSS](/en-US/docs/Web/
6868
- `css-pseudo-class`: a [pseudo-class](/en-US/docs/Web/CSS/Pseudo-classes), like {{cssxref(":enabled")}}.
6969
- `css-pseudo-element`: a [pseudo-element](/en-US/docs/Web/CSS/Pseudo-elements), like {{cssxref("::before")}}.
7070
- `css-selector`: a [basic selector](/en-US/docs/Web/CSS/CSS_selectors/Selectors_and_combinators#basic_selectors), like the [class selector](/en-US/docs/Web/CSS/Class_selectors).
71-
- `css-shorthand-property`: a [shorthand property](/en-US/docs/Web/CSS/Shorthand_properties), like {{cssxref("background")}}.
71+
- `css-shorthand-property`: a [shorthand property](/en-US/docs/Web/CSS/CSS_cascade/Shorthand_properties), like {{cssxref("background")}}.
7272
- `css-type`: a [data type](/en-US/docs/Web/CSS/CSS_Values_and_Units/CSS_data_types), like [`<color>`](/en-US/docs/Web/CSS/color_value).
7373

7474
### Glossary page types

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ A `CSSStyleDeclaration` object can be exposed using three different APIs:
4444
- {{DOMxRef("CSSStyleDeclaration.setProperty()")}}
4545
- : Modifies an existing CSS property or creates a new CSS property in the declaration block.
4646
- {{DOMxRef("CSSStyleDeclaration.getPropertyCSSValue()")}} {{deprecated_inline}}
47-
- : **Only supported via getComputedStyle in Firefox.** Returns the property value as a {{DOMxRef("CSSPrimitiveValue")}} or `null` for [shorthand properties](/en-US/docs/Web/CSS/Shorthand_properties).
47+
- : **Only supported via getComputedStyle in Firefox.** Returns the property value as a {{DOMxRef("CSSPrimitiveValue")}} or `null` for [shorthand properties](/en-US/docs/Web/CSS/CSS_cascade/Shorthand_properties).
4848

4949
## Example
5050

files/en-us/web/api/window/getcomputedstyle/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ Java.
145145
- The returned {{DOMxRef("CSSStyleDeclaration")}} object contains active values for
146146
CSS property **_longhand_** names as well as shorthand names. For example, the returned object contains entries for
147147
{{cssxref("border-bottom-width")}} in addition to the {{cssxref("border-width")}} and
148-
{{cssxref("border")}} [shorthand property names](/en-US/docs/Web/CSS/Shorthand_properties). You can query values with longhand names like
148+
{{cssxref("border")}} [shorthand property names](/en-US/docs/Web/CSS/CSS_cascade/Shorthand_properties). You can query values with longhand names like
149149
{{cssxref("font-size")}} as well as shorthand names like {{cssxref("font")}}.
150150
- CSS property values may be accessed using the
151151
{{DOMxRef("CSSStyleDeclaration.getPropertyValue", "getPropertyValue(propName)")}} method or by indexing directly into the object

files/en-us/web/css/-webkit-mask-box-image/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ browser-compat: css.properties.-webkit-mask-box-image
99

1010
{{CSSRef}} {{ Non-standard_header() }}
1111

12-
The non-standard prefixed **`-webkit-mask-box-image`** [shorthand](/en-US/docs/Web/CSS/Shorthand_properties) property sets the mask image for an element's border box.
12+
The non-standard prefixed **`-webkit-mask-box-image`** [shorthand](/en-US/docs/Web/CSS/CSS_cascade/Shorthand_properties) property sets the mask image for an element's border box.
1313

1414
> [!NOTE]
1515
> This property is not standard and is not on any standards track. Consider using the {{CSSXref("mask-border")}} property instead.

files/en-us/web/css/all/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ browser-compat: css.properties.all
77

88
{{CSSRef}}
99

10-
The **`all`** [shorthand](/en-US/docs/Web/CSS/Shorthand_properties) [CSS](/en-US/docs/Web/CSS) property resets all of an element's properties except {{cssxref("unicode-bidi")}}, {{cssxref("direction")}}, and [CSS Custom Properties](/en-US/docs/Web/CSS/CSS_cascading_variables/Using_CSS_custom_properties). It can set properties to their initial or inherited values, or to the values specified in another cascade layer or stylesheet origin.
10+
The **`all`** [shorthand](/en-US/docs/Web/CSS/CSS_cascade/Shorthand_properties) [CSS](/en-US/docs/Web/CSS) property resets all of an element's properties except {{cssxref("unicode-bidi")}}, {{cssxref("direction")}}, and [CSS Custom Properties](/en-US/docs/Web/CSS/CSS_cascading_variables/Using_CSS_custom_properties). It can set properties to their initial or inherited values, or to the values specified in another cascade layer or stylesheet origin.
1111

1212
{{EmbedInteractiveExample("pages/css/all.html")}}
1313

files/en-us/web/css/animation-range/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ browser-compat: css.properties.animation-range
99

1010
{{CSSRef}}{{SeeCompatTable}}
1111

12-
The **`animation-range`** [CSS](/en-US/docs/Web/CSS) [shorthand property](/en-US/docs/Web/CSS/Shorthand_properties) is used to set the start and end of an animation's attachment range along its timeline, i.e. where along the timeline an animation will start and end.
12+
The **`animation-range`** [CSS](/en-US/docs/Web/CSS) [shorthand property](/en-US/docs/Web/CSS/CSS_cascade/Shorthand_properties) is used to set the start and end of an animation's attachment range along its timeline, i.e. where along the timeline an animation will start and end.
1313

1414
## Constituent properties
1515

files/en-us/web/css/animation/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ browser-compat: css.properties.animation
77

88
{{CSSRef}}
99

10-
The **`animation`** [shorthand](/en-US/docs/Web/CSS/Shorthand_properties) [CSS](/en-US/docs/Web/CSS) property applies an animation between styles. It is a shorthand for {{cssxref("animation-name")}}, {{cssxref("animation-duration")}}, {{cssxref("animation-timing-function")}}, {{cssxref("animation-delay")}}, {{cssxref("animation-iteration-count")}}, {{cssxref("animation-direction")}}, {{cssxref("animation-fill-mode")}}, {{cssxref("animation-play-state")}}, and {{cssxref("animation-timeline")}}.
10+
The **`animation`** [shorthand](/en-US/docs/Web/CSS/CSS_cascade/Shorthand_properties) [CSS](/en-US/docs/Web/CSS) property applies an animation between styles. It is a shorthand for {{cssxref("animation-name")}}, {{cssxref("animation-duration")}}, {{cssxref("animation-timing-function")}}, {{cssxref("animation-delay")}}, {{cssxref("animation-iteration-count")}}, {{cssxref("animation-direction")}}, {{cssxref("animation-fill-mode")}}, {{cssxref("animation-play-state")}}, and {{cssxref("animation-timeline")}}.
1111

1212
{{EmbedInteractiveExample("pages/css/animation.html")}}
1313

files/en-us/web/css/background/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ browser-compat: css.properties.background
77

88
{{CSSRef}}
99

10-
The **`background`** [shorthand](/en-US/docs/Web/CSS/Shorthand_properties) [CSS](/en-US/docs/Web/CSS) property sets all background style properties at once, such as color, image, origin and size, or repeat method. Component properties not set in the `background` shorthand property value declaration are set to their default values.
10+
The **`background`** [shorthand](/en-US/docs/Web/CSS/CSS_cascade/Shorthand_properties) [CSS](/en-US/docs/Web/CSS) property sets all background style properties at once, such as color, image, origin and size, or repeat method. Component properties not set in the `background` shorthand property value declaration are set to their default values.
1111

1212
{{EmbedInteractiveExample("pages/css/background.html")}}
1313

0 commit comments

Comments
 (0)