[Webkit-unassigned] [Bug 191836] New: Content pasted from Excel does not preserve its structure
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Nov 19 06:41:03 PST 2018
https://bugs.webkit.org/show_bug.cgi?id=191836
Bug ID: 191836
Summary: Content pasted from Excel does not preserve its
structure
Product: WebKit
Version: Safari 12
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: HTML Editing
Assignee: webkit-unassigned at lists.webkit.org
Reporter: vepomoc at gmail.com
CC: wenson_hsieh at apple.com
Created attachment 355278
--> https://bugs.webkit.org/attachment.cgi?id=355278&action=review
Excel file used for tests
Content from Excel pasted into [contenteditable] area has all metadata stripped off, making it impossible to detect the source of the content.
In Safari only the table element is available in DataTransfer object: https://gist.github.com/Comandeer/e0226ec9908a6a1fdf9b0204eacfa84f
In case of Firefox and Chrome, the whole structure of HTML is preserved: https://gist.github.com/Comandeer/8909ffa0c93caadc88220f91ab72ad88
As it can be seen, Chrome and Firefox gives access to the whole HTML document, allowing to fetch metadata from its head section. Safari however gives access only to body section, which disables the ability to fetch useful metadata (e.g. about the generator of content or the author) and additional styles.
--
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/20181119/b657b2a5/attachment.html>
More information about the webkit-unassigned
mailing list