commit | f5099b7b47d627181b682a832d0e80f775d20eae | [log] [tgz] |
---|---|---|
author | cathiechen <cathiechen@tencent.com> | Thu Nov 02 20:35:35 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Nov 02 20:35:35 2017 |
tree | a19b4649778d5a255af7b5cf5f42dddac3324219 | |
parent | 48e94b01b98d71ee312bfedbbdc94440493eac28 [diff] |
Fix unnecessary line-break between marker and overflow element. In order to show marker in list with overflow children, we make marker as the child of list. This change will generate line-break between marker and overflow children. To eliminame this line-break: 1. When construct layout tree add marker as child of li which would generate line-break. 2. To eliminame line-break, set marker_container's logicalHeight to 0px. 3. Align marker's block direction position according to first-line-box after li's children layouted. Design document: https://docs.google.com/document/d/1bMerTLCSqHZYAERJ2HDr-4auOSw0eIx8QfD2vY92TNo Bug: 775880, 767408, 344941 Change-Id: I323be3fdd9447c5487963cb039c7bcc83922dcb8 Reviewed-on: https://chromium-review.googlesource.com/735303 Commit-Queue: Emil A Eklund <eae@chromium.org> Reviewed-by: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#513595}
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 .