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

Issue 40733004: Replace compile flag with runtime check for text-underline-position (Closed)

Created:
7 years, 2 months ago by abinader
Modified:
7 years, 1 month ago
CC:
blink-reviews, zoltan1, eae+blinkwatch, leviw+renderwatch, dglazkov+blink, apavlov+blink_chromium.org, jchaffraix+rendering, darktears
Visibility:
Public.

Description

Replace compile flag with runtime check for text-underline-position Replaces the CSS3_TEXT compile flag (from WebKit feature flags) with runtime check for text-underline-position usage. Also removed the -webkit- vendor prefix from the CSS property (including layout test updates). BUG=239225 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=161235

Patch Set 1 #

Patch Set 2 : Fixed layout tests #

Patch Set 3 : Fixed a typo in static function compileUnderlineOffset signature / Rebase #

Total comments: 10

Patch Set 4 : Julien's review #

Total comments: 2

Patch Set 5 : Julien's review #2 (rebased) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -159 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M LayoutTests/fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-underline-position-expected.txt View 1 2 3 4 1 chunk +41 lines, -41 lines 0 comments Download
M LayoutTests/fast/css3-text/css3-text-decoration/getComputedStyle/script-tests/getComputedStyle-text-underline-position.js View 2 chunks +29 lines, -29 lines 0 comments Download
M LayoutTests/fast/css3-text/css3-text-decoration/text-underline-position/style.css View 1 chunk +18 lines, -18 lines 0 comments Download
M LayoutTests/webexposed/css-properties-as-js-properties-expected.txt View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/css/CSSComputedStyleDeclaration.cpp View 1 2 3 4 2 chunks +2 lines, -6 lines 0 comments Download
M Source/core/css/CSSParser.h View 1 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/css/CSSParser-in.cpp View 1 2 3 4 3 chunks +7 lines, -9 lines 0 comments Download
M Source/core/css/CSSPrimitiveValueMappings.h View 1 2 3 2 chunks +0 lines, -2 lines 0 comments Download
M Source/core/css/CSSProperties.in View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSProperty.cpp View 1 chunk +1 line, -3 lines 0 comments Download
M Source/core/css/CSSPropertyNames.in View 2 chunks +1 line, -1 line 0 comments Download
M Source/core/css/resolver/StyleBuilderCustom.cpp View 1 2 3 3 chunks +2 lines, -6 lines 0 comments Download
M Source/core/page/RuntimeCSSEnabled.cpp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/page/UseCounter.cpp View 1 2 3 4 1 chunk +1 line, -3 lines 0 comments Download
M Source/core/rendering/InlineFlowBox.h View 1 chunk +1 line, -2 lines 0 comments Download
M Source/core/rendering/InlineFlowBox.cpp View 2 chunks +0 lines, -2 lines 0 comments Download
M Source/core/rendering/InlineTextBox.cpp View 1 2 3 5 chunks +4 lines, -14 lines 0 comments Download
M Source/core/rendering/RootInlineBox.h View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/rendering/RootInlineBox.cpp View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/rendering/style/RenderStyle.h View 1 2 3 chunks +0 lines, -6 lines 0 comments Download
M Source/core/rendering/style/RenderStyleConstants.h View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/rendering/style/StyleRareInheritedData.h View 1 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/rendering/style/StyleRareInheritedData.cpp View 1 3 chunks +0 lines, -6 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
abinader
This is an ongoing process of polishing text-underline-position code, which included fixing some issues that ...
7 years, 1 month ago (2013-10-30 22:33:25 UTC) #1
Julien - ping for review
The unprefixing is awesome. One issue with the change before it can land though. https://codereview.chromium.org/40733004/diff/220001/LayoutTests/virtual/stable/webexposed/css-properties-as-js-properties-expected.txt ...
7 years, 1 month ago (2013-10-31 22:54:06 UTC) #2
abinader
https://codereview.chromium.org/40733004/diff/220001/LayoutTests/virtual/stable/webexposed/css-properties-as-js-properties-expected.txt File LayoutTests/virtual/stable/webexposed/css-properties-as-js-properties-expected.txt (right): https://codereview.chromium.org/40733004/diff/220001/LayoutTests/virtual/stable/webexposed/css-properties-as-js-properties-expected.txt#newcode195 LayoutTests/virtual/stable/webexposed/css-properties-as-js-properties-expected.txt:195: textUnderlinePosition On 2013/10/31 22:54:07, Julien Chaffraix - PST wrote: ...
7 years, 1 month ago (2013-11-01 12:16:42 UTC) #3
abinader
Status update: [1] Remove 'alphabetic' from list of supported values to text-underline-position https://code.google.com/p/chromium/issues/detail?id=311335 I have ...
7 years, 1 month ago (2013-11-01 12:23:41 UTC) #4
Julien - ping for review
lgtm https://codereview.chromium.org/40733004/diff/370001/LayoutTests/fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-underline-position-expected.txt File LayoutTests/fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-underline-position-expected.txt (right): https://codereview.chromium.org/40733004/diff/370001/LayoutTests/fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-underline-position-expected.txt#newcode10 LayoutTests/fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-underline-position-expected.txt:10: FAIL computedStyle.getPropertyCSSValue('text-underline-position').cssText should be auto. Threw exception TypeError: ...
7 years, 1 month ago (2013-11-01 17:20:56 UTC) #5
abinader
On 2013/11/01 17:20:56, Julien Chaffraix - PST wrote: > lgtm > > https://codereview.chromium.org/40733004/diff/370001/LayoutTests/fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-underline-position-expected.txt > File ...
7 years, 1 month ago (2013-11-01 19:13:30 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bruno.d@partner.samsung.com/40733004/460001
7 years, 1 month ago (2013-11-01 19:14:27 UTC) #7
commit-bot: I haz the power
Retried try job too often on linux_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink_rel&number=10836
7 years, 1 month ago (2013-11-01 20:34:11 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bruno.d@partner.samsung.com/40733004/640001
7 years, 1 month ago (2013-11-03 17:06:13 UTC) #9
commit-bot: I haz the power
7 years, 1 month ago (2013-11-03 18:26:28 UTC) #10
Message was sent while issue was closed.
Change committed as 161235

Powered by Google App Engine
This is Rietveld 408576698