Skip to content

Commit 4e6ced9

Browse files
committed
CSS Typed OM - fix up sidebar macro and layout
1 parent c836701 commit 4e6ced9

112 files changed

Lines changed: 351 additions & 478 deletions

File tree

Some content is hidden

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

files/en-us/web/api/csskeywordvalue/value/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ browser-compat: api.CSSKeywordValue.value
88

99
{{APIRef("CSS Typed Object Model API")}}
1010

11-
The **`value`** property of the
12-
{{domxref("CSSKeywordValue")}} interface returns or sets the value of the
13-
`CSSKeywordValue`.
11+
The **`value`** property of the {{domxref("CSSKeywordValue")}} interface returns or sets the value of the `CSSKeywordValue`.
1412

1513
## Value
1614

@@ -23,6 +21,8 @@ A string.
2321

2422
## Examples
2523

24+
### Basic usage
25+
2626
The following example resets the CSS {{cssxref('display')}} property to its defaults.
2727

2828
```js

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ browser-compat: api.CSSMathClamp.CSSMathClamp
88

99
{{APIRef("CSS Typed Object Model API")}}
1010

11-
The **`CSSMathClamp()`** constructor creates a
12-
new {{domxref("CSSMathClamp")}} object representing a CSS {{CSSXref("clamp", "clamp()")}} function.
11+
The **`CSSMathClamp()`** constructor creates a new {{domxref("CSSMathClamp")}} object representing a CSS {{CSSXref("clamp", "clamp()")}} function.
1312

1413
## Syntax
1514

files/en-us/web/api/cssmathclamp/lower/index.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ browser-compat: api.CSSMathClamp.lower
88

99
{{APIRef("CSS Typed Object Model API")}}
1010

11-
The **`lower`** read-only property of the
12-
{{domxref("CSSMathClamp")}} interface returns a {{domxref("CSSNumericValue")}} object containing the minimum value of a {{domxref("CSSMathClamp")}} object.
11+
The **`lower`** read-only property of the {{domxref("CSSMathClamp")}} interface returns a {{domxref("CSSNumericValue")}} object containing the minimum value of a {{domxref("CSSMathClamp")}} object.
1312

1413
## Value
1514

files/en-us/web/api/cssmathclamp/upper/index.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ browser-compat: api.CSSMathClamp.upper
88

99
{{APIRef("CSS Typed Object Model API")}}
1010

11-
The **`upper`** read-only property of the
12-
{{domxref("CSSMathClamp")}} interface returns a {{domxref("CSSNumericValue")}} object containing the maximum value of a {{domxref("CSSMathClamp")}} object.
11+
The **`upper`** read-only property of the {{domxref("CSSMathClamp")}} interface returns a {{domxref("CSSNumericValue")}} object containing the maximum value of a {{domxref("CSSMathClamp")}} object.
1312

1413
## Value
1514

files/en-us/web/api/cssmathclamp/value/index.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ browser-compat: api.CSSMathClamp.value
88

99
{{APIRef("CSS Typed Object Model API")}}
1010

11-
The **`value`** read-only property of the
12-
{{domxref("CSSMathClamp")}} interface returns a {{domxref("CSSNumericValue")}} object containing the preferred value of a {{domxref("CSSMathClamp")}} object.
11+
The **`value`** read-only property of the {{domxref("CSSMathClamp")}} interface returns a {{domxref("CSSNumericValue")}} object containing the preferred value of a {{domxref("CSSMathClamp")}} object.
1312

1413
## Value
1514

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ browser-compat: api.CSSMathInvert.CSSMathInvert
88

99
{{APIRef("CSS Typed Object Model API")}}
1010

11-
The **`CSSMathInvert()`** constructor creates a
12-
new {{domxref("CSSMathInvert")}} object which represents a CSS
13-
{{CSSXref('calc','calc()')}} used as `calc(1 / value)`
11+
The **`CSSMathInvert()`** constructor creates a new {{domxref("CSSMathInvert")}} object which represents a CSS {{CSSXref('calc','calc()')}} used as `calc(1 / value)`
1412

1513
## Syntax
1614

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ browser-compat: api.CSSMathInvert
77

88
{{APIRef("CSS Typed Object Model API")}}
99

10-
The **`CSSMathInvert`** interface of the [CSS Typed Object Model API](/en-US/docs/Web/API/CSS_Object_Model) represents a CSS {{CSSXref('calc','calc()')}} used as `calc(1 / <value>)`. It inherits properties and methods from its parent {{domxref('CSSNumericValue')}}.
10+
The **`CSSMathInvert`** interface of the [CSS Typed Object Model API](/en-US/docs/Web/API/CSS_Object_Model) represents a CSS {{CSSXref('calc','calc()')}} used as `calc(1 / <value>)`.
11+
It inherits properties and methods from its parent {{domxref('CSSNumericValue')}}.
1112

1213
{{InheritanceDiagram}}
1314

files/en-us/web/api/cssmathinvert/value/index.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ browser-compat: api.CSSMathInvert.value
88

99
{{APIRef("CSS Typed Object Model API")}}
1010

11-
The CSSMathInvert.value read-only property of the
12-
{{domxref("CSSMathInvert")}} interface returns a {{domxref('CSSNumericValue')}} object.
11+
The CSSMathInvert.value read-only property of the {{domxref("CSSMathInvert")}} interface returns a {{domxref('CSSNumericValue')}} object.
1312

1413
## Value
1514

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ browser-compat: api.CSSMathMax.CSSMathMax
1010

1111
{{SeeCompatTable}}{{APIRef("CSS Typed Object Model API")}}
1212

13-
The **`CSSMathMax()`** constructor creates a
14-
new {{domxref("CSSMathMax")}} object which represents the CSS {{CSSXref('max', 'max()')}} function.
13+
The **`CSSMathMax()`** constructor creates a new {{domxref("CSSMathMax")}} object which represents the CSS {{CSSXref('max', 'max()')}} function.
1514

1615
## Syntax
1716

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ browser-compat: api.CSSMathMax
77

88
{{APIRef("CSS Typed Object Model API")}}
99

10-
The **`CSSMathMax`** interface of the [CSS Typed Object Model API](/en-US/docs/Web/API/CSS_Object_Model) represents the CSS {{CSSXref('max','max()')}} function. It inherits properties and methods from its parent {{domxref('CSSNumericValue')}}.
10+
The **`CSSMathMax`** interface of the [CSS Typed Object Model API](/en-US/docs/Web/API/CSS_Object_Model) represents the CSS {{CSSXref('max','max()')}} function.
11+
It inherits properties and methods from its parent {{domxref('CSSNumericValue')}}.
1112

1213
{{InheritanceDiagram}}
1314

0 commit comments

Comments
 (0)