| Index: core/html/canvas/Path2D.idl
|
| diff --git a/core/css/WebKitCSSFilterRule.idl b/core/html/canvas/Path2D.idl
|
| similarity index 50%
|
| copy from core/css/WebKitCSSFilterRule.idl
|
| copy to core/html/canvas/Path2D.idl
|
| index 09a3176335906a3747d3a10995710e82e0225207..262148560a264a0e6ade8c50217e848de676e0ad 100644
|
| --- a/core/css/WebKitCSSFilterRule.idl
|
| +++ b/core/html/canvas/Path2D.idl
|
| @@ -1,17 +1,16 @@
|
| /*
|
| - * Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved.
|
| + * Copyright (C) 2006 Apple Computer, Inc. All rights reserved.
|
| + * Copyright (C) 2012, 2013 Adobe Systems Incorporated. All rights reserved.
|
| *
|
| * Redistribution and use in source and binary forms, with or without
|
| * modification, are permitted provided that the following conditions
|
| * are met:
|
| *
|
| - * 1. Redistributions of source code must retain the above
|
| - * copyright notice, this list of conditions and the following
|
| - * disclaimer.
|
| - * 2. Redistributions in binary form must reproduce the above
|
| - * copyright notice, this list of conditions and the following
|
| - * disclaimer in the documentation and/or other materials
|
| - * provided with the distribution.
|
| + * 1. Redistributions of source code must retain the above copyright
|
| + * notice, this list of conditions and the following disclaimer.
|
| + * 2. Redistributions in binary form must reproduce the above copyright
|
| + * notice, this list of conditions and the following disclaimer in the
|
| + * documentation and/or other materials provided with the distribution.
|
| *
|
| * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER "AS IS" AND ANY
|
| * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
| @@ -27,10 +26,16 @@
|
| * SUCH DAMAGE.
|
| */
|
|
|
| +// http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#path2d
|
| +
|
| [
|
| - ImplementedAs=CSSFilterRule
|
| -] interface WebKitCSSFilterRule : CSSRule {
|
| - readonly attribute CSSStyleDeclaration style;
|
| + Constructor,
|
| + Constructor(Path2D path),
|
| + Constructor(DOMString text),
|
| + RuntimeEnabled=Path2D,
|
| +] interface Path2D {
|
|
|
| - // FIXME: We should expose the filter name once the CSSOM for the @filter rule is specified.
|
| + [RuntimeEnabled=ExperimentalCanvasFeatures, TypeChecking=Interface|Nullable] void addPath(Path2D path, optional SVGMatrix? transform);
|
| };
|
| +
|
| +Path2D implements CanvasPathMethods;
|
|
|