Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

mother-effing hyphenation #788

Closed
chriseppstein opened this Issue · 8 comments

4 participants

@nickcooley

Added with [bbdd701]

Chris, please let me know if you had something else in mind for this...

Thanks,

@ry5n

@nickcooley You beat me to this! One thing I was considering was whether there should be some way to have word-break without hyphenation, and possibly (?) the other way round, eg. bare urls in a hyphenated passage probably should break, but hyphenation would be bad… I think I would have leaned to two mixins, +word-break and +hyphens, named the same as the css props, and maybe a third to include them both? @chriseppstein?

@nickcooley

Ryan --

Thx for the feedback! Much appreciated! So, the initial inspiration for the mixin was blog post listed above. I think you make a really good point though and that is to create mixins for the lower level elements as well... I'll get cracking on that (as well as adding other mixins based on the CSS Text Level 3 spec while I'm at it: http://www.w3.org/TR/css3-text/#word-break).

To stay consistent with the spec, I may rename the partial to "_text" as all of these features fall under the CSS3 "Text" spec.

Thoughts on that?

@ry5n

@nickcooley Awesome! Let me know if I can help further. As for where this should go in Compass, it’s Chris’ call.

@nickcooley

@chriseppstein -- Do you have any thoughts about where this fits into existing mixin structure? Technically, like I said, word-breaks and hyphenation is all part of the CSS Text Lvl3 spec. But so are things like text-shadow (which has its own mixin.) or text-outline which technically could fall into it too...

@chriseppstein

where you have it seems ok

@nickcooley nickcooley referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@nickcooley nickcooley referenced this issue from a commit in nickcooley/compass
@nickcooley nickcooley Mother-effing hyphenation
[#788] adds mixin for word-break and hyphens
4c10efc
@chriseppstein chriseppstein referenced this issue from a commit
@nickcooley nickcooley Mother-effing hyphenation
[#788] adds mixin for word-break and hyphens
8db0b40
@ry5n

@chriseppstein Should this be closed now that it's been committed? @nickcooley Was there more work to do on this?

@nickcooley
@scottdavis scottdavis closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.