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

Issue 2394273006: Add CSS support for text-decoration-skip (Closed)

Created:
4 years, 2 months ago by drott
Modified:
4 years, 2 months ago
CC:
darktears, apavlov+blink_chromium.org, asvitkine+watch_chromium.org, blink-reviews, blink-reviews-css, blink-reviews-style_chromium.org, chromium-reviews, dglazkov+blink, rwlbuis
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add CSS support for text-decoration-skip Add text-decoration-skip parsing and value computed style value support for values objects (the default) and ink. Still behind the CSS3 text-decoration flag for now. BUG=649700, 581456 Committed: https://crrev.com/750ed7a13da275f7afa3c8ec38fb01bc3a7f30f0 Cr-Commit-Position: refs/heads/master@{#424393}

Patch Set 1 #

Patch Set 2 : Basic test for parsing, readback and inheritance added #

Total comments: 4

Patch Set 3 : Histograms typo fixed, DCHECK #

Unified diffs Side-by-side diffs Delta from patch set Stats (+191 lines, -14 lines) Patch
M third_party/WebKit/LayoutTests/fast/css/getComputedStyle/computed-style-listing-expected.txt View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/css/getComputedStyle/computed-style-without-renderer-listing-expected.txt View 1 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css3-text/css3-text-decoration/resources/text-decoration-skip-css-support.js View 1 1 chunk +69 lines, -0 lines 0 comments Download
A + third_party/WebKit/LayoutTests/fast/css3-text/css3-text-decoration/text-decoration-skip-css-support.html View 1 1 chunk +8 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/svg/css/getComputedStyle-listing-expected.txt View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/css-properties-as-js-properties-expected.txt View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp View 1 chunk +11 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h View 1 chunk +15 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSProperties.in View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSPropertyEquality.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSValueKeywords.in View 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp View 1 2 2 chunks +14 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp View 1 2 chunks +21 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp View 1 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/UseCounter.cpp View 2 chunks +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyle.h View 1 chunk +12 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyle.cpp View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyleConstants.h View 1 1 chunk +16 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/style/StyleRareInheritedData.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/style/StyleRareInheritedData.cpp View 3 chunks +3 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 26 (17 generated)
drott
4 years, 2 months ago (2016-10-10 13:09:14 UTC) #9
eae
LGTM
4 years, 2 months ago (2016-10-10 15:45:08 UTC) #10
Timothy Loh
lgtm https://codereview.chromium.org/2394273006/diff/20001/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp File third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp (right): https://codereview.chromium.org/2394273006/diff/20001/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp#newcode1133 third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp:1133: return CSSIdentifierValue::create(CSSValueObjects); Maybe better to DCHECK(list->length()) for now ...
4 years, 2 months ago (2016-10-11 00:00:33 UTC) #13
drott
Thanks for the review. https://codereview.chromium.org/2394273006/diff/20001/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp File third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp (right): https://codereview.chromium.org/2394273006/diff/20001/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp#newcode1133 third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp:1133: return CSSIdentifierValue::create(CSSValueObjects); On 2016/10/11 at ...
4 years, 2 months ago (2016-10-11 07:15:28 UTC) #14
drott
mkwst@, jochen@ - could you please take a look at histograms.xml/UseCounter.cpp? Thanks.
4 years, 2 months ago (2016-10-11 07:19:50 UTC) #16
Mike West
UseCounter/Histograms LGTM.
4 years, 2 months ago (2016-10-11 08:35:05 UTC) #19
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/2394273006/40001
4 years, 2 months ago (2016-10-11 08:45:55 UTC) #23
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-10-11 08:53:12 UTC) #24
commit-bot: I haz the power
4 years, 2 months ago (2016-10-11 08:55:23 UTC) #26
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/750ed7a13da275f7afa3c8ec38fb01bc3a7f30f0
Cr-Commit-Position: refs/heads/master@{#424393}

Powered by Google App Engine
This is Rietveld 408576698