-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add BCD for CSS Anchor Positioning spec (#22813)
* Add BCD for CSS Anchor Positioning spec * Update spec_urls to latest editors draft * Add position-visibility property * Move anchorElement to HTMLElement * Remove anchor-scope * Update css/properties/anchor-name.json Co-authored-by: Florian Scholz <fs@florianscholz.com> * Add position-visibility value subfeatures * Add position-try-order value subfeatures, and fix anchor-name data * Add position-try-options value subfeatures * Addd inset-area value subfeatures * Add data for CSSPositionTryDescriptors * Update HTMLElement.anchorElement as advised * Add spec urls for inset-area * Remove anchors-valid property as not supported initially --------- Co-authored-by: Florian Scholz <fs@florianscholz.com>
- Loading branch information
1 parent
3932e74
commit de9fbb3
Showing
41 changed files
with
5,427 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
{ | ||
"api": { | ||
"CSSPositionTryRule": { | ||
"__compat": { | ||
"mdn_url": "https://developer.mozilla.org/docs/Web/API/CSSPositionTryRule", | ||
"spec_url": "https://drafts.csswg.org/css-anchor-position-1/#csspositiontryrule", | ||
"support": { | ||
"chrome": { | ||
"version_added": "125" | ||
}, | ||
"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" | ||
}, | ||
"status": { | ||
"experimental": true, | ||
"standard_track": true, | ||
"deprecated": false | ||
} | ||
}, | ||
"name": { | ||
"__compat": { | ||
"mdn_url": "https://developer.mozilla.org/docs/Web/API/CSSPositionTryRule/name", | ||
"spec_url": "https://drafts.csswg.org/css-anchor-position-1/#dom-csspositiontryrule-name", | ||
"support": { | ||
"chrome": { | ||
"version_added": "125" | ||
}, | ||
"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" | ||
}, | ||
"status": { | ||
"experimental": true, | ||
"standard_track": true, | ||
"deprecated": false | ||
} | ||
} | ||
}, | ||
"style": { | ||
"__compat": { | ||
"mdn_url": "https://developer.mozilla.org/docs/Web/API/CSSPositionTryRule/style", | ||
"spec_url": "https://drafts.csswg.org/css-anchor-position-1/#dom-csspositiontryrule-style", | ||
"support": { | ||
"chrome": { | ||
"version_added": "125" | ||
}, | ||
"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" | ||
}, | ||
"status": { | ||
"experimental": true, | ||
"standard_track": true, | ||
"deprecated": false | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"css": { | ||
"at-rules": { | ||
"position-try": { | ||
"__compat": { | ||
"description": "<code>@position-try</code>", | ||
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@position-try", | ||
"spec_url": "https://drafts.csswg.org/css-anchor-position-1/#at-ruledef-position-try", | ||
"support": { | ||
"chrome": { | ||
"version_added": "125" | ||
}, | ||
"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" | ||
}, | ||
"status": { | ||
"experimental": true, | ||
"standard_track": true, | ||
"deprecated": false | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
{ | ||
"css": { | ||
"properties": { | ||
"anchor-name": { | ||
"__compat": { | ||
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/anchor-name", | ||
"spec_url": "https://drafts.csswg.org/css-anchor-position-1/#name", | ||
"support": { | ||
"chrome": { | ||
"version_added": "125" | ||
}, | ||
"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" | ||
}, | ||
"status": { | ||
"experimental": true, | ||
"standard_track": true, | ||
"deprecated": false | ||
} | ||
}, | ||
"none": { | ||
"__compat": { | ||
"spec_url": "https://drafts.csswg.org/css-anchor-position-1/#valdef-anchor-name-none", | ||
"support": { | ||
"chrome": { | ||
"version_added": "125" | ||
}, | ||
"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" | ||
}, | ||
"status": { | ||
"experimental": true, | ||
"standard_track": true, | ||
"deprecated": false | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.