| Index: sky/engine/core/css/CSSStyleDeclaration.idl
|
| diff --git a/sky/engine/core/css/CSSStyleDeclaration.idl b/sky/engine/core/css/CSSStyleDeclaration.idl
|
| index 9a804c79400db05601beccbe21ac859bcaf77415..985255e92928f332e98b216fb696c1bdc192781c 100644
|
| --- a/sky/engine/core/css/CSSStyleDeclaration.idl
|
| +++ b/sky/engine/core/css/CSSStyleDeclaration.idl
|
| @@ -1,34 +1,10 @@
|
| -/*
|
| - * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved.
|
| - * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
|
| - *
|
| - * This library is free software; you can redistribute it and/or
|
| - * modify it under the terms of the GNU Library General Public
|
| - * License as published by the Free Software Foundation; either
|
| - * version 2 of the License, or (at your option) any later version.
|
| - *
|
| - * This library is distributed in the hope that it will be useful,
|
| - * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| - * Library General Public License for more details.
|
| - *
|
| - * You should have received a copy of the GNU Library General Public License
|
| - * along with this library; see the file COPYING.LIB. If not, write to
|
| - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
| - * Boston, MA 02110-1301, USA.
|
| - */
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
|
|
| -// Introduced in DOM Level 2:
|
| -[
|
| - DependentLifetime,
|
| -] interface CSSStyleDeclaration {
|
| - [RaisesException=Setter] attribute DOMString? cssText;
|
| +interface CSSStyleDeclaration {
|
| + [ImplementedAs=getPropertyValue] getter DOMString (DOMString name);
|
| + [RaisesException, ImplementedAs=setProperty] setter void (DOMString name, DOMString? value);
|
|
|
| - DOMString? getPropertyValue([Default=Undefined] optional DOMString propertyName);
|
| - [RaisesException] DOMString? removeProperty([Default=Undefined] optional DOMString propertyName);
|
| - [RaisesException] void setProperty(DOMString propertyName, DOMString? value);
|
| -
|
| - readonly attribute unsigned long length;
|
| - getter DOMString item([Default=Undefined] optional unsigned long index);
|
| - [Custom] setter void (DOMString propertyName, DOMString? propertyValue);
|
| + [RaisesException] void removeProperty(DOMString name);
|
| };
|
|
|