Commit Graph

213 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
624572a654 Handle interleaved Typeset() calls better. 2016-08-17 16:20:59 -04:00
Davide P. Cervone
f5e818cc21 Merge pull request #1552 from dpvc/issue1022
Handle hrefs during line breaking.  #1022
2016-07-23 15:59:56 -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
2f1c09224a Fix line breaking to handle hrefs properly both when they are split and when they are not. Resolves issue #1022. 2016-07-06 07:43:04 -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
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
559102f017 Remove unneeded parentheses. #1478 2016-06-08 06:40:20 -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
67bca32380 Properly determine container width for shrink-wrapped elements, and try to handle the problem with full-width equations being too wide when the ex-size isn't measured accurately enough. Issue #1478. 2016-05-17 15:52:50 -04:00
Davide P. Cervone
ce4982f34b Merge pull request #1454 from dpvc/issue831
Use full location URL for xlink references in SVG <use> elements.  Resolves issue #831.
2016-05-17 11:22:57 -04:00
Davide P. Cervone
e14a8516d7 Make Volker's suggested change. Issue #831. 2016-05-11 20:39:42 -04:00
Davide P. Cervone
ba600e8f35 Merge pull request #1458 from dpvc/issue1422
Fix problem with container width in SVG when math is scaled.  Resolves issue #1422.
2016-05-11 17:12:58 -04:00
Davide P. Cervone
b7385f44d2 Fix problem with container width in SVG when math is scaled. Resolves issue #1422. 2016-04-29 10:32:23 -04:00
Davide P. Cervone
fc1d3d49f0 Remove previous output that is marked by MathJax_Processed as well as MathJax_Processing. Also could have allowed proper output in issue #1384, though it woud have replaced all the math on the page. 2016-04-08 16:17:15 -04:00
Davide P. Cervone
3473ccb613 Use full location URL for xlink references in SVG <use> elements when the page includes a <base> element. Resolves issue #831. 2016-02-22 16:58:06 +01: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
dc450d6bc7 Handle movablelimits on TeXAtom elements. Resolves issue #1197. 2016-01-24 18:26:50 -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
45817c1519 merge branch 'develop' into more-menu (fix conflicts with Volker's changes) 2015-09-14 07:27:21 -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
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
zorkow
d3a4535ec8 Merge branch 'develop' into integrate_keyboard_events 2015-09-04 15:00:59 +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
Davide P. Cervone
bc360cd262 Make sure primes are taken from the correct variant font (now that we have more than one to work with). Resolves issue #1251 2015-09-01 08:02:02 -04: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
b06c7a5f20 Make sure transform is non-null to avoid problems when it is appended later. 2015-08-26 06:23:04 -04:00
Davide P. Cervone
3f4c47b4d7 Make maligngroup and malignmark be self-closing in MathML input, and make them produce no output in SVG mode. Resolves issue #1233. 2015-08-09 15:07:42 -04:00
Davide P. Cervone
e3f1a68bbe Make sure that paths with scale() transforms retain the scaling when they are translated. Issue #1176 and mathjax/MathJax-node#93. 2015-04-28 18:26:49 -04:00
Davide P. Cervone
c5b2aa2515 Round height and depth of final SVG element to pixel size in order to try to get the baseline right. Resolves issue #995 (I hope). 2015-04-10 16:30:30 -04:00
Davide P. Cervone
f5c10288dd Update copyright dates. 2015-01-29 10:21:06 -05:00
Davide P. Cervone
477903cc79 Fix problem with positioning of colored rectangles (when combined combitionings add up to zero). 2015-01-27 08:16:20 -05:00
Davide P. Cervone
4e9a33e256 Set sh and sd on svg object (not mml object). 2015-01-17 14:00:28 -05:00
Davide P. Cervone
dc7919693d Accidentally reused variable y, so change to Y. Issue #991. 2015-01-15 15:02:50 -05:00
Davide P. Cervone
b60fb9b741 Use origin pad.y since it can change during Add(). Resolves issue #991. 2015-01-13 10:58:25 -05:00
Davide P. Cervone
0182094a37 Merge branch 'issue1002' into develop. Issue #1002. 2015-01-12 09:37:56 -05:00
Davide P. Cervone
24bfd6baf2 Merge branch 'issue997' into develop. Issue #997. 2015-01-12 09:37:34 -05:00
Davide P. Cervone
a2c3b7cdc2 Use currentColor rather than black for SVG output. Resolves issue #1002. 2015-01-11 09:51:17 -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
0529b5d78c Take base.x into account for positioning of super ans subscripts. Resolves issue #966. 2014-12-27 08:56:58 -05:00
Davide P. Cervone
f6293beea6 Add the SVG transform for flipping characters AFTER we have added colors and borders (since they can alter the svg.element, moving it lower in the chain and even removing it). Resolves issue #930. 2014-12-04 16:56:35 -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