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

Issue 1823073003: Null check font family name in createFontFamilyValue (Closed)

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

Description

Null check font family name in createFontFamilyValue Font family names can be null by simply providing an empty <string>. In this case avoid the caching and return an empty CSSFontFamilyValue. Added computed-style-empty-font-family.html to test the behavior. Behavior matches Firefox. BUG=596015 Committed: https://crrev.com/53e4c917c7ad7892bd763c2b1e66c53c5df50a57 Cr-Commit-Position: refs/heads/master@{#382745}

Patch Set 1 #

Patch Set 2 : Add test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -4 lines) Patch
A + third_party/WebKit/LayoutTests/fast/css/getComputedStyle/computed-style-empty-font-family.html View 1 1 chunk +2 lines, -2 lines 0 comments Download
A + third_party/WebKit/LayoutTests/fast/css/getComputedStyle/computed-style-empty-font-family-expected.txt View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSValuePool.cpp View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (12 generated)
rwlbuis
PTAL.
4 years, 9 months ago (2016-03-22 18:36:00 UTC) #10
Timothy Loh
On 2016/03/22 18:36:00, rwlbuis wrote: > PTAL. ...oh, I guess that makes sense. lgtm
4 years, 9 months ago (2016-03-22 23:21: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/1823073003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1823073003/20001
4 years, 9 months ago (2016-03-22 23:27:01 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-03-23 00:35:19 UTC) #15
commit-bot: I haz the power
4 years, 9 months ago (2016-03-23 00:36:59 UTC) #17
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/53e4c917c7ad7892bd763c2b1e66c53c5df50a57
Cr-Commit-Position: refs/heads/master@{#382745}

Powered by Google App Engine
This is Rietveld 408576698