Filter shorthands like grayscale() should accept % values. See the spec for reference.
<rdar://problem/10581759>
Created attachment 119346 [details] Patch
http://trac.webkit.org/changeset/102855
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.
(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