Skip to content

Commit

Permalink
feat: update syntax for Anchor Positioning related properties (#770)
Browse files Browse the repository at this point in the history
  • Loading branch information
skyclouds2001 authored Oct 23, 2024
1 parent d2b8857 commit 5f5c637
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions css/functions.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"anchor()": {
"syntax": "anchor( <anchor-element>? <anchor-side>, <length-percentage>? )",
"syntax": "anchor( <anchor-name>? && <anchor-side>, <length-percentage>? )",
"groups": [
"CSS Positioning"
],
"status": "experimental",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/anchor"
},
"anchor-size()": {
"syntax": "anchor-size( <anchor-element>? <anchor-size>, <length-percentage>? )",
"syntax": "anchor-size( [ <anchor-name> || <anchor-size> ]? , <length-percentage>? )",
"groups": [
"CSS Positioning"
],
Expand Down
9 changes: 6 additions & 3 deletions css/properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -8420,15 +8420,15 @@
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/position"
},
"position-anchor": {
"syntax": "<anchor-element>",
"syntax": "auto | <anchor-name>",
"media": "visual",
"inherited": false,
"animationType": "discrete",
"percentages": "no",
"groups": [
"CSS Positioning"
],
"initial": "implicit",
"initial": "auto",
"appliesto": "absolutelyPositionedElements",
"computed": "asSpecified",
"order": "perGrammar",
Expand Down Expand Up @@ -8459,7 +8459,10 @@
"position-try-fallbacks",
"position-try-order"
],
"percentages": "no",
"percentages": [
"position-try-fallbacks",
"position-try-order"
],
"groups": [
"CSS Positioning"
],
Expand Down

0 comments on commit 5f5c637

Please sign in to comment.