[wp-trac] [WordPress Trac] #63404: Incorrect endValue for font weights
WordPress Trac
noreply at wordpress.org
Wed May 7 14:02:28 UTC 2025
#63404: Incorrect endValue for font weights
--------------------------+------------------------------
Reporter: greenskin43 | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 6.8
Severity: major | Resolution: invalid
Keywords: | Focuses:
--------------------------+------------------------------
Changes (by greenskin43):
* status: new => closed
* resolution: => invalid
Comment:
Thanks @sourav08, I understood that from the code before. What I just
learned was that `font-weight` ranges consist of only two values, a start
and an end. We were under the impression one could specify each font
weight we wanted and that would be the "range", e.g., `100 200 300 400 500
600 700 800 900`. In this case the current code would interpret `200` as
the end value, which is what I originally described as the issue. However
after looking closer at `@font-face` `font-weight` it does say the value
can be either a single number or a ''pair'' of numbers. An list of numbers
isn't actually supported.
Thanks!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63404#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list