|
|
Created:
4 years, 5 months ago by joone Modified:
4 years, 5 months ago Reviewers:
yosin_UTC9 CC:
blink-reviews, chromium-reviews Base URL:
https://chromium.googlesource.com/chromium/src.git@master Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionRemove the unnecessary blockquote after indenting an empty blockquote
Here is a DOM state when we only add a blockquote.
<div contenteditable><blockquote>|<br></blockquote></div>
After indenting the blockquote, the change is as follows:
<div contenteditable>
<blockquote>
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">
<blockquote>|<br></blockquote>
</blockquote>
</blockquote>
</div>
There is an unnecessary blockquote so the result should be as follows:
<div contenteditable>
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">
<blockquote>|<br></blockquote>
</blockquote>
</div>
This CL removes the additional blockquote.
BUG=625802
TEST=editing/execCommand/indent-empty-quote.html
Committed: https://crrev.com/b844ddd6c6b82784257c183e50244eff895bce09
Cr-Commit-Position: refs/heads/master@{#407091}
Patch Set 1 #
Total comments: 6
Patch Set 2 : move the test case to indent folder #Patch Set 3 : fix test fail #
Messages
Total messages: 24 (15 generated)
The CQ bit was checked by joone.hur@intel.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
joone.hur@intel.com changed reviewers: + yosin@chromium.org
Hi yosin@ could you take a look at this CL?
Description was changed from ========== Remove the unnecessary blockquote after indenting an empty blockquote This CL removes the additional blockquote. BUG=625802 TEST=editing/execCommand/indent-empty-quote.html ========== to ========== Remove the unnecessary blockquote after indenting an empty blockquote Here is a DOM state when we only add a blockquote. <div contenteditable><blockquote>|<br></blockquote></div> After indenting the blockquote, the change is as follows: <div contenteditable><blockquote><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><blockquote>|<br></blockquote></blockquote></blockquote></div> There is an unnecessary blockquote so the result should be as follows: <div contenteditable><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><blockquote>|<br></blockquote></blockquote></div> This CL removes the additional blockquote. BUG=625802 TEST=editing/execCommand/indent-empty-quote.html ==========
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
Description was changed from ========== Remove the unnecessary blockquote after indenting an empty blockquote Here is a DOM state when we only add a blockquote. <div contenteditable><blockquote>|<br></blockquote></div> After indenting the blockquote, the change is as follows: <div contenteditable><blockquote><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><blockquote>|<br></blockquote></blockquote></blockquote></div> There is an unnecessary blockquote so the result should be as follows: <div contenteditable><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><blockquote>|<br></blockquote></blockquote></div> This CL removes the additional blockquote. BUG=625802 TEST=editing/execCommand/indent-empty-quote.html ========== to ========== Remove the unnecessary blockquote after indenting an empty blockquote Here is a DOM state when we only add a blockquote. <div contenteditable><blockquote>|<br></blockquote></div> After indenting the blockquote, the change is as follows: <div contenteditable> <blockquote> <blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"> <blockquote>|<br></blockquote> </blockquote> </blockquote> </div> There is an unnecessary blockquote so the result should be as follows: <div contenteditable> <blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"> <blockquote>|<br></blockquote> </blockquote> </div> This CL removes the additional blockquote. BUG=625802 TEST=editing/execCommand/indent-empty-quote.html ==========
lgtm w/ small nits in test file. https://codereview.chromium.org/2175433002/diff/1/third_party/WebKit/LayoutTe... File third_party/WebKit/LayoutTests/editing/execCommand/indent-empty-quote.html (right): https://codereview.chromium.org/2175433002/diff/1/third_party/WebKit/LayoutTe... third_party/WebKit/LayoutTests/editing/execCommand/indent-empty-quote.html:1: <!doctype html> Could you put this test file in "LayoutTests/editing/execCommand/indent" with using underscore to follow Chromium file name convention? https://codereview.chromium.org/2175433002/diff/1/third_party/WebKit/LayoutTe... third_party/WebKit/LayoutTests/editing/execCommand/indent-empty-quote.html:10: 'indent true', nit: I think we don't need to have |true|, since "indent" command doesn't take string parameter. https://codereview.chromium.org/2175433002/diff/1/third_party/WebKit/LayoutTe... third_party/WebKit/LayoutTests/editing/execCommand/indent-empty-quote.html:16: 'indent true', nit: I think we don't need to have |true|, since "indent" command doesn't take string parameter.
Thanks for the review! https://codereview.chromium.org/2175433002/diff/1/third_party/WebKit/LayoutTe... File third_party/WebKit/LayoutTests/editing/execCommand/indent-empty-quote.html (right): https://codereview.chromium.org/2175433002/diff/1/third_party/WebKit/LayoutTe... third_party/WebKit/LayoutTests/editing/execCommand/indent-empty-quote.html:1: <!doctype html> On 2016/07/22 01:21:55, Yosi_UTC9 wrote: > Could you put this test file in "LayoutTests/editing/execCommand/indent" with > using underscore to follow Chromium file name convention? Done. https://codereview.chromium.org/2175433002/diff/1/third_party/WebKit/LayoutTe... third_party/WebKit/LayoutTests/editing/execCommand/indent-empty-quote.html:10: 'indent true', On 2016/07/22 01:21:55, Yosi_UTC9 wrote: > nit: I think we don't need to have |true|, since "indent" command doesn't take > string parameter. Done. https://codereview.chromium.org/2175433002/diff/1/third_party/WebKit/LayoutTe... third_party/WebKit/LayoutTests/editing/execCommand/indent-empty-quote.html:16: 'indent true', On 2016/07/22 01:21:55, Yosi_UTC9 wrote: > nit: I think we don't need to have |true|, since "indent" command doesn't take > string parameter. Done.
The CQ bit was checked by joone.hur@intel.com
The patchset sent to the CQ was uploaded after l-g-t-m from yosin@chromium.org Link to the patchset: https://codereview.chromium.org/2175433002/#ps20001 (title: "move the test case to indent folder")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_...)
The CQ bit was checked by joone.hur@intel.com
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by joone.hur@intel.com
The patchset sent to the CQ was uploaded after l-g-t-m from yosin@chromium.org Link to the patchset: https://codereview.chromium.org/2175433002/#ps40001 (title: "fix test fail")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== Remove the unnecessary blockquote after indenting an empty blockquote Here is a DOM state when we only add a blockquote. <div contenteditable><blockquote>|<br></blockquote></div> After indenting the blockquote, the change is as follows: <div contenteditable> <blockquote> <blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"> <blockquote>|<br></blockquote> </blockquote> </blockquote> </div> There is an unnecessary blockquote so the result should be as follows: <div contenteditable> <blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"> <blockquote>|<br></blockquote> </blockquote> </div> This CL removes the additional blockquote. BUG=625802 TEST=editing/execCommand/indent-empty-quote.html ========== to ========== Remove the unnecessary blockquote after indenting an empty blockquote Here is a DOM state when we only add a blockquote. <div contenteditable><blockquote>|<br></blockquote></div> After indenting the blockquote, the change is as follows: <div contenteditable> <blockquote> <blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"> <blockquote>|<br></blockquote> </blockquote> </blockquote> </div> There is an unnecessary blockquote so the result should be as follows: <div contenteditable> <blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"> <blockquote>|<br></blockquote> </blockquote> </div> This CL removes the additional blockquote. BUG=625802 TEST=editing/execCommand/indent-empty-quote.html ==========
Message was sent while issue was closed.
Committed patchset #3 (id:40001)
Message was sent while issue was closed.
Description was changed from ========== Remove the unnecessary blockquote after indenting an empty blockquote Here is a DOM state when we only add a blockquote. <div contenteditable><blockquote>|<br></blockquote></div> After indenting the blockquote, the change is as follows: <div contenteditable> <blockquote> <blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"> <blockquote>|<br></blockquote> </blockquote> </blockquote> </div> There is an unnecessary blockquote so the result should be as follows: <div contenteditable> <blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"> <blockquote>|<br></blockquote> </blockquote> </div> This CL removes the additional blockquote. BUG=625802 TEST=editing/execCommand/indent-empty-quote.html ========== to ========== Remove the unnecessary blockquote after indenting an empty blockquote Here is a DOM state when we only add a blockquote. <div contenteditable><blockquote>|<br></blockquote></div> After indenting the blockquote, the change is as follows: <div contenteditable> <blockquote> <blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"> <blockquote>|<br></blockquote> </blockquote> </blockquote> </div> There is an unnecessary blockquote so the result should be as follows: <div contenteditable> <blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"> <blockquote>|<br></blockquote> </blockquote> </div> This CL removes the additional blockquote. BUG=625802 TEST=editing/execCommand/indent-empty-quote.html Committed: https://crrev.com/b844ddd6c6b82784257c183e50244eff895bce09 Cr-Commit-Position: refs/heads/master@{#407091} ==========
Message was sent while issue was closed.
Patchset 3 (id:??) landed as https://crrev.com/b844ddd6c6b82784257c183e50244eff895bce09 Cr-Commit-Position: refs/heads/master@{#407091} |