Skip to content

Commit

Permalink
Chrome 132 supports anchor-size() on margin and inset properties (#25443
Browse files Browse the repository at this point in the history
)
  • Loading branch information
chrisdavidmills authored Dec 19, 2024
1 parent b45f418 commit 610e3bc
Show file tree
Hide file tree
Showing 23 changed files with 873 additions and 0 deletions.
38 changes: 38 additions & 0 deletions css/properties/bottom.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,44 @@
}
}
},
"anchor-size": {
"__compat": {
"description": "`anchor-size()`",
"spec_url": "https://drafts.csswg.org/css-anchor-position-1/#anchor-size-fn",
"tags": [
"web-features:anchor-positioning"
],
"support": {
"chrome": {
"version_added": "132"
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": false
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": false
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror",
"webview_ios": "mirror"
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
}
},
"auto": {
"__compat": {
"spec_url": "https://drafts.csswg.org/css-position-3/#valdef-top-auto",
Expand Down
38 changes: 38 additions & 0 deletions css/properties/inset-block-end.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,44 @@
}
}
},
"anchor-size": {
"__compat": {
"description": "`anchor-size()`",
"spec_url": "https://drafts.csswg.org/css-anchor-position-1/#anchor-size-fn",
"tags": [
"web-features:anchor-positioning"
],
"support": {
"chrome": {
"version_added": "132"
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": false
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": false
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror",
"webview_ios": "mirror"
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
}
},
"auto": {
"__compat": {
"spec_url": "https://drafts.csswg.org/css-position-3/#valdef-top-auto",
Expand Down
38 changes: 38 additions & 0 deletions css/properties/inset-block-start.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,44 @@
}
}
},
"anchor-size": {
"__compat": {
"description": "`anchor-size()`",
"spec_url": "https://drafts.csswg.org/css-anchor-position-1/#anchor-size-fn",
"tags": [
"web-features:anchor-positioning"
],
"support": {
"chrome": {
"version_added": "132"
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": false
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": false
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror",
"webview_ios": "mirror"
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
}
},
"auto": {
"__compat": {
"spec_url": "https://drafts.csswg.org/css-position-3/#valdef-top-auto",
Expand Down
38 changes: 38 additions & 0 deletions css/properties/inset-block.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,44 @@
}
}
},
"anchor-size": {
"__compat": {
"description": "`anchor-size()`",
"spec_url": "https://drafts.csswg.org/css-anchor-position-1/#anchor-size-fn",
"tags": [
"web-features:anchor-positioning"
],
"support": {
"chrome": {
"version_added": "132"
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": false
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": false
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror",
"webview_ios": "mirror"
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
}
},
"auto": {
"__compat": {
"spec_url": "https://drafts.csswg.org/css-position-3/#valdef-top-auto",
Expand Down
38 changes: 38 additions & 0 deletions css/properties/inset-inline-end.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,44 @@
}
}
},
"anchor-size": {
"__compat": {
"description": "`anchor-size()`",
"spec_url": "https://drafts.csswg.org/css-anchor-position-1/#anchor-size-fn",
"tags": [
"web-features:anchor-positioning"
],
"support": {
"chrome": {
"version_added": "132"
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": false
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": false
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror",
"webview_ios": "mirror"
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
}
},
"auto": {
"__compat": {
"spec_url": "https://drafts.csswg.org/css-position-3/#valdef-top-auto",
Expand Down
38 changes: 38 additions & 0 deletions css/properties/inset-inline-start.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,44 @@
}
}
},
"anchor-size": {
"__compat": {
"description": "`anchor-size()`",
"spec_url": "https://drafts.csswg.org/css-anchor-position-1/#anchor-size-fn",
"tags": [
"web-features:anchor-positioning"
],
"support": {
"chrome": {
"version_added": "132"
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": false
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": false
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror",
"webview_ios": "mirror"
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
}
},
"auto": {
"__compat": {
"spec_url": "https://drafts.csswg.org/css-position-3/#valdef-top-auto",
Expand Down
38 changes: 38 additions & 0 deletions css/properties/inset-inline.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,44 @@
}
}
},
"anchor-size": {
"__compat": {
"description": "`anchor-size()`",
"spec_url": "https://drafts.csswg.org/css-anchor-position-1/#anchor-size-fn",
"tags": [
"web-features:anchor-positioning"
],
"support": {
"chrome": {
"version_added": "132"
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": false
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": false
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror",
"webview_ios": "mirror"
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
}
},
"auto": {
"__compat": {
"spec_url": "https://drafts.csswg.org/css-position-3/#valdef-top-auto",
Expand Down
38 changes: 38 additions & 0 deletions css/properties/inset.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,44 @@
}
}
},
"anchor-size": {
"__compat": {
"description": "`anchor-size()`",
"spec_url": "https://drafts.csswg.org/css-anchor-position-1/#anchor-size-fn",
"tags": [
"web-features:anchor-positioning"
],
"support": {
"chrome": {
"version_added": "132"
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": false
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": false
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror",
"webview_ios": "mirror"
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
}
},
"auto": {
"__compat": {
"spec_url": "https://drafts.csswg.org/css-position-3/#valdef-top-auto",
Expand Down
Loading

0 comments on commit 610e3bc

Please sign in to comment.