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 line-height-step to properties.json. #103

Merged
merged 4 commits into from
Jul 31, 2017

Conversation

jpmedley
Copy link
Contributor

This isn't quite ready. I wasn't able to figure out what belongs in the animationType field.

@jpmedley
Copy link
Contributor Author

The spec says that this property is not even animatable. So, it can't have any of the animation types listed in the schema. Can someone please tell me how to proceed?

@Elchi3
Copy link
Member

Elchi3 commented Jul 31, 2017

(I'm not a CSS expert nor an active maintainer of the MDN CSS docs, but ...)

I think it should be "discrete". It's shame we don't explain this on the MDN CSS pages. There should be glossary entry explaining discrete animations and every mention of "discrete" should link to it.
c.f. https://developer.mozilla.org/en-US/docs/Web/CSS/background-repeat
https://stackoverflow.com/questions/44510663/what-are-discrete-animations

I think this came from some specs changing "Animatable" to "Animation type" but there are still some specs around that use "Animatable". On MDN we use "Animation type" everywhere I think.

@jpmedley
Copy link
Contributor Author

Done. PTAL.

Copy link
Member

@Elchi3 Elchi3 left a comment

Choose a reason for hiding this comment

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

Looks almost good to me!

"appliesto": "blockContainerElements",
"computed": "absoluteLength0ForNone",
"order": "perGrammar",
"status": "nonstandard"
Copy link
Member

Choose a reason for hiding this comment

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

I guess this should be "standard" as there is a specification for this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes https://drafts.csswg.org/css-rhythm/#line-height-step

But I thought 'standard' was reserved for things that are full fledged recommendations.

Copy link
Member

Choose a reason for hiding this comment

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

Sorry, but I would say definitely not "nonstandard". I guess "standard" is the default/standard setting I would set here. But possibly "experimental" (I'm not always clear on how we use that term, and I look at other usages of it to judge.)

Other properties that have "experimental": display-list, display-outside, font-variation-settings, initial-letter, max-block-size, offset, ... What do you think?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

My sense is that 'experimental' would be more consistent with what you guys typically do. Changing it now.

Copy link
Member

@Elchi3 Elchi3 left a comment

Choose a reason for hiding this comment

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

Great, thanks!

@Elchi3 Elchi3 merged commit ac2257f into mdn:master Jul 31, 2017
@jpmedley jpmedley deleted the line-height-step branch July 31, 2017 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants