Skip to content

Instantly share code, notes, and snippets.

@mjf
Created February 8, 2024 08:56
Show Gist options
  • Save mjf/8f45003310c0c3aca811c8750fb663cf to your computer and use it in GitHub Desktop.
Save mjf/8f45003310c0c3aca811c8750fb663cf to your computer and use it in GitHub Desktop.
Fix Firefox textarea ligature rendering bug
/**
* Get your profile from about:support page.
* Create ~/.mozilla/firefox/<profile>/chrome directory.
* Place to ~/.mozilla/firefox/<profile>/chrome/userContent.css file.
* Run restorecon -R -F ~/.mozilla/firefox/<profile>/chrome on SELinux-enabled distros.
* Set toolkit.legacyUserProfileCustomizations.stylesheets to true in about:config page.
* Restart Firefox and it should be working.
*/
@-moz-document domain("www.example.com") {
textarea {
font-variant-ligatures: none;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment