Bug 73426 - [v8] Expose the "filter" property in V8CSSStyleDeclaration
Summary: [v8] Expose the "filter" property in V8CSSStyleDeclaration
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Alexander Pavlov (apavlov)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-30 03:55 PST by Alexander Pavlov (apavlov)
Modified: 2011-12-15 03:22 PST (History)
7 users (show)

See Also:


Attachments
Patch (2.25 KB, patch)
2011-12-01 00:21 PST, Alexander Pavlov (apavlov)
no flags Details | Formatted Diff | Diff
[PATCH] A test to make sure the "filter" property is enumerated (9.96 KB, patch)
2011-12-12 08:29 PST, Alexander Pavlov (apavlov)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Pavlov (apavlov) 2011-11-30 03:55:54 PST
Previously, this property was hidden to comply with WebKit (JSC), but now JSC does not hide this property, which is necessary for CSS filters.
Comment 1 Alexander Pavlov (apavlov) 2011-12-01 00:21:06 PST
Created attachment 117362 [details]
Patch
Comment 2 Adam Barth 2011-12-01 11:31:55 PST
Comment on attachment 117362 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=117362&action=review

> Source/WebCore/ChangeLog:9
> +        The "filter" CSS property used to be masked to be compliant with JSC, but JSC has supported
> +        this property for quite a while.

Is there a test?
Comment 3 Alexander Pavlov (apavlov) 2011-12-02 05:06:47 PST
(In reply to comment #2)
> (From update of attachment 117362 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=117362&action=review
> 
> > Source/WebCore/ChangeLog:9
> > +        The "filter" CSS property used to be masked to be compliant with JSC, but JSC has supported
> > +        this property for quite a while.
> 
> Is there a test?

This fix goes in parallel with bug 23946 fix (as suggested by Darin Adler), and until that bug is fixed, we can only inspect the value of the property directly (currently it is not enumerable,) as opposed to using the "in" operator, which can be done in a test modified to accompany the bug 23946 fix. Which approach seems preferred to you?
Comment 4 Alexander Pavlov (apavlov) 2011-12-12 08:29:32 PST
Created attachment 118791 [details]
[PATCH] A test to make sure the "filter" property is enumerated
Comment 5 Alexander Pavlov (apavlov) 2011-12-14 09:24:25 PST
The latest patch now has a test. Reviewers?
Comment 6 WebKit Review Bot 2011-12-15 03:22:06 PST
Comment on attachment 118791 [details]
[PATCH] A test to make sure the "filter" property is enumerated

Clearing flags on attachment: 118791

Committed r102913: <http://trac.webkit.org/changeset/102913>
Comment 7 WebKit Review Bot 2011-12-15 03:22:12 PST
All reviewed patches have been landed.  Closing bug.