Commit 69400a6
committed
fix(#429): also skip the logical inline-size and the rest of the table box tree
My earlier #429 fix only skipped the physical width on <td>/<th>, but getComputedStyle also
emits the logical inline-size, which re-froze the cell, and freezing the <table>/<tr>/<tbody>
used widths pins the whole auto table. When the rasterized SVG falls back to a wider font
(system-ui isn't available when an SVG renders as an <img>) the cells can't grow and the text
wraps at the space (the "✅ 2024-09-16" case) — even though the SVG itself renders fine in a tab.
I now skip both width and inline-size (min/max included) across the table box tree, so the
cloned table re-runs its own layout. Column widths from the width attribute / <col> still survive.1 parent 33b81eb commit 69400a6
2 files changed
Lines changed: 16 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
165 | 172 | | |
166 | 173 | | |
167 | | - | |
| 174 | + | |
168 | 175 | | |
169 | 176 | | |
170 | 177 | | |
| |||
0 commit comments