Bug 196390

Summary: Pasting a table from Confluence strip of table cell content
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: HTML EditingAssignee: Ryosuke Niwa <rniwa>
Status: RESOLVED FIXED    
Severity: Normal CC: koivisto, simon.fraser, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Fixes the bug koivisto: review+

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.

<rdar://problem/47365649>
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>