Bug 279406
| Summary: | Remove Quirk shouldAvoidPastingImagesAsWebContent for mail.yahoo.* | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Karl Dubost <karlcow> |
| Component: | WebKit Misc. | Assignee: | Karl Dubost <karlcow> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://mail.yahoo.com/ | ||
| Bug Depends on: | 212544 | ||
| Bug Blocks: | |||
Karl Dubost
A Quirk was created to make it possible to copy an image in Safari and paste it in a New mail context in mail.yahoo.com
Bug 212544 or rdar://63511613
Steps To Reproduce:
1. Copy any image in Safari
2. Go to mail.yahoo.com and sign in with a personal or test account
3. Compose an email
4. Paste the image in the body
Results:
Expected: I should see the image pasted in the mail compose view
Different results currently depending on the platform.
# On iPad with Quirks enabled
It copies the URI of the image in the body with this markup.
<div><a href="https://www.operacity.jp/contents/storage/images/exhibition/2023/302/5.jpg"
rel="nofollow"
target="_blank">https://www.operacity.jp/contents/storage/images/exhibition/2023/302/5.jpg</a><br>
</div>
# On iPad with Quirks disabled
It copies a blank area for the image.
<div><img width="750" height="759"><br></div>
# On Desktop with/without the quirk
<div dir="ltr" data-setdir="false">
<span></span>
<img data-id="<f3a265cd-20ec-89fc-6342-eebea8be85bd@yahoo.com>"
title="Image en ligne"
alt="Image en ligne"
src="blob:https://mail.yahoo.com/01bce205-702b-4446-b646-05d2a37420f0"
class="yahoo-inline-image"
draggable="false"
style="max-width: 800px; width: 100%;"><br>
</div>
# On iPhone with the Quirks Enabled
A blank area like the iPad.
The current Quirk is not working as it should. It can be removed or updated.
It should be diagnosed again to understand what is happening.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/135633486>
Karl Dubost
Pull request: https://github.com/WebKit/WebKit/pull/52039
EWS
Committed 301245@main (1349bcd71c79): <https://commits.webkit.org/301245@main>
Reviewed commits have been landed. Closing PR #52039 and removing active labels.