Bug 61682 - Convert editing/pasteboard/paste-blockquote-into-blockquote-2.html to dump-as-markup
Summary: Convert editing/pasteboard/paste-blockquote-into-blockquote-2.html to dump-as...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 61807 34564
  Show dependency treegraph
 
Reported: 2011-05-27 20:03 PDT by Annie Sullivan
Modified: 2011-05-31 23:19 PDT (History)
2 users (show)

See Also:


Attachments
Patch (57.67 KB, patch)
2011-05-27 20:05 PDT, Annie Sullivan
no flags Details | Formatted Diff | Diff
Patch (57.96 KB, patch)
2011-05-31 14:43 PDT, Annie Sullivan
no flags Details | Formatted Diff | Diff
Patch (57.93 KB, patch)
2011-05-31 14:56 PDT, Annie Sullivan
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Annie Sullivan 2011-05-27 20:03:24 PDT
The test output would be much easier to read as dump-as-markup.
Comment 1 Annie Sullivan 2011-05-27 20:05:28 PDT
Created attachment 95250 [details]
Patch
Comment 2 Ryosuke Niwa 2011-05-28 18:40:59 PDT
Comment on attachment 95250 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=95250&action=review

> LayoutTests/editing/pasteboard/paste-blockquote-into-blockquote-2-expected.txt:1
> +This tests pasting a nested blockquote into a blockquote. The first line below should be singly-blockquoted, and the second should be doubly-blockquoted.

I'd rather explicitly say that "One" should be singly-blockquoted and "Two" and "Three" should be doubly-blockquoted.  And it seems like there's a bug here.  Two is somehow singly-blockquoted.  Please file a bug and make it depend on this bug.
Comment 3 Annie Sullivan 2011-05-31 14:04:58 PDT
Comment on attachment 95250 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=95250&action=review

>> LayoutTests/editing/pasteboard/paste-blockquote-into-blockquote-2-expected.txt:1
>> +This tests pasting a nested blockquote into a blockquote. The first line below should be singly-blockquoted, and the second should be doubly-blockquoted.
> 
> I'd rather explicitly say that "One" should be singly-blockquoted and "Two" and "Three" should be doubly-blockquoted.  And it seems like there's a bug here.  Two is somehow singly-blockquoted.  Please file a bug and make it depend on this bug.

Bug filed. Looks like this behavior has been there since the test was created.

I'll update the description to clarify what the behavior is, and mention the bug.
Comment 4 Annie Sullivan 2011-05-31 14:43:14 PDT
Created attachment 95486 [details]
Patch
Comment 5 Ryosuke Niwa 2011-05-31 14:49:12 PDT
Comment on attachment 95486 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=95486&action=review

> LayoutTests/editing/pasteboard/paste-blockquote-into-blockquote-2-expected.txt:1
> +This tests pasting a nested blockquote into a blockquote. The text "One" should be singly-blockquoted, and the text "Two Three" should be doubly-blockquoted. However, currently "One Two" is singly blockquoted and "Three" is doubly-blockquoted. See bug 61807.

You probably want to put "-" between singly and blockquoted.

> LayoutTests/editing/pasteboard/paste-blockquote-into-blockquote-2.html:26
> +Markup.description("This tests pasting a nested blockquote into a blockquote. " +
> +                   "The text \"One\" should be singly-blockquoted, and the text \"Two Three\" should be doubly-blockquoted. " +
> +                   "However, currently \"One Two\" is singly blockquoted and \"Three\" is doubly-blockquoted. See bug 61807.");

We don't normally indent text like this.  Please just indent 4 spaces on the second and the third line.  Also + should be on the next line not on the previous line (the indentation should be before +).
Comment 6 Annie Sullivan 2011-05-31 14:56:00 PDT
Created attachment 95488 [details]
Patch
Comment 7 WebKit Commit Bot 2011-05-31 23:18:58 PDT
Comment on attachment 95488 [details]
Patch

Clearing flags on attachment: 95488

Committed r87775: <http://trac.webkit.org/changeset/87775>
Comment 8 WebKit Commit Bot 2011-05-31 23:19:03 PDT
All reviewed patches have been landed.  Closing bug.