Code should not pass with wrong font-size rule
See original GitHub issueIssue 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:
- Created 7 years ago
- Comments:10 (5 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@systimotic alas, you are correct. My bad.
closing as resolved in staging.