Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1062)

Unified Diff: Source/core/html/TextMetrics.idl

Issue 1178223004: Sync some HTML interfaces with the spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/RadioNodeList.idl ('k') | Source/core/html/TimeRanges.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/TextMetrics.idl
diff --git a/Source/core/html/TextMetrics.idl b/Source/core/html/TextMetrics.idl
index c7d929a8ffc4be0fab991ad8ea7855d688d794e6..b9bdf0644abb169a1cbfe81814e0e16588cf6a00 100644
--- a/Source/core/html/TextMetrics.idl
+++ b/Source/core/html/TextMetrics.idl
@@ -22,11 +22,16 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
+// https://html.spec.whatwg.org/#textmetrics
+
+// TODO(philipj): All float types in this interface should be double.
[
+ // TODO(philipj): Exposed=(Window,Worker)
WillBeGarbageCollected,
] interface TextMetrics {
// x-direction
- readonly attribute float width;
+ readonly attribute float width; // advance width
[RuntimeEnabled=ExperimentalCanvasFeatures] readonly attribute float actualBoundingBoxLeft;
[RuntimeEnabled=ExperimentalCanvasFeatures] readonly attribute float actualBoundingBoxRight;
« no previous file with comments | « Source/core/html/RadioNodeList.idl ('k') | Source/core/html/TimeRanges.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698