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

Issue 14576017: Implement CSS3TextDecorations runtime flag in favor of CSS3_TEXT (Closed)

Created:
7 years, 7 months ago by bruno.abinader
Modified:
7 years, 7 months ago
CC:
blink-reviews, jamesr, eae+blinkwatch, leviw+renderwatch, danakj, apavlov+blink_chromium.org, jchaffraix+rendering, darktears, Stephen Chennney, jeez, pdr., jochen (gone - plz use gerrit)
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Implement CSS3TextDecorations runtime flag in favor of CSS3_TEXT Removes CSS3_TEXT feature flags handled on #ifdef's along the code in favor of runtime flag provided by RuntimeEnabledFeatures. This flag is checked on CSSParser. BUG=239225

Patch Set 1 #

Patch Set 2 : Updated css-properties-as-js-properties.html layout test expectations to match new properties. #

Total comments: 2

Patch Set 3 : Rebased / Added entries on RuntimeCSSEnabled / Removed -webkit- prefix / Updated layout tests #

Patch Set 4 : Fixed a typo in css-properties-as-js-properties-expected-expected.txt #

Total comments: 1

Patch Set 5 : Removed updated on text-underline-position for now (to be discussed & re-added later) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+372 lines, -420 lines) Patch
M LayoutTests/fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-color-expected.txt View 1 2 1 chunk +68 lines, -68 lines 0 comments Download
M LayoutTests/fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-line-expected.txt View 1 2 1 chunk +63 lines, -63 lines 0 comments Download
M LayoutTests/fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-style-expected.txt View 1 2 1 chunk +64 lines, -64 lines 0 comments Download
M LayoutTests/fast/css3-text/css3-text-decoration/getComputedStyle/script-tests/getComputedStyle-text-decoration-color.js View 1 2 2 chunks +11 lines, -11 lines 0 comments Download
M LayoutTests/fast/css3-text/css3-text-decoration/getComputedStyle/script-tests/getComputedStyle-text-decoration-line.js View 1 2 2 chunks +32 lines, -32 lines 0 comments Download
M LayoutTests/fast/css3-text/css3-text-decoration/getComputedStyle/script-tests/getComputedStyle-text-decoration-style.js View 1 2 2 chunks +11 lines, -11 lines 0 comments Download
M LayoutTests/fast/css3-text/css3-text-decoration/repaint/repaint-text-decoration-color.html View 1 2 1 chunk +9 lines, -9 lines 0 comments Download
M LayoutTests/fast/css3-text/css3-text-decoration/repaint/repaint-text-decoration-line.html View 1 2 2 chunks +13 lines, -13 lines 0 comments Download
M LayoutTests/fast/css3-text/css3-text-decoration/repaint/repaint-text-decoration-style.html View 1 2 1 chunk +9 lines, -9 lines 0 comments Download
M LayoutTests/fast/css3-text/css3-text-decoration/text-decoration-color.html View 1 2 3 chunks +7 lines, -7 lines 0 comments Download
M LayoutTests/fast/css3-text/css3-text-decoration/text-decoration-line.html View 1 2 1 chunk +16 lines, -16 lines 0 comments Download
M LayoutTests/fast/css3-text/css3-text-decoration/text-decoration-line-expected.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/css3-text/css3-text-decoration/text-decoration-style.html View 1 2 1 chunk +8 lines, -8 lines 0 comments Download
M LayoutTests/webexposed/css-properties-as-js-properties-expected.txt View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M Source/core/css/CSSComputedStyleDeclaration.cpp View 1 2 3 4 4 chunks +7 lines, -10 lines 0 comments Download
M Source/core/css/CSSParser.cpp View 1 2 3 4 6 chunks +18 lines, -17 lines 0 comments Download
M Source/core/css/CSSPrimitiveValueMappings.h View 1 2 3 4 2 chunks +1 line, -1 line 0 comments Download
M Source/core/css/CSSProperty.cpp View 1 2 3 4 4 chunks +3 lines, -5 lines 0 comments Download
M Source/core/css/CSSPropertyNames.in View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/css/CSSValueKeywords.in View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/css/DeprecatedStyleBuilder.cpp View 1 2 3 4 1 chunk +4 lines, -3 lines 0 comments Download
M Source/core/css/resolver/StyleResolver.cpp View 1 2 3 4 3 chunks +4 lines, -6 lines 0 comments Download
M Source/core/page/RuntimeCSSEnabled.cpp View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M Source/core/page/RuntimeEnabledFeatures.in View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/platform/graphics/GraphicsContext.cpp View 1 2 1 chunk +1 line, -3 lines 0 comments Download
M Source/core/platform/graphics/GraphicsTypes.h View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/rendering/InlineTextBox.cpp View 1 2 3 4 8 chunks +3 lines, -18 lines 0 comments Download
M Source/core/rendering/RenderObject.cpp View 1 2 1 chunk +1 line, -3 lines 0 comments Download
M Source/core/rendering/style/RenderStyle.h View 1 2 3 4 6 chunks +3 lines, -11 lines 0 comments Download
M Source/core/rendering/style/RenderStyle.cpp View 1 2 3 chunks +2 lines, -8 lines 0 comments Download
M Source/core/rendering/style/RenderStyleConstants.h View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/rendering/style/StyleRareNonInheritedData.h View 2 chunks +0 lines, -4 lines 0 comments Download
M Source/core/rendering/style/StyleRareNonInheritedData.cpp View 5 chunks +0 lines, -10 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
bruno.abinader
From a first look it seems the issues with win_layout_rel are not related to this ...
7 years, 7 months ago (2013-05-10 17:20:31 UTC) #1
eseidel
This will need an entry in RuntimeCSSEnabled to be guarded properly. Theoretically that should be ...
7 years, 7 months ago (2013-05-10 17:26:47 UTC) #2
eseidel
Was this already on by default? If not, I would recommend sending an "intent to ...
7 years, 7 months ago (2013-05-10 17:27:37 UTC) #3
eseidel
Nevermind. It's in next week's batch that I haven't sorted through yet: https://groups.google.com/a/chromium.org/forum/#!searchin/blink-dev/intent%7Csort:date/blink-dev/EAlkDYI-uKw/SK-CwDBhXlsJ
7 years, 7 months ago (2013-05-10 17:28:29 UTC) #4
eseidel
I don't have a good sense of how many lines (Root Line Boxes) a typical ...
7 years, 7 months ago (2013-05-10 17:31:39 UTC) #5
Rik
If text decoration is no longer experimental, shouldn't you remove the webkit prefix or add ...
7 years, 7 months ago (2013-05-10 17:33:39 UTC) #6
bruno.abinader
On 2013/05/10 17:33:39, Rik wrote: > If text decoration is no longer experimental, shouldn't you ...
7 years, 7 months ago (2013-05-10 17:48:00 UTC) #7
Rik
On 2013/05/10 17:48:00, abinader wrote: > Yes, however I planned to do this on a ...
7 years, 7 months ago (2013-05-10 18:21:50 UTC) #8
bruno.abinader
https://codereview.chromium.org/14576017/diff/3001/Source/core/rendering/RootInlineBox.h File Source/core/rendering/RootInlineBox.h (left): https://codereview.chromium.org/14576017/diff/3001/Source/core/rendering/RootInlineBox.h#oldcode226 Source/core/rendering/RootInlineBox.h:226: float m_maxLogicalTop; On 2013/05/10 17:31:40, Eric Seidel wrote: > ...
7 years, 7 months ago (2013-05-10 18:23:14 UTC) #9
bruno.abinader
On 2013/05/10 17:26:47, Eric Seidel wrote: > This will need an entry in RuntimeCSSEnabled to ...
7 years, 7 months ago (2013-05-10 18:26:14 UTC) #10
eseidel
Unfortunately it's not fully automatic yet. Right now we still need to edit setPropertySwitchesFromRuntimeFeatures in ...
7 years, 7 months ago (2013-05-11 21:21:08 UTC) #11
bruno.abinader
Updated patch: - Rebase on StrokeStyle moved to core/platform/graphics/GraphicsTypes.h - Added property entries on RuntimeCSSEnabled ...
7 years, 7 months ago (2013-05-13 20:27:51 UTC) #12
eseidel
https://codereview.chromium.org/14576017/diff/20001/Source/core/rendering/RootInlineBox.h File Source/core/rendering/RootInlineBox.h (left): https://codereview.chromium.org/14576017/diff/20001/Source/core/rendering/RootInlineBox.h#oldcode226 Source/core/rendering/RootInlineBox.h:226: float m_maxLogicalTop; I'm just not OK with adding this ...
7 years, 7 months ago (2013-05-13 20:34:34 UTC) #13
eseidel
Otherwise the patch looks fine. :)
7 years, 7 months ago (2013-05-13 20:34:48 UTC) #14
bruno.abinader
Removed updates for text-underline-position for now (to be discussed & re-adder later)
7 years, 7 months ago (2013-05-14 20:19:48 UTC) #15
bruno.abinader
Rebased layout test expectations after r150365 (Ojan gardening).
7 years, 7 months ago (2013-05-15 14:26:32 UTC) #16
bruno.abinader
On 2013/05/15 14:26:32, abinader wrote: > Rebased layout test expectations after r150365 (Ojan gardening). Wow, ...
7 years, 7 months ago (2013-05-15 14:42:59 UTC) #17
bruno.abinader
Rebased after changes on DeprecatedStyleBuilder.
7 years, 7 months ago (2013-05-15 18:28:25 UTC) #18
eseidel
lgtm
7 years, 7 months ago (2013-05-15 19:12:13 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bruno.abinader@basyskom.com/14576017/27004
7 years, 7 months ago (2013-05-15 19:12:26 UTC) #20
commit-bot: I haz the power
Failed to apply patch for Source/core/page/RuntimeEnabledFeatures.in: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 7 months ago (2013-05-16 02:08:00 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bruno.abinader@basyskom.com/14576017/27004
7 years, 7 months ago (2013-05-16 12:29:17 UTC) #22
commit-bot: I haz the power
7 years, 7 months ago (2013-05-16 12:29:59 UTC) #23
Message was sent while issue was closed.
Change committed as 150509

Powered by Google App Engine
This is Rietveld 408576698