flutter_flutter/engine/core/css/CSSStyleDeclaration.idl
Adam Barth b0ef81ac95 Make element.style["color"] work in Sky
This CL makes CSSStyleDeclaration a bit less painful to use by replacing the
crazy Java-style APIs with overloading operator[] and operator[]=.

R=esprehn@chromium.org, ojan@chromium.org

Review URL: https://codereview.chromium.org/942553002
2015-02-19 13:06:01 -08:00

11 lines
424 B
Plaintext

// 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.
interface CSSStyleDeclaration {
[ImplementedAs=getPropertyValue] getter DOMString (DOMString name);
[RaisesException, ImplementedAs=setProperty] setter void (DOMString name, DOMString? value);
[RaisesException] void removeProperty(DOMString name);
};