Commit Graph

552 Commits

Author SHA1 Message Date
Davide P. Cervone
d613dabd8e Treat missing super- or subscript as <none/> when not properly paired in multiscripts. Resolves issue #1188. 2015-07-20 15:06:37 -04:00
Davide P. Cervone
bcdb2f1048 Don't allow labels to overlap equations in HTML-CSS mode. Because HTML-CSS allows tables that fill 100% of the width, making this work for centered equations is sub-optimal as we have to leave space on both sides of the equation to balance the label width. Issue #596. 2015-07-13 10:52:04 -04:00
Davide P. Cervone
ca6ffc7b41 Use scale of 1 if bbox.scale is not set (affects fractions, for example). Resolves issue #1072. 2015-06-29 09:54:37 -04:00
Davide P. Cervone
a154d7ded1 Merge branch 'hotfix-2.5.3' into develop 2015-04-30 17:51:07 -04:00
Davide P. Cervone
72af812dfe Changed the wrong version number in the previous commit. 2015-04-30 17:13:44 -04:00
Davide P. Cervone
242c9356f5 Put off moving math in containers with display:none from the hidden div where they are typeset to their proper locations until AFTER they have been remeasured. Resolves issue #1179. 2015-04-30 13:44:03 -04:00
Davide P. Cervone
325f149ef7 Merge remote-tracking branch 'mathjax/hotfix-2.5.2' into develop 2015-04-29 10:54:31 -04:00
Davide P. Cervone
d4b1fa042a Merge branch 'issue1072' into develop. Issue #1072. 2015-04-21 16:45:12 -04:00
Davide P. Cervone
d47dbd1c52 Update version numbers. 2015-04-21 11:49:54 -04:00
Davide P. Cervone
6aba7a2170 Fix handling of colored backgrounds on math elements in IE, and on mspace/mpadded elements in IE < 8. 2015-04-20 13:18:14 -04:00
Davide P. Cervone
0fb87f3dea Right-justify prescripts in mmultiscript elements. Resolves issue #1072. 2015-04-15 19:55:23 -04:00
Davide P. Cervone
be57176825 Add arc/fown/smile as horizontal stretchy delimiters. Issue #928. 2015-04-15 11:17:22 -04:00
Davide P. Cervone
b9e3761714 Merge branch 'issue1139' into hotfix-2.5.2. Issue #1139. 2015-04-13 18:03:10 -04:00
Davide P. Cervone
feb05eb185 Merge branch 'issue1163' into hotfix-2.5.2. Issue #1163. 2015-04-13 18:02:27 -04:00
Davide P. Cervone
55c88eb608 Fix HTML-CSS bounding boxes for annotation-xml nodes when used illegally as first semantics child. 2015-04-13 17:59:59 -04:00
Davide P. Cervone
4a4221b78b Make sure that unknown characters in an mrow force the mrow to be measured. Resolves issue #1163. 2015-04-13 17:18:07 -04:00
Davide P. Cervone
b8a48d9cd7 Properly measure final HTML-CSS output to make sure we have the right size. Resolves issue #1158. 2015-04-13 16:15:07 -04:00
Davide P. Cervone
ed85cf61ee Fix HTML-CSS bounding boxes for annotation-xml nodes when used illegally as first semantics child. 2015-03-18 13:04:52 -04:00
Davide P. Cervone
ad66602529 Merge remote-tracking branch 'dpvc/hotfix-2.5' into develop 2015-02-25 18:34:17 -05:00
Davide P. Cervone
5f53a23e58 Force measurement of unknown characters, even when noReflows is active. 2015-02-25 10:59:01 -05:00
Davide P. Cervone
6286c63239 Fix var problems identified by YUI. 2015-02-20 09:47:47 -05:00
Davide P. Cervone
f87cb5cf42 Bump version numbers for updated files 2015-02-19 17:43:07 -05:00
Davide P. Cervone
3308957304 Fix some comments. 2015-02-19 08:58:01 -05:00
Davide P. Cervone
fe0d977494 Handle padding in measured children when noReflows is used (e.g., in maction tags around operators). 2015-02-17 16:03:25 -05:00
Davide P. Cervone
49c3e3a156 Don't set font-size of maction span (the elements it contains do that themselves). 2015-02-14 15:43:40 -05:00
Davide P. Cervone
15b3928891 Break HTML-CSS output into phases so that the final measurement can be done all at once. Restores timing improvements that were lost due to a change made in the testing for v2.5. 2015-02-14 15:30:37 -05:00
Davide P. Cervone
737fbc01df Fix var issues (noted by YUI compression) 2015-01-29 10:34:58 -05:00
Davide P. Cervone
e4982cb703 Fix unneeded variable (noted by YUI compression) 2015-01-29 10:32:36 -05:00
Davide P. Cervone
f5c10288dd Update copyright dates. 2015-01-29 10:21:06 -05:00
Davide P. Cervone
31fcf19d92 Update file versions to 2.5.0. Ready for release! 2015-01-28 14:49:36 -05:00
Davide P. Cervone
0433a7b0ee Some fixes to get things to work in older IE versions. 2015-01-28 14:46:15 -05:00
Davide P. Cervone
da8b1ea1ff Make super- and subscripts respect height of stretched characters. 2015-01-28 11:43:19 -05:00
Davide P. Cervone
8f9d982af6 Scale displayIndent to HTML size, since the shift is outside the font-size scaling. This was required by the change to issue 769. (Issue #768.) 2015-01-24 05:15:21 -05:00
Davide P. Cervone
cd235d5b0e Handle background color properly when there is an indentshift. 2015-01-23 11:31:17 -05:00
Davide P. Cervone
08cb7160f5 Fix scaling of indentshift in HTML-CSS; since is outside the font-size change, it doesn't need HTMLCSS.scale. 2015-01-22 10:15:12 -05:00
Davide P. Cervone
24bfd6baf2 Merge branch 'issue997' into develop. Issue #997. 2015-01-12 09:37:34 -05:00
Davide P. Cervone
856d839ce9 Don't set tabindex, as it causes unwanted focus outlines. Revisit this later when we do accessibility update. Resolves issue #997. 2015-01-11 09:25:41 -05:00
Davide P. Cervone
2431a90a9f Rename variable used for displayIndent so it doesn't conflict with previous usage. Also, handle '0em' and similar values as '0'. Resolves issue #1000. 2015-01-11 09:20:30 -05:00
Davide P. Cervone
88a96372c0 Update version numbers for 2.5.0-beta 2014-12-30 18:27:01 -05:00
Davide P. Cervone
8a1db4b859 Make HTML-CSS measure the final math element so that the right amount of place is left for it (particularly a problem in Safari). 2014-12-30 18:21:05 -05:00
Davide P. Cervone
edce81f691 Prevent use of id's in previews from confusing HTMLspanElement() calls. 2014-12-28 12:02:34 -05:00
Davide P. Cervone
8fd8bf258b Handle linebreaking in a base with empty superscript or subscript. Resolves issue #949. 2014-12-27 11:59:15 -05:00
Davide P. Cervone
301ee4f300 Merge branch 'issue950' into develop. Issue #950. 2014-12-07 07:10:09 -05:00
Davide P. Cervone
f6bf4c13e3 Merge branch 'issue931' into develop. Issue #931. 2014-12-07 07:09:49 -05:00
Davide P. Cervone
3f3f27005a IE9+ has a name limits of 31 for font-family, so the long names cause problems; fortunately, FontFaceBug is only needed for IE8 and below, so make that be version dependent. Resolves issue #950. 2014-12-06 20:24:41 -05:00
Davide P. Cervone
ae0f3fe3b3 Add more version information for Safari, and use Em rounding for Safari 8.0 (also 6.2, 7.1, which have the same WebKit version). Resolves issue #931. 2014-12-06 18:00:31 -05:00
Davide P. Cervone
bf3d52af54 Fix incorrect width for minus sign in delimiter data, and don't modify depth of the minus sign (was being done for arrow extenders, but do that for the extenders only). Resolves issue #937. 2014-12-06 08:18:42 -05:00
Davide P. Cervone
2babc14e1b Merge branch 'issue860' into develop. Issue #860. 2014-11-02 09:27:27 -05:00
Davide P. Cervone
ff8637377f Merge branch 'issue804' into develop. Issue #804. 2014-11-02 09:26:36 -05:00
Davide P. Cervone
ad004ac668 Preserve RDFa and other non-standard attributes from MathML elements in the HTML-CSS or SVG output. Resolves issue #860, and also handles #502 as a side-effect. 2014-09-14 13:47:20 -04:00