New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 784793 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Last visit > 30 days ago
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Incorrect position of list marker below a float

Reported by kwk...@vivliostyle.com, Nov 14 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36

Steps to reproduce the problem:
1. Open the attached test case

What is the expected behavior?
The list marker should be on the left side of the list content ("a")

What went wrong?
The list marker is far right to the list content.
A weird point is that the problem exists just after loading the HTML file, but it disappears when the window size is changed.
(In the screencasts the Chrome versions are 60.0.3112.78 and 62.0.3173.0, but exactly the same behavior is reproduced on 62.0.3202.94 and 64.0.3265.0)

Did this work before? No 

Does this work in other browsers? Yes

Chrome version: 62.0.3202.94  Channel: stable
OS Version: OS X 10.12.6
Flash Version: 

This issue is the same as I reported in comments #10 and #12 of another  issue 726583 :
https://bugs.chromium.org/p/chromium/issues/detail?id=726583#c10
https://bugs.chromium.org/p/chromium/issues/detail?id=726583#c12
 
list-marker-float2.html
437 bytes View Download
list-marker-float2-bug.png
7.8 KB View Download
bd2a08da-c943-442b-ycd1-4a15f0822151.webm
4.5 MB View Download
2c3585da-1f45-468c-y9ba-1dd5b3e480aa.webm
4.0 MB View Download

Comment 1 by robho...@gmail.com, Nov 14 2017

Owner: robho...@gmail.com
Status: Assigned (was: Unconfirmed)

Comment 2 by robho...@gmail.com, Nov 16 2017

Here's a test case that reproduces on all platforms.
784793.html
245 bytes View Download

Comment 4 by robho...@gmail.com, Dec 2 2017

Labels: Merge-Request-63
Project Member

Comment 5 by sheriffbot@chromium.org, Dec 2 2017

Labels: -Merge-Request-63 Merge-Review-63 Hotlist-Merge-Review
This bug requires manual review: We are only 2 days from stable.
Please contact the milestone owner if you have questions.
Owners: cmasso@(Android), cmasso@(iOS), gkihumba@(ChromeOS), govind@(Desktop)

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Cc: e...@chromium.org
We already cut M63 Stable RC, this is P2 and regressed in M62. So I'm not planning to take it in for M63. 

+eae@, please let me know if there is any concern here. Thank you.

Comment 7 by e...@chromium.org, Dec 4 2017

Do we have any reports of this affecting real-world websites? If so we likely need to merge it into M63.
Cc: pbomm...@chromium.org abdulsyed@chromium.org manoranj...@chromium.org
+abdulsyed@,manoranjanr@ & pbommana@, Do we have any reports of this affecting real-world websites on M62 and M63?
Based on bug reporter comments from  issue#726583 #c21 and quick search I can't find any related issues in our crbug, so not sure if there are any real-world websites which are impacted. 

If possible can someone please let us know how common is this implementation in order inorder to consider the CL merge to M63.  
I am not sure if this issue is regarded as common generally, but it appears as a common pattern in production in our web application doing special layout on browser (and our product which produces PDF using the app and Chromium).

One such example is the one below:
http://vivliostyle.github.io/vivliostyle.js/viewer/vivliostyle-viewer.html#x=../samples/scholarly/index.html
(This page is linked from our web site: http://vivliostyle.com/en/samples/)
You can try changing window size and see this issue when a list item comes below a figure, a table or a code block.
Labels: TE-Verified-65.0.3284.0
Verified that the issue is fixed on latest Chrome canary on Mac i.e., 65.0.3284.0,based on the steps provided in bug report. 

Comment 12 by e...@chromium.org, Dec 4 2017

Status: Fixed (was: Assigned)
Thank you!
Labels: -Merge-Review-63 Merge-Rejected-63
Rejecting merge to M63 branch 3239 per offline chat with eae@.
Thank you for working on this.
The issue seems to be fixed on Canary (65.0.3284.0) for the original test case I attached, but I found another case where the very similar issue occurs.

I attached a reduced test case (list-marker-float3.html).
This test case uses STIX fonts (STIXGeneral) bundled with macOS Sierra (10.12.6).
This is derived from our real example in production.

For this time, the issue persists after changing window size.

If it is preferred to file a new bug, I am willing to do so.
list-marker-float3.html
519 bytes View Download
list-marker-float3.png
151 KB View Download
Status: Assigned (was: Fixed)
I appreciate your work on this very much.
I tested the two test cases (list-marker-float2.html, list-marker-float3.html) on Canary (65.0.3315.0) and Dev (65.0.3311.3).
For both of the test cases and both of the versions, I observed the same behavior: the bullet was on the right side just after opening the file, but it moved to the correct position when resizing the window.
Project Member

Comment 18 by bugdroid1@chromium.org, Jan 9 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/8266c1681920886fdab67399b11da2d1cb0e285c

commit 8266c1681920886fdab67399b11da2d1cb0e285c
Author: Robert Hogan <robhogan@gmail.com>
Date: Tue Jan 09 21:01:06 2018

Revert "Place list markers correctly when floats are present"

This reverts commit 8819ce57fd3cc5506c3a386bf08949d54094c190.

Reason for revert:  crbug.com/800025 

Original change's description:
> Place list markers correctly when floats are present
> 
> Bug: 784793
> Change-Id: If176229f0af62fb61a40a7e4ef119057fe05449c
> Reviewed-on: https://chromium-review.googlesource.com/844084
> Commit-Queue: Emil A Eklund <eae@chromium.org>
> Reviewed-by: Emil A Eklund <eae@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#526370}

TBR=robhogan@gmail.com,eae@chromium.org

# Not skipping CQ checks because original CL landed > 1 day ago.

Bug: 784793,  800025 
Change-Id: I420a7b86bc80937d8c1420e5f45548e105ee48e0
Reviewed-on: https://chromium-review.googlesource.com/857996
Reviewed-by: Robert Hogan <robhogan@gmail.com>
Commit-Queue: Robert Hogan <robhogan@gmail.com>
Cr-Commit-Position: refs/heads/master@{#528100}
[delete] https://crrev.com/164f122a9b2ee9d10bc3c155e943aad85e2e0a7f/third_party/WebKit/LayoutTests/fast/lists/list-marker-avoid-float-7-expected.html
[delete] https://crrev.com/164f122a9b2ee9d10bc3c155e943aad85e2e0a7f/third_party/WebKit/LayoutTests/fast/lists/list-marker-avoid-float-7.html
[modify] https://crrev.com/8266c1681920886fdab67399b11da2d1cb0e285c/third_party/WebKit/Source/core/layout/LayoutBlockFlow.h
[modify] https://crrev.com/8266c1681920886fdab67399b11da2d1cb0e285c/third_party/WebKit/Source/core/layout/LayoutListItem.cpp
[modify] https://crrev.com/8266c1681920886fdab67399b11da2d1cb0e285c/third_party/WebKit/Source/core/layout/LayoutListItem.h

Labels: TE-Verified-M65 TE-Verified-65.0.3317.0
Verified this issue on Mac OS 10.12.6 using chrome latest canary M65 #65.0.3317.0. By opening the test case provided in comment #2 observed the list marker is displayed  left side of the list content ("a") as expected. Hence adding TE-Verified label for M65.

Thanks!
Screen Shot 2018-01-10 at 5.48.22 PM.png
9.0 KB View Download
> Verified this issue on Mac OS 10.12.6 using chrome latest canary M65 #65.0.3317.0.

The first test case (list-marker-float2.html) and the test case in comment #2 (784793.html) indeed work, while the second test case I provided in comment #14 (list-marker-float3.html) still does not work.
It seems that the situation has not changed since comment #14.
As I said in the comment #14, if it is preferred to file a new bug for it, I am willing to do so.

Sign in to add a comment