Skip to content

Commit 2a604ba

Browse files
committed
katex [nfc]: Note that heightEm might turn out not to be needed
1 parent ebce0a4 commit 2a604ba

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/model/katex.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -723,6 +723,10 @@ enum KatexSpanTextAlign {
723723

724724
@immutable
725725
class KatexSpanStyles {
726+
// TODO(#1674) does height actually appear on generic spans?
727+
// In a corpus, the only occurrences that we don't already handle separately
728+
// (i.e. occurrences other than on struts, vlists, etc) seem to be within
729+
// accents; so after #1674 we might be handling those separately too.
726730
final double? heightEm;
727731

728732
// We expect `vertical-align` inline style to be only present on a

0 commit comments

Comments
 (0)