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 144180
Implement parsing support for font-synthesis CSS property
https://bugs.webkit.org/show_bug.cgi?id=144180
Summary
Implement parsing support for font-synthesis CSS property
Myles C. Maxfield
Reported
2015-04-24 19:14:58 PDT
Implement parsing support for font-synthesis CSS property
Attachments
Patch
(20.59 KB, patch)
2015-04-24 19:16 PDT
,
Myles C. Maxfield
thorton
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Myles C. Maxfield
Comment 1
2015-04-24 19:16:12 PDT
Created
attachment 251603
[details]
Patch
Myles C. Maxfield
Comment 2
2015-04-24 19:16:37 PDT
<
rdar://problem/20692791
>
Myles C. Maxfield
Comment 3
2015-04-24 19:18:02 PDT
Comment on
attachment 251603
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=251603&action=review
> LayoutTests/fast/css3-text/font-synthesis-parse.html:93 > + stylesheet.insertRule("#p { font-synthesis: weight style }", 0);
Add a test for duplicate valid values
Tim Horton
Comment 4
2015-04-24 19:27:51 PDT
Comment on
attachment 251603
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=251603&action=review
> Source/WebCore/ChangeLog:4 > +
https://bugs.webkit.org/show_bug.cgi?id=144180
please put the radar here
> Source/WebCore/ChangeLog:15 > + * css/CSSComputedStyleDeclaration.cpp:
more comments!
> Source/WebCore/css/StyleBuilderCustom.h:1386 > + bool encounteredStyle = false;
Flags would make this look less silly too
> Source/WebCore/rendering/style/RenderStyleConstants.h:423 > + FontSynthesisWeight = 0x1, > + FontSynthesisStyle = 0x2, > + FontSynthesisWeightAndStyle = 0x3
This looks ripe for bitflagging, no? Like TextDecoration, below.
Myles C. Maxfield
Comment 5
2015-04-24 20:30:33 PDT
Committed
r183304
: <
http://trac.webkit.org/changeset/183304
>
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