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

Issue 677103002: Expand system font values during property parsing. (Closed)

Created:
6 years, 2 months ago by andersr
Modified:
6 years, 1 month ago
CC:
blink-reviews, blink-reviews-rendering, zoltan1, blink-reviews-css, pdr+renderingwatchlist_chromium.org, eae+blinkwatch, ed+blinkwatch_opera.com, leviw+renderwatch, dglazkov+blink, apavlov+blink_chromium.org, jchaffraix+rendering, darktears, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Expand system font values during property parsing. This is alancutter's patch, adjusted to work with the current master. This patch removes special case handling of the font shorthand property. Previously this property would be carried through to the style resolving stage if system font values were used. This patch refactors this process to happen in the CSS parser so that font is always expanded into longhand values. BUG=353932 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=184449

Patch Set 1 : "Rebase" alancutter's patch. #

Patch Set 2 : OVERRIDE -> override, Allow CSSValueNone in systemFont() #

Total comments: 5

Patch Set 3 : Rebase. #

Patch Set 4 : Remove isExpandedShorthandForAll. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+305 lines, -270 lines) Patch
M LayoutTests/fast/css/font-shorthand.html View 1 chunk +50 lines, -36 lines 0 comments Download
M LayoutTests/fast/css/font-shorthand-expected.txt View 10 chunks +100 lines, -21 lines 0 comments Download
M Source/build/scripts/make_style_builder.py View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/css/CSSProperties.in View 2 chunks +1 line, -3 lines 0 comments Download
M Source/core/css/StylePropertySerializer.cpp View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/css/StylePropertyShorthandCustom.cpp View 1 2 3 1 chunk +0 lines, -22 lines 0 comments Download
M Source/core/css/parser/CSSPropertyParser.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/css/parser/CSSPropertyParser.cpp View 3 chunks +30 lines, -5 lines 0 comments Download
M Source/core/css/resolver/FontBuilder.h View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/css/resolver/FontBuilder.cpp View 1 chunk +0 lines, -22 lines 0 comments Download
M Source/core/css/resolver/StyleBuilderCustom.cpp View 1 chunk +0 lines, -22 lines 0 comments Download
M Source/core/css/resolver/StyleResolver.cpp View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderTheme.h View 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/rendering/RenderTheme.cpp View 1 1 chunk +58 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderThemeChromiumFontProvider.h View 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/rendering/RenderThemeChromiumFontProviderLinux.cpp View 2 chunks +6 lines, -10 lines 0 comments Download
M Source/core/rendering/RenderThemeChromiumFontProviderWin.cpp View 2 chunks +25 lines, -66 lines 0 comments Download
M Source/core/rendering/RenderThemeChromiumMac.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderThemeChromiumMac.mm View 1 chunk +22 lines, -50 lines 0 comments Download
M Source/core/rendering/RenderThemeChromiumSkia.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderThemeChromiumSkia.cpp View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
andersr
Original patch: https://codereview.chromium.org/205743004/ I figured I should try to reproduce the problem with this patch ...
6 years, 1 month ago (2014-10-25 13:59:32 UTC) #4
alancutter (OOO until 2018)
lgtm Thanks for reviving this change! Previously all the web worker layout tests were failing ...
6 years, 1 month ago (2014-10-26 23:40:20 UTC) #5
Timothy Loh
If it works, then hooray lgtm :), remember to remove [wip] from the subject/description though ...
6 years, 1 month ago (2014-10-27 05:45:46 UTC) #6
andersr
On 2014/10/26 23:40:20, alancutter wrote: > lgtm > > Thanks for reviving this change! > ...
6 years, 1 month ago (2014-10-27 10:58:30 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/677103002/100001
6 years, 1 month ago (2014-10-27 10:59:34 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/33738)
6 years, 1 month ago (2014-10-27 13:18:02 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/677103002/100001
6 years, 1 month ago (2014-10-27 13:32:21 UTC) #13
commit-bot: I haz the power
6 years, 1 month ago (2014-10-27 14:13:03 UTC) #14
Message was sent while issue was closed.
Committed patchset #4 (id:100001) as 184449

Powered by Google App Engine
This is Rietveld 408576698