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

Issue 77413003: Make -webkit-font-variant-ligatures actually work. (Closed)

Created:
7 years, 1 month ago by efidler1
Modified:
6 years, 10 months ago
Reviewers:
behdad_google, eae, eseidel
CC:
blink-reviews, jamesr, krit, dsinclair, danakj, Rik, Stephen Chennney, pdr., rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Make -webkit-font-variant-ligatures actually work. Right now, the complex text path always ligates, even with -webkit-font-variant-ligatures:no-common-ligatures. Also, discretionary and historical ligatures don't work. This is technically tested by fast/text/font-variant-ligatures.html, but the default font often doesn't have the GSUB ligature features. I've changed the test to prefer some fonts that are widely available and actually have GSUB liga for "fi". BUG=22240, 114235 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=166751

Patch Set 1 #

Patch Set 2 : rebase, and ensure ligation happens in test #

Patch Set 3 : skip the test on Windows #

Patch Set 4 : use new ligature-enabled font for layout tests #

Patch Set 5 : update TestExpectations for failing test on CoreText Mac #

Patch Set 6 : reftests need ImageOnlyFailure, not Failure #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -3 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/fast/text/font-variant-ligatures.html View 1 2 3 1 chunk +6 lines, -1 line 0 comments Download
M LayoutTests/fast/text/font-variant-ligatures-expected.html View 1 2 3 1 chunk +7 lines, -2 lines 0 comments Download
M Source/platform/fonts/harfbuzz/HarfBuzzShaper.cpp View 1 2 3 4 1 chunk +36 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
eseidel
Looks like a logical extension of https://codereview.chromium.org/74413002/. Behdad is our Harfbuzz expert. This looks fine ...
7 years, 1 month ago (2013-11-21 18:21:39 UTC) #1
eae
This is one of those cases where we probably want a pixel test as well ...
7 years, 1 month ago (2013-11-21 18:28:22 UTC) #2
efidler1
I think the right answer is to add a new font deployed on every platform ...
7 years, 1 month ago (2013-11-21 18:32:05 UTC) #3
behdad_google
lgtm
7 years, 1 month ago (2013-11-21 21:16:02 UTC) #4
efidler1
On 2013/11/21 18:28:22, eae wrote: > This is one of those cases where we probably ...
7 years ago (2013-11-22 19:54:08 UTC) #5
efidler1
The CQ bit was checked by efidler@blackberry.com
6 years, 10 months ago (2014-02-06 13:55:15 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-06 13:55:25 UTC) #7
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
6 years, 10 months ago (2014-02-06 13:55:25 UTC) #8
efidler1
looks like behdad's LGTM isn't enough for this.. can a "full committer" ptal? BTW, the ...
6 years, 10 months ago (2014-02-06 20:28:42 UTC) #9
eseidel
eae is really your man, but lgtm.
6 years, 10 months ago (2014-02-06 22:19:18 UTC) #10
efidler1
The CQ bit was checked by efidler@blackberry.com
6 years, 10 months ago (2014-02-06 22:59:39 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/efidler@blackberry.com/77413003/220001
6 years, 10 months ago (2014-02-06 22:59:48 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-07 01:03:49 UTC) #13
commit-bot: I haz the power
Retried try job too often on mac_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_blink_rel&number=17798
6 years, 10 months ago (2014-02-07 01:03:49 UTC) #14
efidler1
The CQ bit was checked by efidler@blackberry.com
6 years, 10 months ago (2014-02-07 18:38:12 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/efidler@blackberry.com/77413003/220001
6 years, 10 months ago (2014-02-07 18:38:41 UTC) #16
efidler1
The CQ bit was unchecked by efidler@blackberry.com
6 years, 10 months ago (2014-02-07 18:43:34 UTC) #17
efidler1
The CQ bit was checked by efidler@blackberry.com
6 years, 10 months ago (2014-02-07 22:25:26 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/efidler@blackberry.com/77413003/480001
6 years, 10 months ago (2014-02-07 22:25:52 UTC) #19
commit-bot: I haz the power
Change committed as 166751
6 years, 10 months ago (2014-02-08 01:16:58 UTC) #20
eae
6 years, 10 months ago (2014-02-10 00:16:16 UTC) #21
Message was sent while issue was closed.
LGTM post-facto

Powered by Google App Engine
This is Rietveld 408576698