Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 [ | 5 [ |
| 6 RuntimeEnabled=CSSTypedOM, | 6 RuntimeEnabled=CSSTypedOM, |
| 7 GarbageCollected | 7 GarbageCollected |
| 8 ] interface StylePropertyMap { | 8 ] interface StylePropertyMap { |
| 9 [RaisesException] void append(DOMString property, (StyleValue or sequence<St yleValue> or DOMString) value); | 9 [RaisesException] void append(DOMString property, (StyleValue or sequence<St yleValue> or DOMString)? value); |
|
Timothy Loh
2016/04/07 03:42:53
Is this changing these to be optional (allow null)
meade_UTC10
2016/04/07 05:41:30
Ah, I think I was trying something out. Fixed.
| |
| 10 [RaisesException, ImplementedAs=remove] void delete(DOMString property); | 10 [RaisesException, ImplementedAs=remove] void delete(DOMString property); |
| 11 StyleValue? get(DOMString property); | 11 [RaisesException] StyleValue? get(DOMString property); |
| 12 sequence<StyleValue> getAll(DOMString property); | 12 [RaisesException] sequence<StyleValue> getAll(DOMString property); |
| 13 boolean has(DOMString property); | 13 [RaisesException] boolean has(DOMString property); |
| 14 [RaisesException] void set(DOMString property, (StyleValue or sequence<Style Value> or DOMString) value); | 14 [RaisesException] void set(DOMString property, (StyleValue or sequence<Style Value> or DOMString)? value); |
| 15 iterable<DOMString, (StyleValue or sequence<StyleValue>)>; | 15 iterable<DOMString, (StyleValue or sequence<StyleValue>)>; |
| 16 sequence<DOMString> getProperties(); | 16 sequence<DOMString> getProperties(); |
| 17 }; | 17 }; |
| OLD | NEW |