RESOLVED FIXED Bug 58081
dump-as-markup conversion: editing/pasteboard/paste-text-at-tabspan-001.html and paste-text-at-tabspan-002.html
https://bugs.webkit.org/show_bug.cgi?id=58081
Summary dump-as-markup conversion: editing/pasteboard/paste-text-at-tabspan-001.html ...
Ryosuke Niwa
Reported 2011-04-07 14:35:00 PDT
The following two tests should be converted to dump-as-markup tests so that the output can easily be understood: editing/pasteboard/paste-text-at-tabspan-001.html editing/pasteboard/paste-text-at-tabspan-002.html
Attachments
Patch (42.53 KB, patch)
2011-04-07 14:55 PDT, Ryosuke Niwa
no flags
fixed 'aa\txz' to 'aax\tz' (42.53 KB, patch)
2011-04-07 22:58 PDT, Ryosuke Niwa
no flags
Patch (42.73 KB, patch)
2011-04-08 03:54 PDT, Ryosuke Niwa
no flags
Ryosuke Niwa
Comment 1 2011-04-07 14:55:28 PDT
Tony Chang
Comment 2 2011-04-07 15:28:26 PDT
Comment on attachment 88707 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=88707&action=review > LayoutTests/editing/pasteboard/paste-text-at-tabspan-001-expected.txt:25 > +You should see aa\tz below: > +| " > +" > +| <span> > +| id="test" > +| "a" > +| <span> > +| class="Apple-tab-span" > +| style="white-space:pre" > +| "a" > +| " " > +| "x<#selection-caret>" > +| "z" It looks like it's aa\txz, no? > LayoutTests/editing/pasteboard/paste-text-at-tabspan-002-expected.txt:15 > +You should see a\tax\t\tz below: This one looks like a\ta\t\txz.
Ryosuke Niwa
Comment 3 2011-04-07 22:53:58 PDT
Comment on attachment 88707 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=88707&action=review >> LayoutTests/editing/pasteboard/paste-text-at-tabspan-001-expected.txt:25 > > It looks like it's aa\txz, no? Oops, this should be "aax\tz". There's currently a bug in this text. After pasting "a" before the tab, typing x will insert x after the tab. >> LayoutTests/editing/pasteboard/paste-text-at-tabspan-002-expected.txt:15 >> +You should see a\tax\t\tz below: > > This one looks like a\ta\t\txz. It's a regression :(
Ryosuke Niwa
Comment 4 2011-04-07 22:58:18 PDT
Created attachment 88770 [details] fixed 'aa\txz' to 'aax\tz'
Ryosuke Niwa
Comment 5 2011-04-08 03:38:47 PDT
So I investigated a little on why this had never been detected by the existing test, and found out that the bug does not reproduce when div had a style such as style="border: 2px solid red; padding: 12px; font-size: 24px". I'm uploading a new patch that adds style so as to preserve the original test and also filing a bug about this.
Ryosuke Niwa
Comment 6 2011-04-08 03:54:08 PDT
WebKit Commit Bot
Comment 7 2011-04-08 14:06:43 PDT
Comment on attachment 88794 [details] Patch Clearing flags on attachment: 88794 Committed r83343: <http://trac.webkit.org/changeset/83343>
WebKit Commit Bot
Comment 8 2011-04-08 14:06:48 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.