Commit Graph

2057 Commits

Author SHA1 Message Date
Davide P. Cervone
94363d94bb merge branch 'assistive-mml' into develop 2015-09-11 17:06:12 -04:00
Davide P. Cervone
89f15693f7 Remove debugging log message and timer 2015-09-11 12:26:28 -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
Davide P. Cervone
a09993d75a Fix About box to show correct font for CommonHTML, and make it easier to add new output formats later. 2015-09-11 09:50:53 -04:00
Peter Krautzberger
bbdbe19eda update mml3.js
Extend Microsoft Edge workaround to Internet Explorer.
2015-09-09 17:33:59 +02:00
Peter Krautzberger
2c79bd4090 Update mml3.js
Fixes #1252.

* Add workaround for MS Edge bug. 
* Prettify xslt string.
2015-09-09 11:45:59 +02:00
Peter Krautzberger
98a8deecf6 Update MathJax.js: add UA detection for MS Edge
Cf. https://msdn.microsoft.com/en-us/library/hh869301.aspx
2015-09-09 11:40:23 +02:00
zorkow
d3a4535ec8 Merge branch 'develop' into integrate_keyboard_events 2015-09-04 15:00:59 +01:00
Peter Krautzberger
593a393bfc Improve RTL support in HTML-CSS
Add CSS to prevent browser interference
2015-09-04 10:21:34 +02:00
Davide P. Cervone
2639c8fd44 Merge branch 'fast-preview' into develop 2015-09-03 09:48:30 -04:00
Davide P. Cervone
3fdbe03b2a Update AsciiMath to current version. Issue #1247. 2015-09-03 09:39:55 -04:00
Davide P. Cervone
936f85b537 Merge branch 'issue1251' into develop. Issue #1251. 2015-09-03 09:36:11 -04:00
Davide P. Cervone
184e8860de Merge pull request #1249 from mathjax/issue1248
update locales for v2.6
2015-09-03 09:18:46 -04:00
zorkow
03e761dafe Makes if/return statements uniform to codebase. 2015-09-02 14:08:50 +01:00
zorkow
03c0aac634 Changed single quotes to double quotes for styling. 2015-09-02 13:52:21 +01:00
zorkow
b81019676f Fixes focusing on first and last element when moving between Maths elements. 2015-09-02 13:36:00 +01:00
Davide P. Cervone
78e9737b21 Rename FastHTML to PreviewHTML and FHTML-preview.js to fast-preview.js 2015-09-01 18:45:20 -04:00
zorkow
74c2b46da5 Consistently places menu on maths elements by adding scroll offset. 2015-09-01 23:12:46 +01:00
zorkow
0922aa2ebc Moves keyboard menu to centroid. 2015-09-01 21:27:25 +01:00
zorkow
0e1a33263f Adds to keyboard driven menus to FastHTML. 2015-09-01 21:16:29 +01:00
zorkow
7867707d5b Fixes deactivation problem in last submenu. 2015-09-01 21:16:07 +01:00
zorkow
a7e4c1a14c Adds final submenu closing and opening on left/right key. 2015-09-01 21:05:49 +01:00
zorkow
56deff3a7d Resets focus on last Maths element when closing popup windows. 2015-09-01 19:42:18 +01:00
zorkow
7054f37677 Integrates and moves improved CSS for outline. 2015-09-01 19:34:50 +01:00
zorkow
db2869a2d3 Increase in minimum width of source window to fix problem on Chrome. 2015-09-01 19:08:08 +01:00
zorkow
516874b50c Corrects keys and focusing on popup boxes. 2015-09-01 18:52:45 +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
Peter Krautzberger
4a1aaf6097 locales: add newly added locales to MathJax.js 2015-09-01 18:11:53 +02:00
Peter Krautzberger
42403dc869 i18n: add newly added locales 2015-09-01 16:01:45 +02:00
Davide P. Cervone
07eb553f8d Merge branch 'chtml' into develop. Issue #1051. 2015-09-01 08:13:11 -04: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
afdd671999 Proper keyhandling for popup windows. 2015-09-01 03:46:07 +01:00
zorkow
6cc308b5d0 Enables to untrigger menu with space. 2015-09-01 02:40:41 +01:00
zorkow
f73453512b Hides math element walking behind shift. 2015-09-01 02:21:06 +01:00
zorkow
faeae3e105 Fixes interference problems with submenu timer. 2015-09-01 01:58:38 +01:00
zorkow
c890d8183d Removes occurrence of elementsbyclassname. 2015-09-01 01:29:55 +01:00
zorkow
ad8a8704d4 Fixes scroll position and involuntary mouse interaction. 2015-09-01 00:58:53 +01:00
zorkow
2143219d9b Adds navigation role to main menu. 2015-08-31 21:08:27 +01:00
zorkow
0895c284d3 Passes through unused key events. 2015-08-31 19:56:07 +01:00
zorkow
f73d5f0094 Caches focused node. 2015-08-31 19:50:55 +01:00
zorkow
fbb70fb658 Removes logging and prototype addition. 2015-08-31 14:41:07 +01:00
Peter Krautzberger
e575948a88 Update locales for v2.6 release
Fixes #1248
2015-08-31 15:06:35 +02:00
Davide P. Cervone
e6f15a4bec Convert use of custom tags to span-with-class 2015-08-29 08:24:44 -04:00
zorkow
576d6b2132 Cleans event function. 2015-08-29 02:11:15 +01:00
zorkow
986ee52e8a Focuses popup windows. 2015-08-29 01:57:33 +01:00
zorkow
189d4a8a81 Adds tabbing and menu key event for for all renderers. 2015-08-29 01:02:33 +01:00
zorkow
d73dbe2860 Adds prototype definition for indexOf. 2015-08-29 00:30:34 +01:00
zorkow
9654bd4256 Navigation of RTL menus. 2015-08-29 00:09:43 +01:00
zorkow
66b56d9ac9 Moves posting code for keyboard triggered menus. 2015-08-28 22:52:45 +01:00
zorkow
583f4a60dc Fixes some scolling issues. 2015-08-28 18:42:28 +01:00
zorkow
d18bfbf66d Removes redundant methods. 2015-08-28 16:52:34 +01:00
zorkow
7f4c56df9b Removes all caching of DOM elements. 2015-08-28 16:51:20 +01:00
zorkow
0d60b0654b Removes caching of active element. 2015-08-28 12:29:19 +01:00
Davide P. Cervone
944000c76f Set min-width properly on tables with labels so that they don't overlap (596). 2015-08-26 19:21:47 -04:00
Davide P. Cervone
52ba4e6fa9 Fix default value for minlabelspacing (failed if unitless values were used) 2015-08-26 17:23:58 -04:00
Davide P. Cervone
8d4a15abc1 Fix problems with indentAlign='right'. 2015-08-26 17:17:55 -04:00
zorkow
1c07cf3189 Removes all caching of MathJax nodes. 2015-08-26 14:17:08 +01:00
zorkow
39109bf88a Removes caching of MathJax nodes. 2015-08-26 13:56:30 +01:00
Davide P. Cervone
d0e4e1b8f5 Handle explicit width correctly for tables in SVG (don't remove extra column spacing) 2015-08-26 08:47:42 -04:00
zorkow
1228bb89ad Introduces accessor function for cached MathJax nodes. 2015-08-26 13:38:44 +01:00
Davide P. Cervone
f886216f2c Handle explicit width correctly (don't remove extra column spacing) 2015-08-26 06:58:46 -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
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
c3f4606576 Fix problem with dahsed rowlines in mtable caused by changing to px for rules (and using top border for horizontal lines) 2015-08-25 16:55:33 -04:00
Davide P. Cervone
1abb78e9c9 Merge branch 'semantic-enhance' into develop 2015-08-25 15:32:24 -04:00
Davide P. Cervone
31e4b98a58 Merge remote-tracking branch 'mathjax/develop' into develop 2015-08-25 15:22:58 -04:00
Davide P. Cervone
463c88e4be Don't use monospace for MS, and use smart quotes, like CommonHTML. 2015-08-25 15:14:48 -04:00
Davide P. Cervone
0a4da7e3b4 Do quotes and text in one shot, like HTML-CSS and SVG (resolves some problems with the ms tests in the test suite). 2015-08-25 15:13:16 -04:00
Davide P. Cervone
930c5d3fb3 Make maction use the correct core node 2015-08-25 12:13:15 -04:00
Davide P. Cervone
3032239f7e Make fraction spacing consistent with HTML-CSS and SVG output 2015-08-25 12:12:51 -04:00
zorkow
816259d6ff Introduces accessor methods for all cached HTML nodes. 2015-08-25 13:48:00 +01:00
Davide P. Cervone
37d7a91a69 Only use mathsize on token elements 2015-08-25 08:09:43 -04:00
Davide P. Cervone
bea44b3029 Avoid problem with empty base element 2015-08-24 19:32:27 -04:00
Davide P. Cervone
0714de5336 Force a little more space in fractions, and get the spacing right for \atop 2015-08-24 18:03:45 -04:00
Davide P. Cervone
b80e69967b Add scaling factor to length2em computations (since containers set font-size, the absolute dimensions need to be adjusted to compensate). Make an mbase version to make that easier. 2015-08-24 18:00:28 -04:00
Davide P. Cervone
d139834179 Make sure mspace and mfrac set their scaling factors. 2015-08-24 13:56:58 -04:00
Davide P. Cervone
bf330af3f7 Make sure tables with labels are properly aligned (in case they are in an mrow with other stuff, though they shouldn't be). 2015-08-24 13:12:47 -04:00
Davide P. Cervone
e59f6d6484 Make sure parents of percentage-width elements have percentage widths. 2015-08-24 13:11:47 -04:00
zorkow
e29e3c9e99 Fixes activation problem for submenu anchor. 2015-08-24 17:01:50 +01:00
Davide P. Cervone
5296f1111f Make mtextFontInherit take the math scaling factor into account (issue 826). 2015-08-24 10:59:07 -04:00
Davide P. Cervone
3100f10c4a Don't count spacing (in paddingLeft and Right) as part of the width of an <mo> element 2015-08-24 10:45:47 -04:00
Davide P. Cervone
d400e00812 Handle math italic with mtextFontInherit, record unkown character axis properly, and get correct scaling for unknown characters. 2015-08-24 10:08:24 -04:00
Davide P. Cervone
6e1301e681 Update CHTML to get the proper node for handling horizontal stretchy characters. 2015-08-24 08:23:20 -04:00
Davide P. Cervone
966444bc31 Fix zoom scaling, and fix handling over overlaps on top and bottom 2015-08-22 12:13:15 -04:00
Davide P. Cervone
5f00f6facd Rename mapchars to remapchars property for consistency (was wrong in mo.CHTMLcanStretch). 2015-08-22 10:12:03 -04:00
Davide P. Cervone
fc04b1943d Fix typo in handling UTF-16 characters 2015-08-22 09:37:39 -04:00
Davide P. Cervone
2cce710826 Handle align attribute for munderover 2015-08-22 07:52:25 -04:00
Davide P. Cervone
f5928643b8 Make smartquotes into regular quotes for monospaced output 2015-08-22 07:52:06 -04:00
Davide P. Cervone
e7961f0dd2 Make phantom background colors not disappear, make spaces be kept in char boxes, and handle mrow-enclosed atom in superscripts (still needs work, like TWO mrows, etc., and should be made part of mml jax). 2015-08-22 07:50:56 -04:00
Davide P. Cervone
787006163b Don't count frame width in frame spacing, and add padding to fake td for equal heights. 2015-08-22 07:50:49 -04:00
Davide P. Cervone
94d236457c Fix vertical align percentage to be of initial image height (to be consistent with others) 2015-08-22 07:50:39 -04:00
zorkow
9266592219 Merge branch 'abstract_menu_entry_class' into add_tabbing 2015-08-21 13:11:22 +01:00
Volker Sorge
a3eef41c83 Merge pull request #1240 from mathjax/abstract_menu_entry_class
Adds level of subclassing for clickable menu items.
2015-08-21 21:10:28 +09:00
zorkow
72e1e6b5b5 Fixes case of disabled submenu entry. 2015-08-21 13:09:46 +01:00
zorkow
2f83433422 Makes Attributes interface uniform. 2015-08-21 12:59:28 +01:00
Davide P. Cervone
b5d6f31252 Add missind 'node' to CHTMLstretchH() call. 2015-08-21 07:46:01 -04:00
zorkow
64e8419ff1 Whitespace cleanup. 2015-08-21 12:37:26 +01:00
zorkow
4c54fe224e Fixes tangling active on mouseover. 2015-08-21 12:36:44 +01:00
zorkow
66fb6c9ab4 Fixes event problem 2015-08-21 12:27:15 +01:00
zorkow
70da9faa90 Introduces abstract superclass of all keyboard navigatable objects. 2015-08-21 05:35:20 +01:00