-
David Schnur authored
When the placeholder has (or inherits) the HTML 'dir' attribute or CSS 'direction' we get unexpected results from text metrics, resulting in visual glitches on the axes. The suggested solution in #716 was to set ltr on the placeholder, but this introduces its own problems, since the user probably *does* expect rtl on items like the legend. So we'll instead set ltr only on the canvases. We should review this behavior at some point; rtl is something we need to handle, not work around. It also needs to be kept in mind as we move canvas-text into a plugin. But for now this solution at least ensures consistent behavior.
d7c58b59