Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use MoveParagraphWithClones when moving paragraphs to new list items #13191

Merged
merged 1 commit into from Oct 17, 2018

Conversation

chromium-wpt-export-bot
Copy link
Collaborator

@chromium-wpt-export-bot chromium-wpt-export-bot commented Sep 24, 2018

The MoveParagraph function doesn't guarantee the paragraph's style is
preserved when the insertOrderedList/insertOnordered list commands
are used.

Instead, we should use MoveParagraphWithClones. This change implies
rebaseline a few tests, since the result tree is different than the
one created with MoveParagraph.

Bug: 149901
Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng
Change-Id: I01e5a9ade28d3c16e8dc5423bf16dcf0d7e60976
Reviewed-on: https://chromium-review.googlesource.com/c/1216282
Commit-Queue: Javier Fernandez <jfernandez@igalia.com>
Reviewed-by: Yoshifumi Inoue <yosin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#600342}

Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Already reviewed downstream.

@chromium-wpt-export-bot chromium-wpt-export-bot changed the title The kPreserveStyle enum should match kMatchStyle option Use MoveParagraphWithClones when moving paragraphs to new list items Sep 25, 2018
@chromium-wpt-export-bot chromium-wpt-export-bot force-pushed the chromium-export-cl-1216282 branch 2 times, most recently from 63c9649 to 0fc173a Compare September 26, 2018 14:55
@chromium-wpt-export-bot chromium-wpt-export-bot force-pushed the chromium-export-cl-1216282 branch 9 times, most recently from 93b434e to c316f30 Compare October 17, 2018 08:43
The MoveParagraph function doesn't guarantee the paragraph's style is
preserved when the insertOrderedList/insertOnordered list commands
are used.

Instead, we should use MoveParagraphWithClones. This change implies
rebaseline a few tests, since the result tree is different than the
one created with MoveParagraph.

Bug: 149901
Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng
Change-Id: I01e5a9ade28d3c16e8dc5423bf16dcf0d7e60976
Reviewed-on: https://chromium-review.googlesource.com/c/1216282
Commit-Queue: Javier Fernandez <jfernandez@igalia.com>
Reviewed-by: Yoshifumi Inoue <yosin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#600342}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants