-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Updating intrinsic sizing keywords data #3457
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
Conversation
Firefox 66 has unprefixed the min-content and max-content keywords. I'veupdated the compat data based on this and my testing. The fit-content keyword is still left prefixed. The data is pretty patchy so I also tested on some other browsers to fill out some nulls, so have updated Edge and Safari too.
|
Good catch, I must have missed those when trying to split the data in a sensible manner. Fixed. Also while just checking I hadn't been thinking of something else I got the Opera data so have included that, and done some other fixing up. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there's one last thing to fix here. Thank you, @rachelandrew!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I send this with an apology for reviewing too quickly yesterday.
| } | ||
| ], | ||
| "chrome_android": { | ||
| "version_added": "46" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to match chrome.
css/properties/max-width.json
Outdated
| "version_added": "5.0" | ||
| }, | ||
| "webview_android": { | ||
| "version_added": "46" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"webview_android": [
{
"version_added": "46"
},
{
"prefix": "-webkit-",
"version_added": "true"
}
]
| } | ||
| ], | ||
| "chrome_android": { | ||
| "version_added": "46" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My earlier comment is an error. This should match chrome.
css/properties/min-width.json
Outdated
| "version_added": "5.0" | ||
| }, | ||
| "webview_android": { | ||
| "version_added": "46" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"webview_android": [
{
"version_added": "46"
},
{
"prefix": "-webkit-",
"version_added": "true"
}
]
| } | ||
| ], | ||
| "chrome_android": { | ||
| "version_added": "46" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Match Chrome.
css/properties/min-width.json
Outdated
| }, | ||
| "webview_android": { | ||
| "version_added": null | ||
| "version_added": "46" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"webview_android": [
{
"version_added": "46"
},
{
"prefix": "-webkit-",
"version_added": "true"
}
]
| } | ||
| ], | ||
| "chrome_android": { | ||
| "version_added": "46" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Match Chrome.
css/properties/min-width.json
Outdated
| "version_added": "5.0" | ||
| }, | ||
| "webview_android": { | ||
| "version_added": "46" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"webview_android": [
{
"version_added": "46"
},
{
"prefix": "-webkit-",
"version_added": "true"
}
]
|
I believe the changes have all been done although this has become an exercise in chasing my own tail as comments are being made while I'm trying to make updates on previous comments. I suggest that we merge this, and if there are still issues please raise them and I'll make a new PR to fix these. The aim of this was to support the Firefox release. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good. Thank you, @rachelandrew 🎉
Firefox 66 has unprefixed the min-content and max-content keywords: https://bugzilla.mozilla.org/show_bug.cgi?id=1322780. I've updated the compat data based on this and my testing. The fit-content keyword is still left prefixed.
The data is pretty patchy so I also tested on some other browsers to fill out some nulls, so have updated Edge and Safari too.
All of the sizing keywords were combined in some files, and as data typically is different, I split these out. I added sections for these keywords where there were none.