Bug 214743 - Emoji with position: relative does not repaint when updated
Summary: Emoji with position: relative does not repaint when updated
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-07-24 09:23 PDT by Mihai Parparita
Modified: 2023-05-08 01:18 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mihai Parparita 2020-07-24 09:23:54 PDT
Test case: http://persistent.info/webkit/test-cases/emoji-repaint.html

Click on the toggleEmoji() button. The displayed emoji should cycle between a few emoji (the expected one is logged to the console), but it does not. Resizing the window or otherwise triggering a repaint does make it update.

The emoji is updated by setting the nodeValue of a text node. Another necessary part of the repro is the fact that the element uses position: relative.
Comment 1 Radar WebKit Bug Importer 2020-07-24 10:17:03 PDT
<rdar://problem/66060408>
Comment 2 Ahmad Saleem 2023-05-08 01:18:48 PDT
I am not able to reproduce the bug using attached testcase from Comment 0 and it does toggle between emoji and does not need any repainting (like resizing browser window etc.), it shows similar in Console as well using Safari Technology Preview 169.

Marking this as "RESOLVED CONFIGURATION CHANGED".