Skip to content

Commit

Permalink
Update outdated data type for CSS Box Model module (#37840)
Browse files Browse the repository at this point in the history
* Update outdated data type for CSS Box Model module

* Update files/en-us/web/css/css_box_model/index.md

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
skyclouds2001 and github-actions[bot] authored Jan 29, 2025
1 parent d6ceca9 commit dcf5d5a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
6 changes: 3 additions & 3 deletions files/en-us/web/css/box-edge/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ The box-edge keywords are the components of, but not limited to, the data types

```plain
<visual-box> = content-box | padding-box | border-box /* the three <box> values */
<layout-box> = <box> | margin-box /* the <shape-box> values */
<paint-box> = <box> | fill-box | stroke-box
<coord-box> = <box> | fill-box | stroke-box | view-box
<layout-box> = <visual-box> | margin-box /* the <shape-box> values */
<paint-box> = <visual-box> | fill-box | stroke-box
<coord-box> = <paint-box> | fill-box | stroke-box | view-box
<geometry-box> = <shape-box> | fill-box | stroke-box | view-box
```

Expand Down
6 changes: 2 additions & 4 deletions files/en-us/web/css/css_box_model/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
title: CSS box model
slug: Web/CSS/CSS_box_model
page-type: css-module
spec-urls:
- https://drafts.csswg.org/css-box-4/
- https://drafts.csswg.org/css-box-3/
spec-urls: https://drafts.csswg.org/css-box-4/
---

{{CSSRef}}
Expand Down Expand Up @@ -37,7 +35,7 @@ The CSS box model module defines physical (or "page relative") properties such a

### Data types

- [`<box>`](/en-US/docs/Web/CSS/box-edge)
- [`<box-edge>`](/en-US/docs/Web/CSS/box-edge)
- [`<visual-box>`](/en-US/docs/Web/CSS/box-edge#visual-box)
- [`<layout-box>`](/en-US/docs/Web/CSS/box-edge#layout-box)
- [`<paint-box>`](/en-US/docs/Web/CSS/box-edge#paint-box)
Expand Down

0 comments on commit dcf5d5a

Please sign in to comment.