commit | 1e5ec55dd115f8663389231c82928066184def96 | [log] [tgz] |
---|---|---|
author | Javier Fernandez <jfernandez@igalia.com> | Thu Aug 10 20:21:49 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Aug 10 20:21:49 2017 |
tree | 3a4cf48fb830bdd843164ceb2e757af50803ce78 | |
parent | 6107a42e162892f1ff24c799464f9425e621a995 [diff] |
Don't add BR when pruning empty blocks if it's the start of a paragraph The function MoveParagraph is used for several operations and editing commands, like 'insertOrderedList'. When moving paragraphs we check out whether we should add a 'br' element to avoid undesired block collapse. However, we shouldn't do this when destination is the start of a paragraph. Bug: 744936 Change-Id: I366b903b5f3737bd6c84e9fc8c91a4894ca680af Reviewed-on: https://chromium-review.googlesource.com/581008 Commit-Queue: Javier Fernandez <jfernandez@igalia.com> Reviewed-by: Yoshifumi Inoue <yosin@chromium.org> Cr-Commit-Position: refs/heads/master@{#493504}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .