-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
No innerHTML and pseudo-html cleanup #1792
Merged
Merged
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
3ad11f6
standardize on attr over style for text-anchor
alexcjohnson 9949092
centralize data-unformatted and use it for bBox cache key
alexcjohnson 951a75e
let Drawing.bBox handle tspan.line position reset
alexcjohnson 639878e
fix pseudo-html rendering in rangeselectors and updatemenus
alexcjohnson 16d7515
call bBox on text node when possible
alexcjohnson 0b2a7b2
clean up legend sizing and fallback on missing node
alexcjohnson a5a578f
minor lint to bar text
alexcjohnson 5d3648c
cleaner data-math usage
alexcjohnson d29159a
fix sliders with pseudo-HTML line breaks
alexcjohnson 6eedaa5
make `positionText` and `lineCount` fns
alexcjohnson 76fc8b8
linting related to tspan.line centralization
alexcjohnson 61dd3b1
use display:none instead of visibility:hidden
alexcjohnson 936936b
remove Drawing.measureText and support pseudo-HTML in carpets
alexcjohnson 4ae49f5
prohibit Math.sign and .innerHTML in syntax test
alexcjohnson 9f4ec66
remove Math.sign
alexcjohnson 1a5679e
fix title alignment
alexcjohnson af5b7f2
update snapshot test
alexcjohnson 4886985
oops, we need y=0 on tspan.line after all
alexcjohnson 717c7d8
hover labels need explicit position reset for proper positioning later
alexcjohnson 7c3dc3b
get correct bbox for carpet tick labels
alexcjohnson 378c805
fixed range selector mocks
alexcjohnson f8101b0
update binding mock - new label positions are slightly different
alexcjohnson 3b293ac
update updatemenus test
alexcjohnson c908ed4
lint axes.js
alexcjohnson 0bb38e9
reorder sliders findDimensions so dummy calculations always succeed
alexcjohnson 6c72c77
test #984 - ensure we never override visibility
alexcjohnson 30b9fa5
remove some obsolete code and comments from sliders/draw
alexcjohnson 930e58e
updatemenus point in the direction they'll open
alexcjohnson 301fba7
update updatemenus_positioning mock for new arrows
alexcjohnson 4b87b2e
fix #1782 (second half: arrowheads broken) - :hocho: parentElement
alexcjohnson a68f861
note about innerHTML prohibition
alexcjohnson c5fa44b
pull 1.3 out into alignment constants
alexcjohnson 82ba7ee
null transform, rather than empty string
alexcjohnson 27b4be3
selectAll -> select because it can only be one node
alexcjohnson 46d6e44
lint titles var statements
alexcjohnson 8305c02
let drawing.bBox cache simple nested elements
alexcjohnson 8e3d4fa
don't recalculate nodehash for recursive bBox
alexcjohnson 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 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 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops. My bad for putting these in.