commit e7c11c969af35ce54ab2ec0079f7ba8553ea9394
parent 32c2d9b9fcb8550b5b01204668d26846a109b2f4
Author: Davide P. Cervone <dpvc@union.edu>
Date: Thu, 17 Dec 2015 17:00:42 -0500
Fix focus problems due to overly aggressive CSS, and done add space around HTML-CSS output (which was causing problems).
Diffstat:
2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/unpacked/jax/output/CommonHTML/jax.js b/unpacked/jax/output/CommonHTML/jax.js
@@ -68,8 +68,8 @@
"margin": "1em 0",
padding: 0
},
- ".mjx-chtml[tabindex]:focus, *:focus .mjx-chtml[tabindex]": {
- display: "inline-table" // see issue #1282
+ ".mjx-chtml[tabindex]:focus, body :focus .mjx-chtml[tabindex]": {
+ display: "inline-table" // see issues #1282 and #1338
},
".mjx-math": {
diff --git a/unpacked/jax/output/HTML-CSS/jax.js b/unpacked/jax/output/HTML-CSS/jax.js
@@ -266,9 +266,8 @@
},
// Focus elements for keyboard tabbing.
- ".MathJax:focus, *:focus .MathJax": {
- display:"inline-table", // see issue #1282
- "border-spacing":"3px", margin:"-3px"
+ ".MathJax:focus, body :focus .MathJax": {
+ display:"inline-table" // see issues #1282 and #1338
},
".MathJax_Display": {