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

Issue 1219643002: Remove "isImplicit" checks on fonts. (Closed)

Created:
5 years, 5 months ago by meade_UTC10
Modified:
5 years, 5 months ago
Reviewers:
davve, Timothy Loh
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, blink-reviews-style_chromium.org, dglazkov+blink, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Remove some "isImplicit" checks on fonts. Replace the check in appendFontLonghandValueIfExplicit with a check for "normal", which is equivalent because the parser fills in all "implicit" properties in the font longhand with "normal". Removing it would result in things like: "italic 20px sans-serif" -> "italic normal normal normal 20px/normal sans-serif". These condition in fontValue() never matches because the parser always fills in fontSizeProperty and fontFamilyProperty. Rename appendFontLonghandValueIfExplicit to appendFontLonghandValueIfNotNormal. BUG=471917 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=198111

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 6

Patch Set 5 : #

Patch Set 6 : #

Total comments: 2

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -11 lines) Patch
M Source/core/css/StylePropertySerializer.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/StylePropertySerializer.cpp View 1 2 3 4 5 6 7 8 2 chunks +9 lines, -10 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
meade_UTC10
5 years, 5 months ago (2015-06-29 07:12:34 UTC) #2
davve
https://codereview.chromium.org/1219643002/diff/50001/LayoutTests/fast/css/getPropertyValue-columns.html File LayoutTests/fast/css/getPropertyValue-columns.html (right): https://codereview.chromium.org/1219643002/diff/50001/LayoutTests/fast/css/getPropertyValue-columns.html#newcode28 LayoutTests/fast/css/getPropertyValue-columns.html:28: description("<a href=\"https://bugs.webkit.org/show_bug.cgi?id=111011\">Bug 111011: getPropertyValue for -webkit-columns returns null, should ...
5 years, 5 months ago (2015-06-29 08:12:47 UTC) #4
meade_UTC10
https://codereview.chromium.org/1219643002/diff/50001/LayoutTests/fast/css/getPropertyValue-columns.html File LayoutTests/fast/css/getPropertyValue-columns.html (right): https://codereview.chromium.org/1219643002/diff/50001/LayoutTests/fast/css/getPropertyValue-columns.html#newcode28 LayoutTests/fast/css/getPropertyValue-columns.html:28: description("<a href=\"https://bugs.webkit.org/show_bug.cgi?id=111011\">Bug 111011: getPropertyValue for -webkit-columns returns null, should ...
5 years, 5 months ago (2015-06-30 08:03:17 UTC) #5
Timothy Loh
mini nit: first line of description doesn't match patch title lgtm https://codereview.chromium.org/1219643002/diff/90001/Source/core/css/StylePropertySerializer.cpp File Source/core/css/StylePropertySerializer.cpp (right): ...
5 years, 5 months ago (2015-06-30 08:11:42 UTC) #6
meade_UTC10
https://codereview.chromium.org/1219643002/diff/90001/Source/core/css/StylePropertySerializer.cpp File Source/core/css/StylePropertySerializer.cpp (right): https://codereview.chromium.org/1219643002/diff/90001/Source/core/css/StylePropertySerializer.cpp#newcode487 Source/core/css/StylePropertySerializer.cpp:487: if (m_propertySet.propertyAt(foundPropertyIndex).value()->isPrimitiveValue() On 2015/06/30 at 08:11:42, Timothy Loh wrote: ...
5 years, 5 months ago (2015-06-30 08:26:47 UTC) #7
davve
fwiw, non-owner lgtm from me.
5 years, 5 months ago (2015-06-30 09:04:27 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1219643002/170001
5 years, 5 months ago (2015-07-01 03:10:18 UTC) #11
commit-bot: I haz the power
5 years, 5 months ago (2015-07-01 04:01:07 UTC) #12
Message was sent while issue was closed.
Committed patchset #10 (id:170001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=198111

Powered by Google App Engine
This is Rietveld 408576698