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.

Code should not pass with wrong font-size rule

See original GitHub issue

Issue Description

One of the requirement to pass the test is “Between the style tags, give the p elements font-size of 16px. Browser and Text zoom should be at 100%.” however is passes with “30px” as well that was given with example

Browser Information

  • Browser Name, Version: Firefox 50.0.2
  • Operating System: Ubuntu
  • Mobile, Desktop, or Tablet: Desktop

The Code

 <style>
  p {font-size: 30px;}
  .red-text {
    color: red;
  }
</style>

<h2 class="red-text">CatPhotoApp</h2>

<p class="red-text">Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
<p>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p> 

first time reporting for a bug

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
dhcodescommented, Dec 7, 2016

@systimotic alas, you are correct. My bad. fail-whale

0reactions
dhcodescommented, Dec 7, 2016

closing as resolved in staging.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Font Size Problems? Check Here First!
Go to your browser's settings and make sure in the font settings that your minimum font setting is set to 10px… if not...
Read more >
Code should not pass without setting font-size rule for the p ...
So i have a fix, i removed the double element check in the assertion for font-size as it seemed redundant to check both...
Read more >
font-size - CSS: Cascading Style Sheets - MDN Web Docs
The font-size CSS property sets the size of the font. Changing the font size also updates the sizes of the font size-relative units, ......
Read more >
How to solve font-related problems in email signatures
This article helps to solve various problems connected with how fonts are displayed in email signatures.
Read more >
Why does Firefox not honor CSS font-size for code tags ...
This is wrong because author style should override default user-agent (browser) style. And relative (percentage) font-size is based on the parent element's ...
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