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

Issue 2023433002: Use 1em margin for list-style:inside items (Closed)

Created:
4 years, 6 months ago by Gleb Lanbin
Modified:
4 years, 6 months ago
Reviewers:
eae
CC:
chromium-reviews, szager+layoutwatch_chromium.org, zoltan1, blink-reviews-css, pdr+renderingwatchlist_chromium.org, eae+blinkwatch, leviw+renderwatch, dglazkov+blink, apavlov+blink_chromium.org, jchaffraix+rendering, darktears, blink-reviews, blink-reviews-layout_chromium.org, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix the interop issue for list-style:inside items. W3C spec http://www.w3.org/TR/css3-lists/#ua-stylesheet recommends 1em margin for markers. Unlike other browsers (verified with Edge and Firefox) Chrome does not follow UA stylesheet recommendation. The fix is temporarily landed in LayoutListMarker.cpp. Default UA CSS should be moved to WebKit/Source/core/css/html.css after crbug.com/457718 is fixed. BUG=547938 Committed: https://crrev.com/3feed678d176446eb08b6c1df16a9f1b3d0666ac Cr-Commit-Position: refs/heads/master@{#397582}

Patch Set 1 : #

Total comments: 4

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : Fix fast/events/onclick-list-marker.html test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -2 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 4 5 1 chunk +10 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/events/onclick-list-marker.html View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutListMarker.cpp View 1 2 3 2 chunks +6 lines, -1 line 0 comments Download

Messages

Total messages: 51 (30 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2023433002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2023433002/40001
4 years, 6 months ago (2016-05-27 18:53:17 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/235343)
4 years, 6 months ago (2016-05-27 20:35:24 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2023433002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2023433002/160001
4 years, 6 months ago (2016-05-31 17:46:17 UTC) #16
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/236296)
4 years, 6 months ago (2016-05-31 19:16:51 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2023433002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2023433002/180001
4 years, 6 months ago (2016-05-31 19:56:27 UTC) #21
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-05-31 22:25:03 UTC) #23
Gleb Lanbin
4 years, 6 months ago (2016-05-31 22:26:43 UTC) #25
eae
Thanks for doing this! https://codereview.chromium.org/2023433002/diff/180001/third_party/WebKit/Source/core/layout/LayoutListMarker.cpp File third_party/WebKit/Source/core/layout/LayoutListMarker.cpp (right): https://codereview.chromium.org/2023433002/diff/180001/third_party/WebKit/Source/core/layout/LayoutListMarker.cpp#newcode42 third_party/WebKit/Source/core/layout/LayoutListMarker.cpp:42: const int cUAMarkerMargin = 1; ...
4 years, 6 months ago (2016-05-31 22:37:08 UTC) #26
Gleb Lanbin
https://codereview.chromium.org/2023433002/diff/180001/third_party/WebKit/Source/core/layout/LayoutListMarker.cpp File third_party/WebKit/Source/core/layout/LayoutListMarker.cpp (right): https://codereview.chromium.org/2023433002/diff/180001/third_party/WebKit/Source/core/layout/LayoutListMarker.cpp#newcode42 third_party/WebKit/Source/core/layout/LayoutListMarker.cpp:42: const int cUAMarkerMargin = 1; On 2016/05/31 22:37:08, eae ...
4 years, 6 months ago (2016-05-31 23:24:49 UTC) #27
eae
https://codereview.chromium.org/2023433002/diff/200001/third_party/WebKit/Source/core/layout/LayoutListMarker.cpp File third_party/WebKit/Source/core/layout/LayoutListMarker.cpp (right): https://codereview.chromium.org/2023433002/diff/200001/third_party/WebKit/Source/core/layout/LayoutListMarker.cpp#newcode269 third_party/WebKit/Source/core/layout/LayoutListMarker.cpp:269: marginEnd = fontMetrics.ascent() - minPreferredLogicalWidth() + 1 + LayoutUnit(cUAMarkerMarginEm); ...
4 years, 6 months ago (2016-05-31 23:42:27 UTC) #28
Gleb Lanbin
https://codereview.chromium.org/2023433002/diff/200001/third_party/WebKit/Source/core/layout/LayoutListMarker.cpp File third_party/WebKit/Source/core/layout/LayoutListMarker.cpp (right): https://codereview.chromium.org/2023433002/diff/200001/third_party/WebKit/Source/core/layout/LayoutListMarker.cpp#newcode269 third_party/WebKit/Source/core/layout/LayoutListMarker.cpp:269: marginEnd = fontMetrics.ascent() - minPreferredLogicalWidth() + 1 + LayoutUnit(cUAMarkerMarginEm); ...
4 years, 6 months ago (2016-06-01 00:13:23 UTC) #29
eae
LGTM!
4 years, 6 months ago (2016-06-01 00:16:50 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2023433002/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2023433002/220001
4 years, 6 months ago (2016-06-01 16:11:10 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/14309) ios-device-gn on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 6 months ago (2016-06-01 16:13:40 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2023433002/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2023433002/240001
4 years, 6 months ago (2016-06-01 17:00:34 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/79952)
4 years, 6 months ago (2016-06-01 18:01:13 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2023433002/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2023433002/260001
4 years, 6 months ago (2016-06-01 19:05:14 UTC) #42
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/237208)
4 years, 6 months ago (2016-06-01 21:09:09 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2023433002/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2023433002/280001
4 years, 6 months ago (2016-06-02 21:56:25 UTC) #47
commit-bot: I haz the power
Committed patchset #6 (id:280001)
4 years, 6 months ago (2016-06-03 02:29:04 UTC) #49
commit-bot: I haz the power
4 years, 6 months ago (2016-06-03 02:32:01 UTC) #51
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/3feed678d176446eb08b6c1df16a9f1b3d0666ac
Cr-Commit-Position: refs/heads/master@{#397582}

Powered by Google App Engine
This is Rietveld 408576698