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

Implement support for CSS 2.1 'white-space' property #80

Closed
burg opened this issue Sep 18, 2012 · 3 comments
Closed

Implement support for CSS 2.1 'white-space' property #80

burg opened this issue Sep 18, 2012 · 3 comments

Comments

@burg
Copy link

@burg burg commented Sep 18, 2012

http://www.w3.org/TR/CSS2/text.html#propdef-white-space

This property controls how whitespace (spaces, tabs, line breaks) are treated by layout. The property values are permutations of different settings for space and line breaks, and is not hard to implement.

For now, the case of 'normal' can be implemented without waiting for the white-space property to be supported by the CSS parser.

@bzbarsky
Copy link
Contributor

@bzbarsky bzbarsky commented Sep 18, 2012

You might want to just go ahead and plan on implementing the setup from http://dev.w3.org/csswg/css3-text/ which is a bit more complicated...

@burg
Copy link
Author

@burg burg commented Oct 9, 2012

This functionality belongs in TextRunScanner, used by InlineFlow.

@burg
Copy link
Author

@burg burg commented Oct 13, 2012

AFAIK, the existing compression modes could be used to support all the CSS 'whitespace' values. This was implemented in f5a5f35. There are several followup issues for the corner cases and stubbed features.

@burg burg closed this Oct 13, 2012
glennw added a commit to glennw/servo that referenced this issue Jan 16, 2017
Implement tessellation for large border radii.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.