Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@container should be of CSS conditional rules module #37885

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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