[Webkit-unassigned] [Bug 193008] New: Letter spacing flashes from 0 to the specified value

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Dec 22 06:59:24 PST 2018


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

            Bug ID: 193008
           Summary: Letter spacing flashes from 0 to the specified value
           Product: WebKit
           Version: Safari 12
          Hardware: Macintosh
                OS: macOS 10.14
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Text
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: spacest at gmail.com
                CC: mmaxfield at apple.com

I have a page with letter-spacing: 1px specified in the CSS file in <head>. When loading the page, I see the text at letter-spacing: 0 for a split second, then the desired value of 1px. It happens when the property is set in an external CSS file and a <style> tag, but not when specified inline, e.g. <body style="letter-spacing: 1px">. It happens with default and custom font. All other styles in the external CSS file are active immediately on page load. It seems the browser is waiting for full page load in order to apply the new letter spacing value.

This FO0LS (Flash Of 0 Letter Spacing) is inappropriate behavior, because a one line text can become wrapped on 2 lines and shift the page layout. It doesn't happen in Chrome and Firefox.

Demo: Lines of text at the top of the page https://radogado.github.io/natuive/kitchen.html

Please apply a fix. Thanks!

-- 
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/20181222/a3b6b084/attachment-0001.html>


More information about the webkit-unassigned mailing list