Chromium Code Reviews| Index: Source/core/html/TextMetrics.idl |
| diff --git a/Source/core/html/TextMetrics.idl b/Source/core/html/TextMetrics.idl |
| index fc37998bda6bd4ebfeada371b95b000fad153246..af650d8e97d17c45eb889b88d0a075e2cf136d99 100644 |
| --- a/Source/core/html/TextMetrics.idl |
| +++ b/Source/core/html/TextMetrics.idl |
| @@ -24,6 +24,20 @@ |
| */ |
| [ |
| ] interface TextMetrics { |
| + // x-direction |
| readonly attribute float width; |
| + readonly attribute float actualBoundingBoxLeft; |
|
eseidel
2014/02/18 18:33:12
To make this runtime enabled, each of these just g
|
| + readonly attribute float actualBoundingBoxRight; |
| + |
| + // y-direction |
| + readonly attribute float fontBoundingBoxAscent; |
| + readonly attribute float fontBoundingBoxDescent; |
| + readonly attribute float actualBoundingBoxAscent; |
| + readonly attribute float actualBoundingBoxDescent; |
| + readonly attribute float emHeightAscent; |
| + readonly attribute float emHeightDescent; |
| + readonly attribute float hangingBaseline; |
| + readonly attribute float alphabeticBaseline; |
| + readonly attribute float ideographicBaseline; |
| }; |