[Webkit-unassigned] [Bug 258975] Web Inspector: Font Panel: Cannot change fonts' properties (or changes are not effected)?
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jul 11 07:54:55 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=258975
--- Comment #4 from Razvan Caliman <rcaliman at apple.com> ---
(In reply to Jeff Fortin from comment #3)
> My test case in the screenshot above is https://themes.tiki.org ; on that
> page, right-clicking on the main heading ("Themes.tiki.org") or the text
> underneath it, which shows up with the "Cantarell" font in GNOME, nothing
> there can be edited, not even the 4rem size...
Thanks for providing an URL to test!
I can confirm that, indeed, using the slider for Weight in the Font sidebar panel won't change the value of the `font-weight` CSS property on the inline style for the element:
```
<div class="display-3 fw-medium my-5" style="word-break: break-word;">Themes.tiki.org</div>
```
A summary investigation shows there's a conflict with `font-weight 500 !important` set by the `fw-medium` CSS class. This is indeed a problem. I'll retitle this bug to identify this.
> As for https://v-fonts.com/fonts/sf-pro :
>
> * If I right-click the main big test text from that page and "Inspect
> element" to see its Font pane in the inspector, I can change the Weight,
> Width, opsz and GRAD, but not any of the other properties like size, style,
> capitals, etc.
That is expected behavior. There is currently no implementation for specialized editing controls for font size, style or any of the font feature properties.
> * Firefox, in comparison, is able to change the size, line height, spacing,
> italic or not, weight, optical size, "instance" (which seems to control
> variants/thickness/etc.)
This sounds like a feature request. Indeed, Web Inspector does not yet support interactive editing for all font properties in the Font sidebar; neither does Firefox DevTools ;)
Please file separate issues for the properties you'd like to be editable. It helps a lot if you can describe your use case for needing specialized editing controls for each property.
(There is already an entry for named instances of variable fonts in Bug 249536)
Thanks for filing this issue!
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230711/562d8322/attachment-0001.htm>
More information about the webkit-unassigned
mailing list