Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

block-calendar: Use `400` as a valid `font-weight` #17047

merged 1 commit into from Aug 21, 2019


Copy link

commented Aug 15, 2019


Reported via #WP47881:

W3C CSS Validator results for .wp-block-calendar table th in wp-includes/css/dist/block-library/style.min.css?ver=5.2.2:

Value Error : font-weight 440 is not a font-weight

Standart font-weight property: []

How has this been tested?


Types of changes


  • My code is tested.
  • My code follows the WordPress code style.
  • My code follows the accessibility standards.
  • My code has proper inline documentation.
  • I've included developer documentation if appropriate.
Copy link

left a comment

This looks good, thank you! I checked and I cannot see any visual difference between 400 and 440 weight, so I am thinking the value likely got set to 440 as a typo more than an intentional choice. @jorgefilipecosta was the original developer on this block - unless he sees some reason not to I will merge later this week.

Possibly worth noting that CSS Fonts Level 4 extends the syntax to accept any number between 1 and 1000 but I don't think that this needs to be set to 440 regardless.

@brentswisher brentswisher merged commit da0b1a3 into master Aug 21, 2019

4 checks passed

Filter opened
Filter opened
Milestone It
Travis CI - Pull Request Build Passed

@brentswisher brentswisher deleted the update-font-weight branch Aug 21, 2019

@brentswisher brentswisher added this to the Gutenberg 6.4 milestone Aug 21, 2019


This comment has been minimized.

Copy link

commented Aug 21, 2019

I went ahead and merged this, thanks again @ntwb for the work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.