Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • M MathJax
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 304
    • Issues 304
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • MathJax
  • MathJax
  • Issues
  • #2454
Closed
Open
Issue created Jun 12, 2020 by Administrator@rootContributor

Don't replace the stylesheet when option adaptiveCSS is false

Created by: mt4c

Issue Summary

When the adaptiveCSS is false, there is no need to replace the stylesheet ( the "MJX-CHTML-styles" element ) on typesetting. It cause flicker on old version browsers and slow devices.

Steps to Reproduce:

  1. Typeset some math on the page.
  2. Typeset some other math on the page. The old maths flicker.

Technical details:

  • MathJax Version: 3
  • Client OS: Android
  • Browser: Chrome 52

Supporting information:

I copy the stylesheet and modify the font-family name. Make the font family styles "!important". Insert it in the page. Then the flickers disappear.

Assignee
Assign to
Time tracking