Skip to content

Commit 85fdc93

Browse files
committed
⚒️ add dummy font-size for convertToTspan compat
- and add baseline
1 parent 45b6843 commit 85fdc93

File tree

2 files changed

+1
-0
lines changed

2 files changed

+1
-0
lines changed

Diff for: src/traces/table/plot.js

+1
Original file line numberDiff line numberDiff line change
@@ -530,6 +530,7 @@ function populateCellText(cellText, tableControlView, allColumnBlock, gd) {
530530

531531
var renderCallback = d.wrappingNeeded ? wrapTextMaker : updateYPositionMaker;
532532
if(d.needsConvertToTspans) {
533+
selection.style('font-size', 10);
533534
svgUtil.convertToTspans(selection, gd, renderCallback(allColumnBlock, element, tableControlView, gd, d));
534535
} else {
535536
d3.select(element.parentNode)

Diff for: test/image/baselines/table_plain_birds.png

101 KB
Loading

0 commit comments

Comments
 (0)