Commit Graph

1348 Commits

Author SHA1 Message Date
Davide P. Cervone
21dd8a4b46 Make sure main container element gets width set when using right margin for negative size 2015-12-06 07:49:24 -05:00
Davide P. Cervone
757660863f Handle boxes with negative widths in CHTML. Resolves issue #1280 2015-12-05 18:43:31 -05:00
Davide P. Cervone
b231a0537c Merge branch 'issue1326' into develop. Issue #1326. 2015-12-05 13:45:29 -05:00
Davide P. Cervone
e47e221afa Merge branch 'issue1312' into develop. Issue #1312. 2015-12-04 14:37:32 -05:00
Davide P. Cervone
80125f99f1 Merge branch 'issue1316' into develop. Issue #1316. 2015-12-04 14:36:49 -05:00
Davide P. Cervone
3ff16901e6 Undo change in \underline (remove accent=false) since this produces poor results. Issue #1255. 2015-12-04 10:31:51 -05:00
Davide P. Cervone
206dc7f490 Make horizontal stretchy characters use multiple extenders rather than CSS transform. Issue #1326 2015-12-04 10:28:54 -05:00
Davide P. Cervone
49003fe4ac Fix vertical stretchy characters to use multiple extenders rather than CSS transform. Issue #1326 2015-12-03 11:49:55 -05:00
Davide P. Cervone
458cd7a760 Improve heuristics for adding function-apply following operators. Issue #1312. 2015-12-03 07:43:00 -05:00
Davide P. Cervone
2307a753b2 Fix problem with mtext losing initial spacing when the mtext containe only one printable character. Issue #1316. 2015-12-02 14:58:53 -05:00
Davide P. Cervone
3cdcd73b01 Merge branch 'issue1295' into develop. Issue #1295. 2015-12-02 11:19:58 -05:00
Davide P. Cervone
aa21c9fedd Merge branch 'issue1287' into develop. Issue #1287. 2015-12-02 11:19:08 -05:00
Davide P. Cervone
ea98a6e562 Make height/depth of horizontal stretchy characters be maximum of the height/depth of the component parts, rather than TeX's approach of using the extender's height and depth. Also, make over-brace and other over macros not set accent=false so they match TeX and the under versions better. Resolves #1255. 2015-11-02 09:22:36 -05:00
Davide P. Cervone
7c39f064d0 Handle scriptlevel set on arrays via an mstyle node (affects smallmatrix). Resolves issue #1295. 2015-11-01 19:22:11 -05:00
Davide P. Cervone
04bb13e932 Lookup stack container for stretchy operators for msubsup in CHTML. Resolves issue #1287. 2015-10-18 07:33:24 -04:00
Davide P. Cervone
ecbfb344c3 Move event handler to maction element rather than duplication it in two places (for HTML-CSS output). 2015-10-17 23:36:13 -04:00
Davide P. Cervone
415be7eaf7 Add explicit table border-spacing since Firefox seems to need this to avoid too large a space around the math when focusing. If the spacing is too small, it seems that Firefox fails to treat the inlein-table as a table, so use 3px and use the margin to remove it so there is no change in position. 2015-10-17 23:35:24 -04:00
Davide P. Cervone
83b482f4b4 Fix typo in bbox for mfrac, and add ability to draw debugging bounding box for a given element. 2015-10-17 22:19:54 -04:00
Davide P. Cervone
4c85dc09b9 Make mactions nest properly in SVG output 2015-10-17 06:01:15 -04:00
Davide P. Cervone
c68c690468 Make sure CHTML zoom has access to the proper container 2015-10-17 06:01:03 -04:00
Davide P. Cervone
b679e7e4df Merge branch 'issue1279' into develop. Issue #1279. 2015-10-14 09:09:35 -04:00
Davide P. Cervone
48e3ed1047 Merge branch 'issue1283' into develop. Issue #1283. 2015-10-14 08:01:41 -04:00
Davide P. Cervone
c8d09126b5 Make table frame and lines respect the scaling factor for the table (so they get thicker if the table is scaled). Issue #1279 2015-10-13 06:23:17 -04:00
Davide P. Cervone
c8ea88e195 Make horizontal lines have minimum lickness of 1px so they don't disappear. Issue #1279. 2015-10-13 06:15:32 -04:00
Davide P. Cervone
3b8ab2e5c1 Round em's to nearest pixel to avoid WebKit alignment issues. Resolves issue #1283. 2015-10-11 18:57:38 -04:00
Davide P. Cervone
7c3fbd95cc Mark CHTML output so that tex2jax won't re-process it. Resolves issue #1285. 2015-10-11 14:31:41 -04:00
Davide P. Cervone
225ac4680f Update version numbers of changed files 2015-10-08 20:52:14 -04:00
Davide P. Cervone
974b5d34c8 Merge branch 'issue1281' into develop. Issue #1281. 2015-10-08 20:46:10 -04:00
Davide P. Cervone
74c7898fca Merge branch 'issue1279' into develop. Issue #1279. 2015-10-08 20:45:59 -04:00
Davide P. Cervone
015c36ef84 Merge branch 'issue1278' into develop. Issue #1278. 2015-10-08 20:45:41 -04:00
Davide P. Cervone
bd5c6d7496 Scale pixels by the scaling factor in effect for node (since they are not relative units and won't be scaled automatically). Issue #1279 2015-10-08 08:35:59 -04:00
Davide P. Cervone
4765effa5f Make sure horizontal lines have units in pixels rather than ems so they are less likely to disappear 2015-10-08 08:19:05 -04:00
Davide P. Cervone
9da8bc6fdb Have non-token elements get the correct scaling factor (using the proper mathsize) rather than setting it to 1. This resolves issue #1281. 2015-10-08 08:12:29 -04:00
Davide P. Cervone
47163b5c70 Add missing ':focus' in CSS for handling outline better 2015-10-08 08:07:30 -04:00
Davide P. Cervone
1fa9bbaef0 Force width of mrow if there is negative space within the mrow (to work around WebKit bug). Resolves issue #1278. 2015-10-07 18:06:49 -04:00
Davide P. Cervone
4d6190c581 Use inline-table to make focus outline work better for all browsers. Resolves issue #1282 2015-10-06 20:48:15 -04:00
Davide P. Cervone
6535c031ed Fix alignment problems with horizontal stretched characters. Resolves issue #1276. 2015-10-03 08:31:17 -04:00
Davide P. Cervone
c83db737ec Fix problems found during packing of files 2015-09-19 17:26:48 -04:00
Davide P. Cervone
2557ccedae Update version number to 2.6-beta for beta release 2015-09-19 10:08:08 -04:00
Davide P. Cervone
65d9ee1160 Change MJXf-* to MJXp-* (since we renamed FastHTML to PreviewHTML) 2015-09-18 15:49:41 -04:00
Davide P. Cervone
f0c93c2d98 Fix problem with fractions in quirks mode in Safari and IE. Resolves issue #1035 2015-09-18 15:43:01 -04:00
Davide P. Cervone
45817c1519 merge branch 'develop' into more-menu (fix conflicts with Volker's changes) 2015-09-14 07:27:21 -04:00
Davide P. Cervone
031dccee98 Fix CHTML issues due to change from custom tags to span-with-class approach (i.e., replace uses of getElementsByTagName). Also fix some issues found by running the test suite. 2015-09-13 17:48:29 -04:00
Davide P. Cervone
3fa5b2d2ad Don't let svg element be focusable in IE. 2015-09-12 17:33:56 -04:00
Davide P. Cervone
649b7b2863 Properly handle left-hand space for first script after <none/> in CHTML mmultiscripts 2015-09-12 15:00:06 -04:00
Davide P. Cervone
0412d8ec7e Fixed CHTML.addElement to be able to create non-span elements (e.g., the <a> needed for href attributes) 2015-09-12 14:23:35 -04:00
Davide P. Cervone
17e02d710c Fix removal of previously rendered CHTML output (for Rerender, etc) to lok for class rather than node type, now that we switched to all spans again (sigh). 2015-09-12 14:19:37 -04:00
Davide P. Cervone
b1647c98e7 Make sure CommonHTML output is marked by isMathJax 2015-09-12 07:30:54 -04:00
Davide P. Cervone
bde96342e6 Move .MathJax:focus to right after .MathJax CSS, and make sure full-width equations are full width when converted to display:inline-block 2015-09-12 06:59:50 -04:00
Davide P. Cervone
3a15f83059 Adjust role for SVG output and put aria-label on the SVG element rather than the enclosing span; add role and aria-label to CHTML output. Resolves issue #1192. 2015-09-11 10:44:50 -04:00