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

Issue 811172 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

li without ul/ol are rendered with list-style-position: inside, while advertised as list-style-position: outside.

Reported by kdub...@mozilla.com, Feb 12 2018

Issue description

Chrome Version: 66.0.3344.0 (Official Build) canary (64-bit)

OS: macOS 10.13.3 (17D47)

What steps will reproduce the problem?
(1) Copy and Paste the following code in the URL bar with a viewport small enough that lines will wrap.

data:text/html,<!doctype html><li>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.<li>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.


What is the expected result?
Bullets should be outside of the text as advertised in the Computed CSS.


What happens instead?
Bullets are inside.

This creates a rendering that at least one site relies on. 
See https://webcompat.com/issues/15351


Rendering of the markup above in Chrome (left) and Firefox (right)
and screenshots of the devtools avertised computed CSS for both browsers.


 
Capture d’écran 2018-02-12 à 14.18.35.png
214 KB View Download
Capture d’écran 2018-02-12 à 14.19.48.png
138 KB View Download

Comment 1 by kdub...@mozilla.com, Feb 12 2018

We can reproduce the same behavior in Firefox by removing the doctype and then switching to quirks mode. The computed CSS then become list-style-position: inside. 
Components: Blink>HTML

Comment 3 by tkent@chromium.org, Mar 9 2018

Components: -Blink>HTML Blink>Layout

Comment 4 by e...@chromium.org, Mar 16 2018

Cc: kojii@chromium.org
Status: Available (was: Untriaged)

Comment 5 by kojii@chromium.org, Mar 16 2018

Cc: cathiec...@tencent.com
Filed https://github.com/w3c/csswg-drafts/issues/2446

Comment 6 Deleted

Add related test cases:
third_party/WebKit/LayoutTests/fast/lists/inline-before-content-after-list-marker.html
third_party/WebKit/LayoutTests/fast/lists/004.html
Another duplicate of this https://webcompat.com/issues/20406

Sign in to add a comment