Bug 161102
| Summary: | CSS.supports.length is 2 instead of 1 | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Joseph Pecoraro <joepeck> |
| Component: | Bindings | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | cdumez, joepeck |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Joseph Pecoraro
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Chris Dumez
> 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?
Chris Dumez
CSS.supports.length is 1 in WebKit ToT...
Chris Dumez
*** This bug has been marked as a duplicate of bug 160303 ***
Joseph Pecoraro
(In reply to comment #2)
> CSS.supports.length is 1 in WebKit ToT...
Yep. I was using an older build. Thanks!