ritchie
ritchie

Reputation: 455

Random phrase over html tags in Firefox Developer tools?

Hovering over any pre tag gives me 'The quick brown fox jumps over the lazy dog'. This is no where in the document or in my css file. I opened the same page on brave and nothing was there. I looked at another html file with firefox and it came up in the body tag. I even did a rip grep on all my repos to see if anywhere that phrase could come up and it did not. Where does it get this from when hovering?

On pre tag

on body

Upvotes: 1

Views: 547

Answers (1)

Quentin
Quentin

Reputation: 943571

From wikipedia:

"The quick brown fox jumps over the lazy dog" is an English-language pangram—a sentence that contains all of the letters of the English alphabet. Owing to its brevity and coherence, it has become widely known. The phrase is commonly used for touch-typing practice, testing typewriters and computer keyboards, displaying examples of fonts, and other applications involving text where the use of all letters in the alphabet is desired.

The Firefox dev tools are just showing you what the hovered font rule looks like.

It triggers when you hover over a font file in the CSS, not when you hover over a pre element.

Upvotes: 2

Related Questions