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

Add columns CSS properties compat data #435

Merged
merged 21 commits into from
Oct 8, 2017
Merged

Conversation

ddbeck
Copy link
Collaborator

@ddbeck ddbeck commented Sep 29, 2017

This PR adds compat data for the following CSS properties:

The source tables are a bit iffy, with lots of suspect columns for Android, Android Webview, and Chrome for Android. The columns property is probably a good example of how I've tried to interpret the tables (e.g., rather than reconcile Webview and Android version numbers, I went with true in some cases). Happy to make corrections, if desired.

@teoli2003 teoli2003 added the data:css Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS label Sep 29, 2017
Copy link
Contributor

@teoli2003 teoli2003 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, iffiness of the original table makes it more complex. A few things to change, nothing too big.

},
{
"prefix": "-moz-",
"version_added": "1.5"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be "1", there wasn't a 1.5 for Android, and 1.0 was done more or less when 3.0 went out on Desktop. See column-width entry.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed with 5341b93.

"version_added": true
},
"opera": {
"version_added": "11.10"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The -webkit- prefixed version exists in Opera since 15

"version_added": "11.10"
},
"opera_android": {
"version_added": true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add -webkit- prefix with true too.

"version_added": "3"
},
"safari_ios": {
"version_added": true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With -webkit- prefix too.

"version_added": "10"
},
"opera": {
"version_added": "11.10"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add -webkit- prefix with "15" too.

"safari_ios": {
"version_added": true
}
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Status is missing too. Is this a standard behaviour?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Like above, I'm not sure. I looked over the standards documents link from both the column-width and display property pages and couldn't find any mention of interaction between the two. Again, I don't know what behavior this refers to.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, added status statement.

"safari_ios": {
"version_added": true
}
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Status is missing. Is this a standard behaviour?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure. I looked over the standards documents link from both the column-count and display property pages and couldn't find any mention of interaction between the two. I'm honestly not sure what behavior it refers to, to be honest.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, statement added.

"safari_ios": {
"version_added": true
}
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Status is missing. Is this a standard behaviour?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another "on display: table-caption" case. Again, I don't know how to handle the status statement on this subfeature either.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is standard, and non-experimental.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, added.

"firefox_android": [
{
"version_added": "52",
"notes": "Before Firefox 3, the default value for the <code>normal</code> keyword was <code>0</code> and not <code>1em</code>."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can remove this note. Fx Android 1 came after the fix.

"firefox": [
{
"version_added": "52",
"notes": "Before Firefox 3, the default value for the <code>normal</code> keyword was <code>0</code> and not <code>1em</code>."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move to the prefixed version entry.

@ddbeck
Copy link
Collaborator Author

ddbeck commented Oct 3, 2017

@teoli2003 I think the I've fixed the other issues, so if you've got guidance on status statements, I'd appreciate it. Thanks!

Copy link
Contributor

@teoli2003 teoli2003 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are extremely close to have this one landed, too. Yipee!

"safari_ios": {
"version_added": true
}
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is.

"safari_ios": {
"version_added": false
}
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given that there are 0 implementation, it can't be anything else than experimental.

"safari_ios": {
"version_added": true
}
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is.

"safari_ios": {
"version_added": true
}
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is standard, and non-experimental.

Copy link
Collaborator Author

@ddbeck ddbeck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, I've made the changes requested. Let me know what you think!

"safari_ios": {
"version_added": true
}
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, statement added.

"safari_ios": {
"version_added": false
}
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, status statement added.

"safari_ios": {
"version_added": true
}
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, added status statement.

"safari_ios": {
"version_added": true
}
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, added.

Copy link
Contributor

@teoli2003 teoli2003 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, r+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:css Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants