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 support for box-decoration-break #344

Closed
simevidas opened this issue Nov 8, 2014 · 9 comments
Closed

Add support for box-decoration-break #344

simevidas opened this issue Nov 8, 2014 · 9 comments
Labels

Comments

@simevidas
Copy link
Contributor

Spec: http://dev.w3.org/csswg/css-break/#break-decoration

Support:

  • Firefox: box-decoration-break
  • Chrome (& other WebKit browsers): -webkit-box-decoration-break

Live demo: http://jsbin.com/xojoro/edit?css,output


Side note: IE11 does not seem to support this feature. MDN indicates that -ms-box-decoration-break is supported, but from what I can see, a variation of the clone behavior is implemented by default and it cannot be influenced by CSS. See screenshot below:

capture

@ai
Copy link
Member

ai commented Nov 8, 2014

Nice. We will add it to 3.2, but next week I will release PostCSS 3.0 (release should be today, but my friend send my really crazy perfomance optimization).

You can help me with this feature, if you send PR to Can I Use.

@simevidas
Copy link
Contributor Author

I’ve voted here: http://www.google.com/moderator/#9/e=ae425&q=ae425.6f5f51&g=box-decoration-break&v=4

I could also try to create the JSON file for this feature for Can I Use.

@ai
Copy link
Member

ai commented Nov 9, 2014

@simevidas yeap, I mean JSON :)

@simevidas
Copy link
Contributor Author

@ai I’ll give it a shot. Note that PRing entire JSONs is not how Can I Use operates. From what I see, @AurelioDeRosa is the only one who has ever done it (on two occasions). cc @Fyrd

@ai
Copy link
Member

ai commented Nov 9, 2014

@simevidas I PRed many JSONs, there was no problem ;-). They also have good recommendations, how to fill JSON.

@simevidas
Copy link
Contributor Author

@ai My mistake. I forgot to sort the contributors list by number of additions.

@ai
Copy link
Member

ai commented Nov 12, 2014

Done c0a1c85.

I plan to relwase it tomorrow.

@ai ai closed this as completed Nov 12, 2014
@ai
Copy link
Member

ai commented Nov 13, 2014

Released in 3.2

@ai ai removed the 3.2 label Nov 13, 2014
@simevidas
Copy link
Contributor Author

Great :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants