Bug 258844

Summary: Attachment: Icon should be hidden when there is progress or a placeholder
Product: WebKit Reporter: Gerald Squelart <g_squelart>
Component: HTML EditingAssignee: Gerald Squelart <g_squelart>
Status: RESOLVED FIXED    
Severity: Normal CC: ntim, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 258437    
Bug Blocks:    

Gerald Squelart
Reported 2023-07-03 21:41:30 PDT
Bug 258437 changed how the attachment icon is implemented: Instead of an inner attachment, it is now an image. Unfortunately in that change, the `HTMLAttachmentElement::updateProgress` function was incorrectly changed and does not properly hide the icon anymore. To fix: In https://github.com/WebKit/WebKit/pull/15228/files#diff-81277d6d3423f470d7dc5e5b8f50ab5b7a766baeeb1a640d66b5db0edd617312L305 , the m_innerLegacyAttachment->set/removeInlineStyleProperty lines should be put back, but operating on m_imageElement instead.
Attachments
Radar WebKit Bug Importer
Comment 1 2023-07-03 21:41:38 PDT
Gerald Squelart
Comment 2 2023-07-03 22:02:22 PDT
EWS
Comment 3 2023-07-05 18:47:03 PDT
Committed 265785@main (a9b327ab90e2): <https://commits.webkit.org/265785@main> Reviewed commits have been landed. Closing PR #15531 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.