[Webkit-unassigned] [Bug 258257] New: Design mode: elements lose the attribute contenteditable when dragged
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Jun 17 18:02:22 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=258257
Bug ID: 258257
Summary: Design mode: elements lose the attribute
contenteditable when dragged
Product: WebKit
Version: Safari Technology Preview
Hardware: Unspecified
URL: https://jsbin.com/vuladoz/edit?html,css,output
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: HTML Editing
Assignee: webkit-unassigned at lists.webkit.org
Reporter: ahmad.saleem792 at gmail.com
CC: wenson_hsieh at apple.com
Hi Team,
We were failing linked (in URL) field test case, where if we cut / paste the elements with styling in 'contenteditable=false', it will lose styling.
It is potential candidate to merge but would like to get input, whether it is intentional or not but Firefox and Chrome works.
Blink Commit: https://chromium.googlesource.com/chromium/src.git/+/92c26eed9fd8834e1da3283e8bd45952aa4f0d6b
WebKit Source: https://searchfox.org/wubkat/source/Source/WebCore/editing/ReplaceSelectionCommand.cpp#711
^ Changing this to below:
if (element->parentNode() && element->parentNode()->hasRichlyEditableStyle() && element->hasRichlyEditableStyle())
It make us passing linked (in URL) test case while STP172 fails it.
@Ryosuke - any input? Should we merge it?
Thanks!
--
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/20230618/803f8535/attachment-0001.htm>
More information about the webkit-unassigned
mailing list