Skip to content

Commit

Permalink
@container should be of CSS conditional rules module (#37885)
Browse files Browse the repository at this point in the history
`@container` is CSS conditional rules than CSS containment
  • Loading branch information
skyclouds2001 authored Feb 5, 2025
1 parent 6de1976 commit 95ebe59
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 25 deletions.
9 changes: 5 additions & 4 deletions files/en-us/web/css/css_conditional_rules/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ There are plans to further extend possible queries by adding the generalized con

### At-rules

- {{cssxref("@container")}}
- {{cssxref("@media")}}
- {{cssxref("@supports")}}

Expand All @@ -40,6 +41,7 @@ There are plans to further extend possible queries by adding the generalized con
### Functions

- [`style()`](/en-US/docs/Web/CSS/@container#container_style_queries)
- [`font-tech()`](/en-US/docs/Web/CSS/@supports#font-tech)
- [`font-format()`](/en-US/docs/Web/CSS/@supports#font-format)
- [`selector()`](/en-US/docs/Web/CSS/@supports#function_syntax)
Expand All @@ -50,6 +52,9 @@ There are plans to further extend possible queries by adding the generalized con
### data types

- [`<container-name>`](/en-US/docs/Web/CSS/@container#values)
- [`<style-feature>`](/en-US/docs/Web/CSS/@container#container_style_queries)
- [Container relative `<length>` units](/en-US/docs/Web/CSS/length#container_query_length_units)
- [`<media-query>`](/en-US/docs/Web/CSS/CSS_media_queries/Using_media_queries#syntax)
- [`<supports-condition>`](/en-US/docs/Web/CSS/@import#importing_css_rules_conditional_on_feature_support)
- `<supports-feature>` (see [`supports()`](/en-US/docs/Web/CSS/@import#supports-condition))
Expand Down Expand Up @@ -98,10 +103,6 @@ There are plans to further extend possible queries by adding the generalized con
- [`<media-query-list>`](/en-US/docs/Web/SVG/Attribute/media)
- [CSS logical operators](/en-US/docs/Web/CSS/@media#logical_operators) (`not`, `or`, and `and`)

- [CSS containment](/en-US/docs/Web/CSS/CSS_containment)

- {{cssxref("@container")}} at-rule

- [CSSOM view](/en-US/docs/Web/CSS/CSSOM_view) module

- {{domxref("CSS")}} API
Expand Down
22 changes: 1 addition & 21 deletions files/en-us/web/css/css_containment/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,27 +22,6 @@ Container queries are similar to dimension [media queries](/en-US/docs/Web/CSS/C
- {{cssxref("contain")}}
- {{cssxref("content-visibility")}}

### At-rules and descriptors

- {{cssxref("@container")}}
- [`@container` descriptors](/en-US/docs/Web/CSS/@container#descriptors):
- `aspect-ratio`
- `block-size`
- `height`
- `inline-size`
- `orientation`
- `width`

### Functions

- [`style()`](/en-US/docs/Web/CSS/@container#container_style_queries)

### Data types

- [`<container-name>`](/en-US/docs/Web/CSS/@container#values)
- [`<style-feature>`](/en-US/docs/Web/CSS/@container#container_style_queries)
- [Container relative `<length>` units](/en-US/docs/Web/CSS/length#container_query_length_units)

### Events

- {{domxref("Element.contentvisibilityautostatechange_event", "contentvisibilityautostatechange")}}
Expand Down Expand Up @@ -76,6 +55,7 @@ Container queries are similar to dimension [media queries](/en-US/docs/Web/CSS/C

- [CSS conditional rules](/en-US/docs/Web/CSS/CSS_conditional_rules) module

- {{cssxref("@container")}} at-rule
- {{CSSxRef("container")}} property
- {{CSSxRef("container-name")}} property
- {{CSSxRef("container-type")}} property
Expand Down

0 comments on commit 95ebe59

Please sign in to comment.