Make WordPress Core

Changes between Version 3 and Version 4 of Ticket #63404, comment 2


Ignore:
Timestamp:
05/07/2025 02:06:54 PM (6 months ago)
Author:
greenskin43
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #63404, comment 2

    v3 v4  
    1 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 [[https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-weight|CSS 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.
     1Thanks @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 [[https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-weight|CSS font-face font-weight]] it does say the value can be either a single number or a ''pair'' of numbers. A list of numbers isn't actually supported.
    22
    33Thanks!