Commit Graph

405 Commits

Author SHA1 Message Date
Davide P. Cervone
9f0059cfb4 Handle hidden elements properly in HTML-CSS and SVG now that we are not looking up by frame ID. Also, cache hidden elements in SVG like in HTML-CSS. 2016-08-21 19:33:04 -04:00
Davide P. Cervone
dd2ac513ce Fix problem with identifying display math due to change from looking of frame to using previousSibling. 2016-08-18 10:16:03 -04:00
Davide P. Cervone
f6c72b41d6 Be sure to remove all previous output in HTML-CSS jax. 2016-08-17 18:56:57 -04:00
Davide P. Cervone
624572a654 Handle interleaved Typeset() calls better. 2016-08-17 16:20:59 -04:00
Davide P. Cervone
2cc672face Merge pull request #1547 from dpvc/issue1539
Fix fractions with line breaks in HTML output.  #1539
2016-08-05 10:21:49 -04:00
Davide P. Cervone
119f050dd3 Merge pull request #1526 from dpvc/issue989
Make minus in <mn> produce U+2212 rather than U+002D.  #989
2016-07-23 15:45:43 -04:00
Davide P. Cervone
e75d86950f Merge pull request #1538 from dpvc/issue1364
Don't let preview width interfere with the determination of the container width. #1364
2016-07-08 09:13:01 -04:00
Davide P. Cervone
4f87ff1b87 Merge pull request #1530 from dpvc/issue1478
Fix problem with Safari inserting line breaks before in-line math. #1478
2016-07-08 08:58:37 -04:00
Davide P. Cervone
68369285fd Make fractions with linebreaks center the elements based on the natural width (not 100%) in HTML-CSS and CHTML, just as in SVG. Resolves issue #1539. 2016-07-04 12:50:10 -04:00
Davide P. Cervone
3ee5ca30bb Don't let preview width interfere with the determination of the container width. Resolves issue #1364. 2016-06-23 20:37:25 -04:00
Davide P. Cervone
94f2f20448 Fix problem with Safari inserting linebreaks for in-line math due to new width-detection scheme (linebreakSpan). #1478. 2016-06-20 18:23:18 -04:00
Davide P. Cervone
8f628e0590 Adjust height and depth of minus to match plus, and fix arrow rep to remove the extra when it is used as an arrow extender. Fix up some spacing and use shorthands for some font names. Resolves issue #1187. 2016-06-16 22:20:56 -04:00
Davide P. Cervone
3d36b7a4ba Make minus in <mn> produce U+2212 rather than U+002D. Resolves issue #989. 2016-06-14 20:00:10 -04:00
Davide P. Cervone
abb7084ae9 Merge pull request #1479 from dpvc/issue1478
Properly determine container widths.  Resolves issue #1478.
2016-06-08 07:32:15 -04:00
Davide P. Cervone
0d192ebf70 Make getJaxForMath() work even during chunking. Resolves issue mathjax/MathJax-RespEq#119. 2016-06-06 07:41:18 -04:00
Davide P. Cervone
422065a0c1 Fix CSS for IE < 8. 2016-05-17 16:56:56 -04:00
Davide P. Cervone
22c1cf4cb9 Properly determine container width for shrink-wrapped elements in HTML-CSS, and add the CSS from handle-floats into the standard HTML-CSS. Remove the content of the handle-floats extension. Issue #1478. 2016-05-17 15:54:33 -04:00
Davide P. Cervone
264981846f Merge pull request #1461 from dpvc/issue1452
Make sure 0 remains 0 when rounding to pixels (plus a bit).  Resolves issue #1452.
2016-05-17 11:24:01 -04:00
Davide P. Cervone
19b813a4a7 Make Volker's suggested change. Issue #1452. 2016-05-11 20:48:29 -04:00
Davide P. Cervone
17cd3349c7 Merge pull request #1465 from dpvc/issue1437
Don't set role in CHTML and HTML-CSS output.   Resolves issue #1437.
2016-05-11 17:24:04 -04:00
Davide P. Cervone
d8f89ffade Merge pull request #1460 from dpvc/issue1370
Adjust position of rule for square root when it is made via `createRule()`.  Resolves #1370.
2016-05-11 17:20:59 -04:00
Davide P. Cervone
902aa2bf7e Don't set role in CHTML and HTML-CSS output, and fix comments in other jax. Issue #1437. 2016-05-04 08:18:59 -04:00
Davide P. Cervone
35ca30ef4c Make sure 0 remains 0 when rounding to pixels (plus a bit). Resolves issue #1452. 2016-05-03 21:15:55 -04:00
Davide P. Cervone
d9a64a2603 Adjust position of rule for square root when it is made via createRule(). Resolves issue #1370. 2016-04-29 19:29:54 -04:00
Davide P. Cervone
bab0a8dd8c Add more checks that the script tags are still in the active DOM before trying to use them. Resolves puzzling.SE issue #1384. 2016-04-08 14:03:34 -04:00
Davide P. Cervone
32c540b355 Merge branch 'issue1009' into develop. Issue #1009. 2016-02-06 10:42:31 -05:00
Davide P. Cervone
d1a569c905 Add jax parameter to getTabOrder() so that, if overridden, you can identify the jax (and it asociated script). 2016-02-06 10:35:31 -05:00
zorkow
a1bfe0afcf Adds configuration for excluding MathJax elements from tab order. 2016-02-06 09:26:29 -05:00
Davide P. Cervone
0a33759241 Add text-rending:optimizeLegibility to integrals and other characters that extend well past their width. Resolves issue #1009 2016-02-01 11:07:25 -05:00
Davide P. Cervone
dc450d6bc7 Handle movablelimits on TeXAtom elements. Resolves issue #1197. 2016-01-24 18:26:50 -05:00
Davide P. Cervone
46676fd233 Merge branch 'issue1314' into develop. Issue #1314. 2015-12-18 05:52:05 -05:00
Davide P. Cervone
0727dd5ae3 Make right clip be the width+1000 rather than a fixed size. Issue #1314 2015-12-18 05:48:19 -05:00
Davide P. Cervone
916965b777 Make clip rect larger so that wide math will not beclipped. Resolves issue #1314 2015-12-17 19:58:32 -05:00
Davide P. Cervone
e7c11c969a Fix focus problems due to overly aggressive CSS, and done add space around HTML-CSS output (which was causing problems). 2015-12-17 17:00:42 -05:00
Davide P. Cervone
bfcb0e94b5 Recompute the bounding box for an mrow with stretchable embellished operators that didn't actually stretch. Resolves issue #1332. 2015-12-11 11:53:53 -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
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
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
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
zorkow
7054f37677 Integrates and moves improved CSS for outline. 2015-09-01 19:34:50 +01:00
zorkow
94b0d7d1ee Merge branch 'develop' into integrate_keyboard_events
Conflicts:
	unpacked/jax/output/CommonHTML/jax.js
2015-09-01 18:30:46 +01:00
zorkow
189d4a8a81 Adds tabbing and menu key event for for all renderers. 2015-08-29 01:02:33 +01:00
Davide P. Cervone
8d4a15abc1 Fix problems with indentAlign='right'. 2015-08-26 17:17:55 -04:00
Davide P. Cervone
3d4bc8cd0f Handle indentshift properly in HTML-CSS output (don't need to scale it) 2015-08-26 06:39:23 -04:00
zorkow
7c68c1cb1c WIP 2015-08-18 22:01:27 +01:00
Davide P. Cervone
b1b6861a6c Use px rather than em for frames as well. Resolves issue #1095 in Safari. 2015-08-04 09:23:03 -04:00
Davide P. Cervone
922eabdf72 Use px rather than em for rule thicknesses, and use borderTop for wide rules rather than borderLeft. This makes them less likely to disappear. Resolves issue #1095. 2015-08-04 09:19:41 -04:00
Davide P. Cervone
efb24b7fc2 Properly detect the extra web fonts in IE10+. Resolves issue #1211. 2015-07-20 11:33:27 -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