WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
74531
Filter amounts should accept percentages
https://bugs.webkit.org/show_bug.cgi?id=74531
Summary
Filter amounts should accept percentages
Dean Jackson
Reported
2011-12-14 12:50:15 PST
Filter shorthands like grayscale() should accept % values. See the spec for reference.
Attachments
Patch
(19.96 KB, patch)
2011-12-14 17:25 PST
,
Simon Fraser (smfr)
cmarrin
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2011-12-14 12:50:58 PST
<
rdar://problem/10581759
>
Simon Fraser (smfr)
Comment 2
2011-12-14 17:25:03 PST
Created
attachment 119346
[details]
Patch
Simon Fraser (smfr)
Comment 3
2011-12-14 17:30:54 PST
http://trac.webkit.org/changeset/102855
Luke Macpherson
Comment 4
2011-12-14 18:08:48 PST
Comment on
attachment 119346
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=119346&action=review
> Source/WebCore/css/CSSStyleSelector.cpp:5356 > + if (firstValue->primitiveType() == CSSPrimitiveValue::CSS_PERCENTAGE)
You can just use firstValue->isPercentage() here.
Dean Jackson
Comment 5
2011-12-16 13:41:28 PST
(In reply to
comment #4
)
> (From update of
attachment 119346
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=119346&action=review
> > > Source/WebCore/css/CSSStyleSelector.cpp:5356 > > + if (firstValue->primitiveType() == CSSPrimitiveValue::CSS_PERCENTAGE) > > You can just use firstValue->isPercentage() here.
I'll change this in
https://bugs.webkit.org/show_bug.cgi?id=74736
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