You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix array rule corner overhang: outer v-rules flush with h-rules
Horizontal rules span the full content box [0, contentWidth], but
columnOffsetsForTable: added padding on *both* sides of every vertical
rule — including outside the outermost rules. That inset the outer
verticals by `padding` from the box edges, so every \hline overhung the
outer `|` by `padding` on each side (visible as horizontal lines poking
past the box corners; MathJax/LaTeX meet flush).
Drop the outside padding on the outer boundaries (i==0, i==numColumns):
padding now lives only between a rule and the cell content, so the
outermost rules sit flush at x==0 / x==contentWidth — the same edges the
horizontal rules span. Interior boundaries keep padding on both sides.
Matrix path is untouched (fires only when verticalLines[i] > 0).
testArrayRuleGeometryIsDeterministic now pins the flush-corner invariant:
the leftmost v-rule stroke edge is at x=0 and each h-rule's ends coincide
with the outer v-rules' stroke edges instead of overhanging.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments