commit e3f65aa912554b1bb2864e8ca8ba95e69425e484
parent 45853fad3e377606207f42f49146347c34b96295
Author: Davide P. Cervone <dpvc@union.edu>
Date: Wed, 7 Oct 2015 17:59:52 -0400
Merge branch 'issue1282' into develop. Issue #1282.
Diffstat:
2 files changed, 6 insertions(+), 14 deletions(-)
diff --git a/unpacked/jax/output/CommonHTML/jax.js b/unpacked/jax/output/CommonHTML/jax.js
@@ -67,6 +67,9 @@
"margin": "1em 0",
padding: 0
},
+ ".mjx-chtml[tabindex], *:focus .mjx-chtml[tabindex]": {
+ display: "inline-table" // see issue #1282
+ },
".mjx-math": {
"display": "inline-block",
diff --git a/unpacked/jax/output/HTML-CSS/jax.js b/unpacked/jax/output/HTML-CSS/jax.js
@@ -266,20 +266,9 @@
},
// Focus elements for keyboard tabbing.
- ".MathJax:focus": (
- (MathJax.Hub.Browser.isSafari || MathJax.Hub.Browser.isChrome) ? {
- display:"inline-block",
- outline:"none",
- margin:"-3px",
- padding:"3px",
- "-webkit-box-shadow": "0px 0px 5px #345, inset 0px 0px 5px #345",
- "box-shadow": "0px 0px 5px #345, inset 0px 0px 5px #345"
- } : {
- display:"inline-block",
- outline:"none",
- border:"1px dotted",
- margin:"-1px"
- }),
+ ".MathJax:focus, *:focus .MathJax": {
+ display:"inline-table" // see issue #1282
+ },
".MathJax_Display": {
position: "relative",