Commit Graph

639 Commits

Author SHA1 Message Date
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
f54168eed3 Fix spacing for eqnarray environment now that it is handled in AMSarray 2015-09-12 15:09:01 -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
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
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
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
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
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
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
Davide P. Cervone
07eb553f8d Merge branch 'chtml' into develop. Issue #1051. 2015-09-01 08:13:11 -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
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
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
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
zorkow
1228bb89ad Introduces accessor function for cached MathJax nodes. 2015-08-26 13:38:44 +01:00
Davide P. Cervone
31e4b98a58 Merge remote-tracking branch 'mathjax/develop' into develop 2015-08-25 15:22:58 -04:00
zorkow
816259d6ff Introduces accessor methods for all cached HTML nodes. 2015-08-25 13:48:00 +01:00
zorkow
e29e3c9e99 Fixes activation problem for submenu anchor. 2015-08-24 17:01:50 +01: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
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
zorkow
85c1801fba Fixes issues with submenus. 2015-08-21 04:59:31 +01:00
zorkow
1be417af3a Combined keyboard and mouse navigation works. 2015-08-21 04:34:18 +01:00
zorkow
5e88e80975 Merge branch 'abstract_menu_entry_class' into add_tabbing
Conflicts:
	unpacked/extensions/MathMenu.js
2015-08-20 14:48:50 +01:00
zorkow
2c028aee22 Incorporates review suggestions. 2015-08-18 22:51:59 +01:00
zorkow
7c68c1cb1c WIP 2015-08-18 22:01:27 +01:00
zorkow
c6b98d45cc Injects abstract class for clickable items. 2015-08-18 18:01:57 +01:00
zorkow
973edc9686 Adds level of subclassing for clickable menu items. 2015-08-17 19:50:14 +01:00
Davide P. Cervone
cbdfa18ad1 More improvements to mmultiscripts in mhchem. 2015-08-17 14:06:58 -04:00
Davide P. Cervone
964a9e0c59 More improvements to mmultiscripts in mhchem. 2015-08-17 13:40:44 -04:00
Davide P. Cervone
e186e50c9e Incoporate changes that were lost during the rename of CHTML-preview to FHTML-preview 2015-08-17 09:16:43 -04:00
Davide P. Cervone
2e6b2bb3f0 Fix problem with prescripts being lost if they appear with no base at the end of the expression, and a problem with prescripts when they are before an open brace. 2015-08-12 09:24:31 -04:00
Davide P. Cervone
12bee3279d Remove namespaces (resolves issue #1238) and use createElementNS even in IE when possible (these nodes are temprary and never actually go into the DOM, so no need to trigger MathPlayer). I don't know if the m: is right for earlier IE, since element.nodeName may return that and cause the same problems as 1238. That should be checked. 2015-08-10 18:37:43 -04:00
Davide P. Cervone
ac8a9564ec Add compatibility CHTML-preview.js (it just calls the new one). 2015-08-09 15:04:36 -04:00
Davide P. Cervone
66cdd5fcab Change CHTML-preview to FHTML-preview, and make it backward compatible. 2015-08-05 17:53:27 -04:00
Davide P. Cervone
425c9df6e9 Move old CommonHTML to be FastHTML 2015-08-05 16:39:06 -04:00
Davide P. Cervone
1de28f5a9a Make \operatorname and \DeclareMathOperator skip \limits if it follows them. Resolves issue #1225. 2015-07-30 09:45:45 -04:00
Davide P. Cervone
8d38947024 Add aria attributes for the normal and assistive output. 2015-07-24 07:20:10 -04:00
Davide P. Cervone
1dff53daa8 Make sure mml2jax doesn't process the assistive MathML. 2015-07-24 07:19:27 -04:00
Davide P. Cervone
82e0daf2c6 Add a hidden menu item that controls the AssistiveMML extension. 2015-07-23 17:09:43 -04:00
Davide P. Cervone
f0cc437b1e Refactor code to make a separate configuration section with dynamically generated stylesheet. Use a class for the added MathML rather than explicit CSS. 2015-07-23 16:40:18 -04:00
Davide P. Cervone
d8357a2d03 Change CSS to that recommended by the Yahoo Accessibility team at https://developer.yahoo.com/blogs/ydn/clip-hidden-content-better-accessibility-53456.html 2015-07-23 15:14:02 -04:00
Davide P. Cervone
f3273f6e62 First draft of assistive MathML extension. Still needs configuration, and we need to make sure the mml2jax exteion doesn't try to process the hidden MathML. 2015-07-23 11:33:07 -04:00
Davide P. Cervone
d127b1bcb7 Merge branch 'issue596' into develop. Issue #596. 2015-07-16 15:39:20 -04:00
Davide P. Cervone
f42c71feca Merge branch 'issue956' into develop. Issue #956. 2015-07-16 15:39:05 -04:00
Davide P. Cervone
4c8158ca36 Merge branch 'issue1028' into develop. Issue #1028. 2015-07-16 15:38:41 -04:00
CalebKester
2dd603aa41 Update MathZoom.js with global border-box support
With a lot of sites using the global box-sizing it breaks the zoom box on large equations when the zoom goes wider than the screen.  This fix will explicitly add content-box on this element to prevent a global override.
2015-07-16 08:44:52 -05:00
Davide P. Cervone
d70612a519 Don't need to add extra mtd for tags any longer. 2015-07-14 14:35:02 -04:00
Davide P. Cervone
fd65c2917b Use mmultiscripts for atoms with prescripts. Resolves issue #956. 2015-07-10 18:13:40 -04:00
Davide P. Cervone
e7c928fa3e Handle spacing in alignedat environment (like 811 and 982). Resolves issue #1028. 2015-07-10 11:43:23 -04:00
Davide P. Cervone
67e7351e1d Merge branch 'issue1208' into develop. Issue #1208. 2015-07-09 11:25:08 -04:00
Davide P. Cervone
cd12ba63d9 Make chunking parameters only be used when fast preview is enabled. 2015-07-08 15:30:49 -04:00
Davide P. Cervone
122ca09352 Fix problem with dot delimiter not being recognized as a delimiter because TEXDEF.delimiter[.] returns an empty string. Resolves issue #1199. 2015-06-29 10:23:32 -04:00
Davide P. Cervone
325f149ef7 Merge remote-tracking branch 'mathjax/hotfix-2.5.2' into develop 2015-04-29 10:54:31 -04:00
Christian Perfect
5d3ffd40f2 fix typo which put a variable in global scope
missing comma meant that SETTINGS was put in global scope
2015-04-23 08:56:34 +01:00
Davide P. Cervone
d47dbd1c52 Update version numbers. 2015-04-21 11:49:54 -04:00
Peter Krautzberger
9263cc4506 simplify browser check
as per @dpvc's suggestion
2015-04-15 10:10:21 -04:00
Peter Krautzberger
c91a420b1d fix IE version check 2015-04-15 10:10:21 -04:00
Peter Krautzberger
95c00da5ea for #1137: disable CHTMLpreview.js on IE<8 2015-04-15 10:10:21 -04:00