Bug 73985 - [CSSRegion]Expose DOM interface for WebKitCSSRegionRule
Summary: [CSSRegion]Expose DOM interface for WebKitCSSRegionRule
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Mihnea Ovidenie
URL:
Keywords: InRadar
Depends on:
Blocks: 57312
  Show dependency treegraph
 
Reported: 2011-12-06 23:53 PST by Mihnea Ovidenie
Modified: 2012-01-20 07:33 PST (History)
11 users (show)

See Also:


Attachments
Patch (53.52 KB, patch)
2011-12-07 02:18 PST, Mihnea Ovidenie
webkit.review.bot: commit-queue-
Details | Formatted Diff | Diff
Patch 2 (46.00 KB, patch)
2012-01-20 01:32 PST, Mihnea Ovidenie
no flags Details | Formatted Diff | Diff
Patch for landing (48.83 KB, patch)
2012-01-20 06:51 PST, Mihnea Ovidenie
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mihnea Ovidenie 2011-12-06 23:53:16 PST
Add the DOM interface and expose cssRules attribute for start.
Comment 1 Mihnea Ovidenie 2011-12-07 02:18:42 PST
Created attachment 118191 [details]
Patch
Comment 2 WebKit Review Bot 2011-12-07 02:33:04 PST
Comment on attachment 118191 [details]
Patch

Attachment 118191 [details] did not pass chromium-ews (chromium-xvfb):
Output: http://queues.webkit.org/results/10754086
Comment 3 Tony Chang 2011-12-07 14:29:26 PST
Turns out this is due to bug 74027.  In the mean time, you can implement the missing function. See Source/WebCore/bindings/v8/custom/V8DOMSettableTokenListCustom.cpp for an example of this.
Comment 4 Radar WebKit Bug Importer 2011-12-08 15:39:33 PST
<rdar://problem/10552260>
Comment 5 Mihnea Ovidenie 2011-12-09 01:03:34 PST
Link to the reported bug in W3C bugzilla: https://www.w3.org/Bugs/Public/show_bug.cgi?id=15116
Comment 6 Mihnea Ovidenie 2012-01-20 01:32:33 PST
Created attachment 123270 [details]
Patch 2
Comment 7 Antti Koivisto 2012-01-20 04:39:14 PST
Comment on attachment 123270 [details]
Patch 2

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

r=me

> Source/WebCore/css/WebKitCSSRegionRule.h:60
> +    unsigned length() const { return m_ruleList->length(); }
> +    CSSRule* item(unsigned index) { return m_ruleList->item(index); }
> +    const CSSRule* item(unsigned index) const { return m_ruleList->item(index); }

These are not used and so should not be in this patch.
Comment 8 Mihnea Ovidenie 2012-01-20 06:51:14 PST
Created attachment 123307 [details]
Patch for landing
Comment 9 WebKit Review Bot 2012-01-20 07:33:38 PST
Comment on attachment 123307 [details]
Patch for landing

Clearing flags on attachment: 123307

Committed r105514: <http://trac.webkit.org/changeset/105514>
Comment 10 WebKit Review Bot 2012-01-20 07:33:44 PST
All reviewed patches have been landed.  Closing bug.