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

Issue 1519643002: Serialize font shorthand as empty string if any longhand is not specified (Closed)

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

Description

Serialize font shorthand as empty string if any longhand is not specified (if the font shorthand is set all the longhands will be set). Currently we only require font-size and font-family to be set for the font shorthand to be serialized as non-empty (font-size, font-family, and all the remaining longhands that are not 'normal'). Firefox serializes font as empty string unless all font longhands are set in the stylesheet (including non standard font longhands), but this behavior is inconsistent. BUG=398239 Committed: https://crrev.com/44c56e14d83953ef593d0692fc22a150249f4630 Cr-Commit-Position: refs/heads/master@{#365166}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -56 lines) Patch
M third_party/WebKit/LayoutTests/cssom/cssvalue-comparison.html View 2 chunks +7 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/cssom/cssvalue-comparison-expected.txt View 2 chunks +21 lines, -6 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/css/font-shorthand-from-longhands.html View 3 chunks +11 lines, -26 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/css/font-shorthand-from-longhands-expected.txt View 1 chunk +7 lines, -18 lines 0 comments Download
M third_party/WebKit/Source/core/css/StylePropertySerializer.cpp View 2 chunks +5 lines, -4 lines 0 comments Download

Messages

Total messages: 19 (9 generated)
Bugs Nash
5 years ago (2015-12-10 21:41:16 UTC) #3
Timothy Loh
On 2015/12/10 21:41:16, Bugs Nash wrote: ok lgtm, but: - First line of patch description ...
5 years ago (2015-12-11 01:12:44 UTC) #4
Bugs Nash
On 2015/12/11 at 01:12:44, timloh wrote: > On 2015/12/10 21:41:16, Bugs Nash wrote: > > ...
5 years ago (2015-12-11 02:55:21 UTC) #7
Timothy Loh
On 2015/12/11 02:55:21, Bugs Nash wrote: > On 2015/12/11 at 01:12:44, timloh wrote: > > ...
5 years ago (2015-12-14 02:15:05 UTC) #8
Bugs Nash
On 2015/12/14 at 02:15:05, timloh wrote: > On 2015/12/11 02:55:21, Bugs Nash wrote: > > ...
5 years ago (2015-12-14 03:54:51 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1519643002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1519643002/1
5 years ago (2015-12-14 23:08:53 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) chromeos_amd64-generic_chromium_compile_only_ng on ...
5 years ago (2015-12-15 01:16:07 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1519643002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1519643002/1
5 years ago (2015-12-15 03:46:56 UTC) #16
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years ago (2015-12-15 05:37:11 UTC) #17
commit-bot: I haz the power
5 years ago (2015-12-15 05:38:11 UTC) #19
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/44c56e14d83953ef593d0692fc22a150249f4630
Cr-Commit-Position: refs/heads/master@{#365166}

Powered by Google App Engine
This is Rietveld 408576698