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

Issue 1116593003: Move font-family check to CSSPropertyParser (Closed)

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

Description

Move font-family check to CSSPropertyParser Move font-family check to CSSPropertyParser since when parsing @font-face any font-family with more than one family-name is invalid. So in that case drop that font-family declaration but allow any valid declarations in the font-face rule. Add a test for this new behavior. Behavior matches Firefox. BUG=404023 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=194811

Patch Set 1 #

Patch Set 2 : move check into CSSPropertyParser and add test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -12 lines) Patch
A LayoutTests/fast/css/fontface-single-font-family.html View 1 1 chunk +36 lines, -0 lines 0 comments Download
A LayoutTests/fast/css/fontface-single-font-family-expected.txt View 1 1 chunk +13 lines, -0 lines 0 comments Download
M Source/core/css/parser/CSSParserImpl.cpp View 1 1 chunk +0 lines, -10 lines 0 comments Download
M Source/core/css/parser/CSSPropertyParser.cpp View 1 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 13 (2 generated)
rwlbuis
PTAL, this goes together with: https://codereview.chromium.org/1103273010/ PS: I think the old bison parser has some ...
5 years, 7 months ago (2015-04-29 22:32:40 UTC) #2
Timothy Loh
I don't get this, why don't we just move the check to parseFontFaceProperty?
5 years, 7 months ago (2015-04-30 00:37:36 UTC) #3
rwlbuis
On 2015/04/30 00:37:36, Timothy Loh wrote: > I don't get this, why don't we just ...
5 years, 7 months ago (2015-04-30 00:47:17 UTC) #4
rwlbuis
On 2015/04/30 00:47:17, rwlbuis wrote: > On 2015/04/30 00:37:36, Timothy Loh wrote: > > I ...
5 years, 7 months ago (2015-04-30 00:50:36 UTC) #5
Timothy Loh
On 2015/04/30 00:47:17, rwlbuis wrote: > On 2015/04/30 00:37:36, Timothy Loh wrote: > > I ...
5 years, 7 months ago (2015-04-30 00:53:42 UTC) #6
rwlbuis
On 2015/04/30 00:53:42, Timothy Loh wrote: > On 2015/04/30 00:47:17, rwlbuis wrote: > > On ...
5 years, 7 months ago (2015-04-30 01:09:30 UTC) #7
rwlbuis
On 2015/04/29 22:32:40, rwlbuis wrote: > PTAL, this goes together with: > https://codereview.chromium.org/1103273010/ > > ...
5 years, 7 months ago (2015-04-30 21:59:24 UTC) #8
rwlbuis
PTAL. Note that the behavior for the old parser is unchanged, so the test will ...
5 years, 7 months ago (2015-04-30 22:06:17 UTC) #9
Timothy Loh
On 2015/04/30 22:06:17, rwlbuis wrote: > PTAL. Note that the behavior for the old parser ...
5 years, 7 months ago (2015-05-01 03:48:31 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1116593003/20001
5 years, 7 months ago (2015-05-01 14:16:28 UTC) #12
commit-bot: I haz the power
5 years, 7 months ago (2015-05-01 16:28:26 UTC) #13
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=194811

Powered by Google App Engine
This is Rietveld 408576698