Merge branch 'issue997' into develop. Issue #997.

This commit is contained in:
Davide P. Cervone 2015-01-12 09:37:34 -05:00
commit 24bfd6baf2
2 changed files with 2 additions and 2 deletions

View File

@ -2826,7 +2826,7 @@
var alttext = this.Get("alttext");
if (alttext && !span.getAttribute("aria-label")) span.setAttribute("aria-label",alttext);
if (!span.getAttribute("role")) span.setAttribute("role","math");
span.setAttribute("tabindex",0);
// span.setAttribute("tabindex",0); // causes focus outline, so disable for now
var stack = HTMLCSS.createStack(span), box = HTMLCSS.createBox(stack), math;
// Move font-size from outer span to stack to avoid line separation
// problem in strict HTML mode

View File

@ -2083,7 +2083,7 @@
var alttext = this.Get("alttext");
if (alttext && !svg.element.getAttribute("aria-label")) span.setAttribute("aria-label",alttext);
if (!svg.element.getAttribute("role")) span.setAttribute("role","math");
span.setAttribute("tabindex",0);
// span.setAttribute("tabindex",0); // causes focus outline, so disable for now
span.appendChild(svg.element); svg.element = null;
//
// Handle indentalign and indentshift for single-line displays