Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(270)

Issue 2463573002: Problem: Blink list-item-position is inside for unstyled list items

Created:
4 years, 1 month ago by venkatvb
Modified:
3 years, 4 months ago
CC:
chromium-reviews, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1, blink-reviews-layout_chromium.org, blink-reviews-html_chromium.org, eae+blinkwatch, leviw+renderwatch, dglazkov+blink, jchaffraix+rendering, blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Problem: Blink list-item-position is inside for unstyled list items The <li>HTML elements that is not within <ul> / <ol> parent elements has a nonstandard hard coded non-overridable list-style-position: inside like behavior. It looks like Gecko based browsers doesn't have this behavior. Solution: To remove the 'notInList' flag along with its setters and getter methods. 'notInList' flag is responsible for creating "list-style-position: inside" like behavior. BUG=590094

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -22 lines) Patch
M AUTHORS View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLLIElement.cpp View 2 chunks +0 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutListItem.h View 2 chunks +0 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutListItem.cpp View 2 chunks +0 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutListMarker.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/api/LayoutLIItem.h View 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 18 (9 generated)
venkatvb
4 years, 1 month ago (2016-10-29 14:09:02 UTC) #8
PhistucK
First, the description is not so accurate - <li> that is not within <ul> has ...
4 years, 1 month ago (2016-10-29 20:00:37 UTC) #9
PhistucK
On 2016/10/29 20:00:37, PhistucK wrote: > First, the description is not so accurate - > ...
4 years, 1 month ago (2016-10-29 20:29:21 UTC) #10
PhistucK
On 2016/10/29 20:29:21, PhistucK wrote: > On 2016/10/29 20:00:37, PhistucK wrote: > > First, the ...
4 years, 1 month ago (2016-10-29 20:31:37 UTC) #11
venkatvb
On 2016/10/29 20:00:37, PhistucK wrote: > First, the description is not so accurate - > ...
4 years, 1 month ago (2016-10-31 11:38:44 UTC) #13
venkatvb
On 2016/10/29 20:29:21, PhistucK wrote: > On 2016/10/29 20:00:37, PhistucK wrote: > > First, the ...
4 years, 1 month ago (2016-10-31 11:42:26 UTC) #14
venkatvb
4 years, 1 month ago (2016-10-31 11:44:35 UTC) #15
PhistucK
I found the original offending commit - https://quickgit.kde.org/?p=kdelibs.git&a=commit&h=f5e6665ad7cbf8208b8194d6f548eac26e8b9d0e Unfortunately, it does not explain the fix. ...
4 years, 1 month ago (2016-10-31 12:03:23 UTC) #16
PhistucK
4 years, 1 month ago (2016-11-09 09:42:56 UTC) #17
On 2016/10/31 12:03:23, PhistucK wrote:
> I found the original offending commit -
>
https://quickgit.kde.org/?p=kdelibs.git&a=commit&h=f5e6665ad7cbf8208b8194d6f5...
> 
> Unfortunately, it does not explain the fix. It just goes on and fixes it... I
> guess it just did not look right to the developer at the time. :|

Venkat reached out to Lars, the original author of the change and he actually
responded. :)
He says it was probably done to match Internet Explorer at the time.
I just checked Internet Explorer 11 using previous document modes. Internet
Explorer 7 and earlier render like Chrome.
So, yes, KHTML matched old Internet Explorer at the time, but while Microsoft
fixed that quirk, KHTML derivatives remained quirky.

The only remaining question is whether sites depend on this behavior...

Powered by Google App Engine
This is Rietveld 408576698