Commit 59f4bfd
feat(core): Add px unit as 0.75pt as per CSS3
We long did without it, but MathML examples may contain lengths in px.
And we'll be happy too with other uses cases such as Markdown etc.
This might break some code as SILE.types.length can ignore the unknown
unit and the raw number value would thus be regarded as being in pt.
But that's rather a parsing bug anyway, and SILE.types.measurement spits
an error, so let's not care.1 parent f4c513a commit 59f4bfd
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
79 | 86 | | |
80 | 87 | | |
81 | 88 | | |
| |||
0 commit comments