WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 76103
Implement font-variant-ligatures: {no-}common-ligatures
https://bugs.webkit.org/show_bug.cgi?id=76103
Summary
Implement font-variant-ligatures: {no-}common-ligatures
mitz
Reported
2012-01-11 14:31:30 PST
<
rdar://problem/10679035
> The “font-variant-ligatures” property is currently defined in <
http://dev.w3.org/cvsweb/~checkout~/csswg/css3-fonts/Fonts.html?rev=1.68;content-type=text%2Fhtml#font-variant-ligatures-prop
> to include the value keywords “normal’, “common-ligatures” and “no-common-ligatures” among others. “normal” maps to the current behavior, which lets the “text-rendering” property control ligatures, “common-ligatures” should enable basic ligatures, and “no-common-ligatures” should disable basic ligatures.
Attachments
Parse font-variant-ligatures and respect the common-ligatures value keywords
(37.61 KB, patch)
2012-01-11 15:03 PST
,
mitz
sam
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
mitz
Comment 1
2012-01-11 15:03:54 PST
Created
attachment 122101
[details]
Parse font-variant-ligatures and respect the common-ligatures value keywords
Sam Weinig
Comment 2
2012-01-11 17:20:45 PST
Comment on
attachment 122101
[details]
Parse font-variant-ligatures and respect the common-ligatures value keywords View in context:
https://bugs.webkit.org/attachment.cgi?id=122101&action=review
> Source/WebCore/css/CSSStyleApplyProperty.cpp:759 > + if (value->isPrimitiveValue()) > + ASSERT(static_cast<CSSPrimitiveValue*>(value)->getIdent() == CSSValueNormal);
This seems like it should go in the else block within an !ASSERTIONS_DISABLED.
> Source/WebCore/platform/graphics/FontDescription.h:196 > + unsigned m_commonLigaturesState : 3; > + unsigned m_discretionaryLigaturesState : 3; > + unsigned m_historicalLigaturesState : 3;
Do you really need three bits here?
mitz
Comment 3
2012-01-11 20:10:57 PST
Committed <
http://trac.webkit.org/r104786
>.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug