question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

howto debug broken redering (css leaks?)

See original GitHub issue

This is an issue, but probably also a question. I’m developing cocalc.com and when attempting to update 0.10 or 0.10.1, some renderings are broken. It is broken in the newest Chrome and Firefox browsers, hence I think it must be something with the page’s css styling itself.

The only problem is, I haven’t figured out what it is. I have checked the styles for all those nested katex elements, and I haven’t found anything. Is there a general way how to work this out, or some ideas how to debug that?

Below is a screenshot how it looks. The first problem was that the c isn’t inside of the circle for the new copyright sign, and the second issue is that the horizontal fraction bar for \frac doesn’t show up. The integral looks fine, although again, the fraction bar is lost.

screenshot from 2019-02-22 15-45-32

and well, it’s also a bugreport, because I would expect that katex is robust against anything that’s going on here

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
haraldschillycommented, Feb 26, 2019

Sorry for taking your time, this was all my mistake. There was a configuration mishap and well, if anyone else has this issue, there is a CSS file for an older version of KaTeX 😵

However, thank’s for pointing out how the fraction line is done.

0reactions
ylemkimoncommented, Feb 24, 2019

Note that there is a full-working demo on our website, so you can try, inspect and compare the correct rendering.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Debugging CSS - Learn web development | MDN
Select an element on your page, either by right/ctrl-clicking on it and selecting Inspect, or selecting it from the HTML tree on the...
Read more >
How do you debug printable CSS? - Stack Overflow
Open devtools ( CTRL + F12 or CTRL + SHIFT + I ) and click on the ... menu, click More Tools >...
Read more >
How Do I Fix CSS Errors? - Sitechecker
Enter your CSS code into a text editor and check the syntax up to the final semicolon.
Read more >
Debugging CSS Keyframe Animations
You can use this concept for debugging. Set animation-play-state: paused; and then adjust the delay to different negative times. You'll see the ...
Read more >
Fixing Broken CSS in the Google Search Console Page Render
In these instances I'll copy-and-paste the HTTP response for the “good” render, and paste into a tool like Diffchecker.com. I'll then repeat the ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found