RESOLVED FIXED 230394
Parsing support for font-palette
https://bugs.webkit.org/show_bug.cgi?id=230394
Summary Parsing support for font-palette
Myles C. Maxfield
Reported 2021-09-17 01:49:15 PDT
Parsing support for font-palette
Attachments
Patch (32.38 KB, patch)
2021-09-17 02:05 PDT, Myles C. Maxfield
ews-feeder: commit-queue-
Patch (32.97 KB, patch)
2021-09-17 02:11 PDT, Myles C. Maxfield
no flags
Patch (35.09 KB, patch)
2021-09-18 01:20 PDT, Myles C. Maxfield
no flags
Patch (36.81 KB, patch)
2021-09-18 01:22 PDT, Myles C. Maxfield
ews-feeder: commit-queue-
Patch (36.85 KB, patch)
2021-09-18 01:38 PDT, Myles C. Maxfield
ews-feeder: commit-queue-
Patch (37.44 KB, patch)
2021-09-18 02:21 PDT, Myles C. Maxfield
no flags
Patch (85.95 KB, patch)
2021-09-18 11:47 PDT, Myles C. Maxfield
no flags
Patch (86.67 KB, patch)
2021-09-21 01:12 PDT, Myles C. Maxfield
no flags
Patch (85.32 KB, patch)
2021-09-21 13:49 PDT, Myles C. Maxfield
simon.fraser: review+
Patch for committing (85.53 KB, patch)
2021-09-21 15:15 PDT, Myles C. Maxfield
no flags
Myles C. Maxfield
Comment 1 2021-09-17 02:05:49 PDT
EWS Watchlist
Comment 2 2021-09-17 02:06:50 PDT
This patch modifies the imported WPT tests. Please ensure that any changes on the tests (not coming from a WPT import) are exported to WPT. Please see https://trac.webkit.org/wiki/WPTExportProcess
Myles C. Maxfield
Comment 3 2021-09-17 02:11:04 PDT
Myles C. Maxfield
Comment 4 2021-09-18 01:20:06 PDT
Myles C. Maxfield
Comment 5 2021-09-18 01:22:12 PDT
Myles C. Maxfield
Comment 6 2021-09-18 01:38:43 PDT
Myles C. Maxfield
Comment 7 2021-09-18 02:21:16 PDT
Myles C. Maxfield
Comment 8 2021-09-18 11:47:46 PDT
Myles C. Maxfield
Comment 9 2021-09-21 01:12:52 PDT
Radar WebKit Bug Importer
Comment 10 2021-09-21 01:17:41 PDT
Myles C. Maxfield
Comment 11 2021-09-21 11:07:48 PDT
Comment on attachment 438790 [details] Patch Simon says to use option 2 instead.
Myles C. Maxfield
Comment 12 2021-09-21 13:49:23 PDT
Simon Fraser (smfr)
Comment 13 2021-09-21 13:55:06 PDT
Comment on attachment 438852 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=438852&action=review > Source/WebCore/platform/graphics/FontCache.h:160 > + if (!m_rareData && !other.m_rareData) > + return true; > + return m_rareData && other.m_rareData && *m_rareData == *other.m_rareData; arePointingToEqualData()? > Source/WebCore/platform/graphics/FontPalette.h:37 > + return type == other.type; Shouldn't this compare the identifier if custom? > Source/WebCore/platform/graphics/FontPalette.h:45 > + enum class Type { : unit8_t? Won't help with padding here though, but it might shrink IPC. > LayoutTests/imported/w3c/web-platform-tests/css/cssom/getComputedStyle-detached-subtree-expected.txt:6 > +FAIL getComputedStyle returns no style for element in non-rendered iframe (display: none) assert_equals: expected 0 but got 394 > +FAIL getComputedStyle returns no style for element in non-rendered iframe (display: none) from iframe's window assert_equals: expected 0 but got 394 > +FAIL getComputedStyle returns no style for element outside the flat tree assert_equals: expected 0 but got 394 > +FAIL getComputedStyle returns no style for descendant outside the flat tree assert_equals: expected 0 but got 394 You'll need iOS results for these.
Myles C. Maxfield
Comment 14 2021-09-21 15:15:37 PDT
Created attachment 438867 [details] Patch for committing
Simon Fraser (smfr)
Comment 15 2021-09-21 15:17:06 PDT
Comment on attachment 438867 [details] Patch for committing View in context: https://bugs.webkit.org/attachment.cgi?id=438867&action=review > Source/WebCore/platform/graphics/FontCache.h:161 > + && m_locale == other.m_locale) { > + if (!m_rareData && !other.m_rareData) > + return true; > + return arePointingToEqualData(m_rareData, other.m_rareData); Why can't this be: && m_locale == other.m_locale && arePointingToEqualData(m_rareData, other.m_rareData)) return true
Myles C. Maxfield
Comment 16 2021-09-21 15:57:38 PDT
Comment on attachment 438867 [details] Patch for committing View in context: https://bugs.webkit.org/attachment.cgi?id=438867&action=review >> Source/WebCore/platform/graphics/FontCache.h:161 >> + return arePointingToEqualData(m_rareData, other.m_rareData); > > Why can't this be: > > && m_locale == other.m_locale > && arePointingToEqualData(m_rareData, other.m_rareData)) > return true Whoops :(
Myles C. Maxfield
Comment 17 2021-09-21 17:04:43 PDT
Myles C. Maxfield
Comment 18 2021-09-24 02:02:55 PDT
*** Bug 230566 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.