Commit Graph

2696 Commits

Author SHA1 Message Date
zorkow
3e190fc5f4 Adds additional aria elements for the menu items. 2015-09-14 01:28:13 +01:00
Davide P. Cervone
6f461fdb5c Make keyboard menus work with [Math Processing Error] elements. 2015-09-13 18:59:08 -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
31992363fd Fix problems found during the running of the testsuite. (First, make sure event is non-null, but I think that was already the case. So we don't need the later tests for it. Then use clientX and clienY even if they are zero.) 2015-09-13 17:44:11 -04:00
Davide P. Cervone
104434c674 Add mobile detection for Chrome and enable alternate context menu trigger (double-tap and hold) 2015-09-13 11:27:54 -04:00
Davide P. Cervone
79bd8996ed Add warning when switching to NativeMML in Edge 2015-09-13 11:09:55 -04:00
Davide P. Cervone
620e303b10 Detect Microsoft Edge, and also set isMobile for Window Phone 2015-09-13 10:57:34 -04:00
Davide P. Cervone
d7f946e5cb Handle keyboard events and menu placement better in IE < 9 2015-09-12 17:35:41 -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
f54168eed3 Fix spacing for eqnarray environment now that it is handled in AMSarray 2015-09-12 15:09:01 -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
e172b04928 Use less-aggressive CSS for ltr and inline-block, and do Edge check within the extension. 2015-09-12 13:23:29 -04:00
Davide P. Cervone
4c5314c95f Merge branch 'issue1192' into develop. Issue #1192. 2015-09-12 11:11:39 -04:00
Davide P. Cervone
49e0852d36 Don't focus the math element if the menu was closed via a mouse click. 2015-09-12 10:16:24 -04:00
Davide P. Cervone
8645c8ce94 Don't show focus on dialog boxes opened by mouse events (only keyboard), and don't show focus for close icon when clicking with mouse 2015-09-12 10:08:50 -04:00
Davide P. Cervone
0cf2a52745 Add styling to make mouse-based menu display look as the same as before (no focus highlighting, though focus is still set) 2015-09-12 08:58:20 -04:00
Davide P. Cervone
9d508c72d8 Also make 'role' use setAttribute() 2015-09-12 08:38:02 -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
2756525e73 Make sure aria attributes use setAttribute so they appear properly in the DOM 2015-09-12 06:58:06 -04:00
Davide P. Cervone
c2ef3d9312 Localize 'Close Window' in HelpDialog 2015-09-12 06:57:24 -04:00
Davide P. Cervone
50260bbcac Localize 'Close Window' string 2015-09-11 18:00:56 -04:00
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
Davide P. Cervone
27bae487e6 Merge pull request #1242 from mathjax/integrate_keyboard_events
Integrate keyboard events.  Resolves issue #939
2015-09-07 06:18:36 -04: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
3253d39fc9 Merge branch 'issue1247' into develop. Issue #1247. 2015-09-03 09:41:13 -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
Davide P. Cervone
748b9b26f8 Merge pull request #1254 from mathjax/issue1253
Update html files in /test
2015-09-03 08:53:05 -04:00
Peter Krautzberger
0906dea8f1 update html files in /test: update meta tags; improve sample-dynamic2.html to include asciimath notation 2015-09-02 15:42:24 +02: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