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+

Ryosuke Niwa
Reported 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>
Attachments
Fixes the bug (6.30 KB, patch)
2019-03-28 22:38 PDT, Ryosuke Niwa
koivisto: review+
Ryosuke Niwa
Comment 1 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.
Ryosuke Niwa
Comment 2 2019-03-28 22:38:03 PDT
Created attachment 366252 [details] Fixes the bug
Ryosuke Niwa
Comment 3 2019-03-29 11:39:53 PDT
Note You need to log in before you can comment on or make changes to this bug.