OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 // https://html.spec.whatwg.org/#images |
| 6 |
5 [ | 7 [ |
| 8 // TODO(philipj): Exposed=(Window,Worker) |
6 WillBeGarbageCollected, | 9 WillBeGarbageCollected, |
7 ] interface ImageBitmap { | 10 ] interface ImageBitmap { |
| 11 // TODO(philipj): width/height should be unsigned long. |
8 readonly attribute long width; | 12 readonly attribute long width; |
9 readonly attribute long height; | 13 readonly attribute long height; |
10 }; | 14 }; |
OLD | NEW |