Bug 161102 - CSS.supports.length is 2 instead of 1
Summary: CSS.supports.length is 2 instead of 1
Status: RESOLVED DUPLICATE of bug 160303
Alias: None
Product: WebKit
Classification: Unclassified
Component: Bindings (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-23 13:37 PDT by Joseph Pecoraro
Modified: 2016-08-23 15:04 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Pecoraro 2016-08-23 13:37:30 PDT
CSS.supports.length is 2 instead of 1.

There are two methods in the IDL:
Source/WebCore/css/DOMCSSNamespace.idl

interface DOMCSSNamespace {
    static boolean supports(DOMString property, DOMString value);
    static boolean supports(DOMString conditionText);
};

The final length should probably be the shortest length of all same-name functions.
Comment 1 Chris Dumez 2016-08-23 14:43:26 PDT
> The final length should probably be the shortest length of all same-name functions.

I already fixed that in https://bugs.webkit.org/show_bug.cgi?id=160303 AFAIK?
Comment 2 Chris Dumez 2016-08-23 14:45:01 PDT
CSS.supports.length is 1 in WebKit ToT...
Comment 3 Chris Dumez 2016-08-23 14:45:10 PDT

*** This bug has been marked as a duplicate of bug 160303 ***
Comment 4 Joseph Pecoraro 2016-08-23 15:04:29 PDT
(In reply to comment #2)
> CSS.supports.length is 1 in WebKit ToT...

Yep. I was using an older build. Thanks!