Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upText node compression should consider incoming/outgoing text state #113
Labels
Comments
|
Fixed by #532. |
glennw
added a commit
to glennw/servo
that referenced
this issue
Jan 16, 2017
Take the overflow offset into account for the render targets of composite operations.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Text nodes are currently compressed (applying CSS
white-space) individually and then combined intoTextRuns where possible.When compressing a text node, the presence of whitespace immediately prior to the text node under consideration should influence whether leading whitespace is condensed. So, some state must be passed between calls to
transform_text, either by making it a helper object on the stack, or by passing a by-ref state variable.