Bug 118164

Summary: -webkit-line-break: after-white-space sometimes truncates DOM on copy & paste
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: HTML EditingAssignee: Ryosuke Niwa <rniwa>
Status: RESOLVED FIXED    
Severity: Major CC: bfulgham, commit-queue, darin, enrica, webkit-bug-importer
Priority: P1 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Reduction
none
Fixes the bug
none
Archive of layout-test-results from APPLE-EWS-2 for win-future none

Description Ryosuke Niwa 2013-06-27 18:39:50 PDT
Created attachment 205655 [details]
Reduction

Reproduction steps:
1. Open the attached document
2. Select all & copy in the first box.
3. Paste in the second box.

Expected result:
The first box and the second box look identical.

Actual Result:
The third line "WebKit" is never pasted in the second box.

<rdar://problem/13926528>
Comment 1 Ryosuke Niwa 2013-06-27 21:15:32 PDT
This is probably a regression from http://trac.webkit.org/changeset/133820.
Comment 2 Ryosuke Niwa 2013-06-27 21:18:54 PDT
Created attachment 205659 [details]
Fixes the bug
Comment 3 Build Bot 2013-06-28 06:39:31 PDT
Comment on attachment 205659 [details]
Fixes the bug

Attachment 205659 [details] did not pass win-ews (win):
Output: http://webkit-queues.appspot.com/results/919327

New failing tests:
csswg/submitted/shapes/shape-outside/shape-outside-floats-vertical-rectangle-002.html
csswg/submitted/shapes/shape-outside/shape-outside-floats-horizontal-rectangle-002.html
csswg/submitted/shapes/shape-outside/shape-outside-floats-horizontal-rectangle-000.html
fast/js/global-constructors-attributes-shared-worker.html
fast/js/global-constructors-attributes-dedicated-worker.html
fast/media/mq-transform-03.html
csswg/submitted/shapes/shape-outside/shape-outside-floats-vertical-rectangle-001.html
csswg/submitted/shapes/shape-outside/shape-outside-floats-vertical-rectangle-000.html
fast/forms/search-event-delay.html
csswg/submitted/shapes/shape-outside/shape-outside-floats-horizontal-rectangle-001.html
fast/media/mq-transform-02.html
platform/win/accessibility/multiple-select-element-role.html
csswg/submitted/shapes/shape-outside/shape-outside-floats-square-000.html
Comment 4 Build Bot 2013-06-28 06:39:33 PDT
Created attachment 205708 [details]
Archive of layout-test-results from APPLE-EWS-2 for win-future

The attached test failures were seen while running run-webkit-tests on the win-ews.
Bot: APPLE-EWS-2  Port: win-future  Platform: CYGWIN_NT-6.1-WOW64-1.7.20-0.266-5-3-i686-32bit
Comment 5 Ryosuke Niwa 2013-06-28 09:25:54 PDT
It seems like these css tests are failing everywhere on Win-EWS :(
Comment 6 WebKit Commit Bot 2013-06-28 12:59:41 PDT
Comment on attachment 205659 [details]
Fixes the bug

Clearing flags on attachment: 205659

Committed r152185: <http://trac.webkit.org/changeset/152185>
Comment 7 WebKit Commit Bot 2013-06-28 12:59:43 PDT
All reviewed patches have been landed.  Closing bug.