-
Couldn't load subscription status.
- Fork 197
textOverflow #1283
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
Merged
Merged
textOverflow #1283
Changes from 32 commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
e644e47
textOverflow
Fil cd1e6b0
more textOverflow options; work with utf8 chars rather than string in…
Fil 51927ff
format
Fil 73bdb09
the measure for … determines how some strings are clipped
Fil ba53f59
clip-end, ellipsis-end
Fil 32f1716
roll back the changes to lineWrap, treat unknown char width as 1em, f…
Fil 1e074ac
monospace emoji is 1 char
Fil 1921321
tests
Fil 08bca9b
monospace emoji
Fil 59dc2c2
undo changes to the metric
Fil 3e69fae
tests
Fil b1ec861
restore comment, clean up
Fil 008bb77
clarify the role of this function: it returns the length of the curre…
Fil 8e35247
cleaner
Fil f0d0355
glyph length
Fil 6fe7852
test readCharacter
mbostock 20f7049
isPictographic
mbostock 56d8c01
tweak
mbostock 0f4342a
cut
mbostock 402c1c6
more rigorous clip tests
mbostock 4640b3d
add failing tests
mbostock 5b55f8e
better middle clip; fix names
mbostock 71ef663
center ellipsis
mbostock 93a2ed8
comments
mbostock 6c97854
splitText
mbostock 9742747
separate splitting from clipping
mbostock 56898a7
splitLines, clipLine
mbostock e351c88
inferFontVariant
mbostock 2491140
maybeTextOverflow
mbostock cfc7e2e
widthof(text) shorthand
mbostock f2c4440
include ellipsis in default width map
mbostock 2b58dff
add a multiline film title to the test, and remove obsolete comments
Fil 954ee22
optimize and improve readability
mbostock 64d117e
Update README
mbostock File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.