mediawiki-extensions-Math/modules/VisualEditor/ve.ce.MWMathNode.css
Ed Sanders da0e6cab16 Fix rendering issues in MathML mode
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
2015-01-29 14:15:45 +00:00

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;
}
}