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

Issue 2704343003: Catch up the spec update in CSS Rhythmic Sizing (Closed)

Created:
3 years, 10 months ago by kojii
Modified:
3 years, 9 months ago
Reviewers:
meade_UTC10, sashab, eae
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, blink-reviews-layout_chromium.org, blink-reviews-style_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, rwlbuis, szager+layoutwatch_chromium.org, Timothy Loh, zoltan1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Catch up the spec update in CSS Rhythmic Sizing This patch catches up spec changes in CSS Rhythmic Sizing[1]. In particular: 1. The property name was changed to 'line-height-step'. 2. The value syntax was changed to single <length>. 3. The baseline position feature was removed. Tests in csswg-test were updated[2] and imported to fail. All of them pass in this patch. The feature is still behind the flag. [1] https://drafts.csswg.org/css-rhythm/ [2] https://github.com/w3c/csswg-test/commit/50a861a451a1fe9cc80044568c257212729779fa BUG=586413 Review-Url: https://codereview.chromium.org/2704343003 Cr-Commit-Position: refs/heads/master@{#455008} Committed: https://chromium.googlesource.com/chromium/src/+/2344921f94b85be9884ed847d9a041a5e2575946

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : Rebase and updated tests #

Patch Set 5 : Update expected.txt #

Patch Set 6 : Cleanup #

Total comments: 2

Patch Set 7 : Sorted CSSProperties.json5 alphabetically (meade@'s nit) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -184 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 4 5 1 chunk +0 lines, -6 lines 0 comments Download
D third_party/WebKit/LayoutTests/external/csswg-test/css-rhythm-1/line-height-step-dynamic-001-expected.txt View 1 2 3 1 chunk +0 lines, -5 lines 0 comments Download
D third_party/WebKit/LayoutTests/external/csswg-test/css-rhythm-1/line-height-step-parsing-001-expected.txt View 1 2 3 1 chunk +0 lines, -12 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/css/getComputedStyle/computed-style-listing-expected.txt View 1 2 3 4 2 chunks +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/css/getComputedStyle/computed-style-without-renderer-listing-expected.txt View 1 2 3 4 2 chunks +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/svg/css/getComputedStyle-listing-expected.txt View 1 2 3 4 2 chunks +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/css-properties-as-js-properties-expected.txt View 1 2 3 4 2 chunks +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/BUILD.gn View 1 2 3 4 2 chunks +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp View 1 2 1 chunk +14 lines, -14 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSProperties.json5 View 1 2 3 4 5 6 2 chunks +8 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp View 2 chunks +2 lines, -12 lines 0 comments Download
A third_party/WebKit/Source/core/css/properties/CSSPropertyAPILineHeightStep.cpp View 1 chunk +20 lines, -0 lines 0 comments Download
D third_party/WebKit/Source/core/css/properties/CSSPropertyAPISnapHeight.cpp View 1 chunk +0 lines, -33 lines 0 comments Download
M third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp View 1 2 3 4 1 chunk +0 lines, -36 lines 0 comments Download
M third_party/WebKit/Source/core/frame/UseCounter.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/line/RootInlineBox.cpp View 1 2 3 4 5 2 chunks +13 lines, -27 lines 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyle.h View 1 2 3 4 1 chunk +6 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyle.cpp View 1 2 3 4 5 1 chunk +2 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/style/StyleRareInheritedData.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/style/StyleRareInheritedData.cpp View 1 4 chunks +4 lines, -7 lines 0 comments Download

Messages

Total messages: 37 (25 generated)
kojii
timloh@, PTAL for css/style. I learned the new style system based on json5, I hope ...
3 years, 9 months ago (2017-03-05 16:20:38 UTC) #13
Timothy Loh
Hi Koji, I'm no longer working on the Style team (I'm working on Permissions now), ...
3 years, 9 months ago (2017-03-06 00:40:26 UTC) #17
Timothy Loh
Hi Koji, I'm no longer working on the Style team (I'm working on Permissions now), ...
3 years, 9 months ago (2017-03-06 00:40:27 UTC) #18
kojii
Oh, I wasn't aware of that. Congratulations, I hope you enjoy the new team!! meade@, ...
3 years, 9 months ago (2017-03-06 01:04:00 UTC) #19
meade_UTC10
This lgtm, simpler code ftw! Sasha, would you mind double checking to make sure I ...
3 years, 9 months ago (2017-03-06 02:40:20 UTC) #21
sashab
LGTM and +bugsnash who should be doing ribbon reviews from now on :D
3 years, 9 months ago (2017-03-06 02:57:58 UTC) #22
kojii
eae@, PTAL for layout/frame. https://codereview.chromium.org/2704343003/diff/100001/third_party/WebKit/Source/core/css/CSSProperties.json5 File third_party/WebKit/Source/core/css/CSSProperties.json5 (right): https://codereview.chromium.org/2704343003/diff/100001/third_party/WebKit/Source/core/css/CSSProperties.json5#newcode1620 third_party/WebKit/Source/core/css/CSSProperties.json5:1620: name: "line-height-step", On 2017/03/06 at ...
3 years, 9 months ago (2017-03-06 03:05:56 UTC) #26
eae
RS LGTM
3 years, 9 months ago (2017-03-07 00:10:05 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2704343003/120001
3 years, 9 months ago (2017-03-07 00:49:03 UTC) #32
commit-bot: I haz the power
Committed patchset #7 (id:120001) as https://chromium.googlesource.com/chromium/src/+/2344921f94b85be9884ed847d9a041a5e2575946
3 years, 9 months ago (2017-03-07 00:56:09 UTC) #35
sclittle
A revert of this CL (patchset #7 id:120001) has been created in https://codereview.chromium.org/2737673003/ by sclittle@chromium.org. ...
3 years, 9 months ago (2017-03-07 01:27:05 UTC) #36
kojii
3 years, 9 months ago (2017-03-07 18:08:53 UTC) #37
Message was sent while issue was closed.
Thank you Scott!

Powered by Google App Engine
This is Rietveld 408576698