[Webkit-unassigned] [Bug 235604] New: DrawGlyphsRecorder::recordDrawGlyphs() triggers the creation of out of line Colors

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 25 13:30:12 PST 2022


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

            Bug ID: 235604
           Summary: DrawGlyphsRecorder::recordDrawGlyphs() triggers the
                    creation of out of line Colors
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: simon.fraser at apple.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

DrawGlyphsRecorder::recordDrawGlyphs() has code that converts CGColors to Colors, via Color::createAndPreserveColorSpace(). However, if the CSS color is, say #FF0000, which is inline, this CG-related code will make an out-of-line sRGB color, which will then compare as different to the inline color.

-- 
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/20220125/e9a410e4/attachment-0001.htm>


More information about the webkit-unassigned mailing list