OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 CustomConstructor, | 6 CustomConstructor, |
7 ] interface Element : ParentNode { | 7 ] interface Element : ParentNode { |
8 readonly attribute DOMString tagName; | 8 readonly attribute DOMString tagName; |
9 | 9 |
10 boolean hasAttribute(DOMString name); | 10 boolean hasAttribute(DOMString name); |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 readonly attribute long clientTop; | 43 readonly attribute long clientTop; |
44 readonly attribute long clientWidth; | 44 readonly attribute long clientWidth; |
45 readonly attribute long clientHeight; | 45 readonly attribute long clientHeight; |
46 | 46 |
47 attribute double x; | 47 attribute double x; |
48 attribute double y; | 48 attribute double y; |
49 attribute double width; | 49 attribute double width; |
50 attribute double height; | 50 attribute double height; |
51 attribute double minContentWidth; // Intrinsic width if all wrappable points w
rap. | 51 attribute double minContentWidth; // Intrinsic width if all wrappable points w
rap. |
52 attribute double maxContentWidth; // Intrinsic width if no wrappable points wr
ap. | 52 attribute double maxContentWidth; // Intrinsic width if no wrappable points wr
ap. |
| 53 readonly attribute double alphabeticBaseline; // Distance from top to alphabet
ic baseline of first line |
| 54 readonly attribute double ideographicBaseline; // Distance from top to ideogra
phic baseline of first line |
53 | 55 |
54 void paint(Canvas canvas); | 56 void paint(Canvas canvas); |
55 }; | 57 }; |
OLD | NEW |