mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-14 11:15:13 +00:00
da0e6cab16
Force display:none on a hidden MathML rendering to avoid generating focusable node highlights. Move adding of class to setup to ensure it persists after render. Bug: T87007 Change-Id: I5fc21afa61ccc07e9d2126846cf29ee898182a7c
12 lines
324 B
CSS
12 lines
324 B
CSS
/**
|
|
* Hide math tag completely to avoid extra bounding boxes for Chrome, Safari, Android...
|
|
* Browser-specific hacks are bad but let's use that for now...
|
|
* See http://browserhacks.com
|
|
*/
|
|
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
|
.ve-ce-mwMathNode .mwe-math-mathml-a11y {
|
|
display: none !important;
|
|
}
|
|
}
|
|
|