[Webkit-unassigned] [Bug 258975] Web Inspector: Font Panel: CSS font property values marked !important don't get overridden when using the interactive editing controls.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 31 07:55:07 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=258975

--- Comment #9 from Frances <frances_c at cox.net> ---
I added

if ((targetPropertyName === "font-weight" || targetPropertyName === "font-stretch") && !targetPropertyValue.includes("!important")) {
            targetPropertyValue += "!important";
        }

in writeFontVariation() in FontStyles.js to start addressing the bug. However, !important shows in the web inspector. I confirmed with the test case on https://themes.tiki.org.

-- 
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/20231031/c42b3449/attachment-0001.htm>


More information about the webkit-unassigned mailing list