Bug 196390 - Pasting a table from Confluence strip of table cell content
Summary: Pasting a table from Confluence strip of table cell content
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ryosuke Niwa
Keywords: InRadar
Depends on:
Reported: 2019-03-28 22:14 PDT by Ryosuke Niwa
Modified: 2019-03-29 11:39 PDT (History)
3 users (show)

See Also:

Fixes the bug (6.30 KB, patch)
2019-03-28 22:38 PDT, Ryosuke Niwa
koivisto: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2019-03-28 22:14:26 PDT
Copying & pasting a table from Atlassian's Confluence causes table's content to be stripped away.

Comment 1 Ryosuke Niwa 2019-03-28 22:15:02 PDT
This is because TextIterator is skipping the rendered text because it think it’s fully clipped due to a div that contains table in the markup below. This is in turn due to createPageForSanitizingWebContent creating a 0px by 0px FrameView.
Comment 2 Ryosuke Niwa 2019-03-28 22:38:03 PDT
Created attachment 366252 [details]
Fixes the bug
Comment 3 Ryosuke Niwa 2019-03-29 11:39:53 PDT
Committed r243653: <https://trac.webkit.org/changeset/243653>