Auto merge of #24261 - paulrouget:fakeMeasureTExt, r=jdm

Temporary implementation of Canvas.MeasureText

@jdm: that will help with the babylonjs demos. Another approach is to implement that in JS and add it to the demos.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/24261)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2019-09-25 11:38:36 -04:00 committed by GitHub
commit cf725fc3f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 207 additions and 122 deletions

View file

@ -18960,7 +18960,7 @@
"testharness"
],
"mozilla/interfaces.js": [
"6f2a54524ef317a48d758f7e50f742fd9b3a93e4",
"26db0c23e544d38f02b9573ffaa44bf5dee8370a",
"support"
],
"mozilla/interfaces.worker.js": [

View file

@ -38,6 +38,7 @@ function test_interfaces(interfaceNamesInGlobalScope) {
"String",
"Symbol",
"SyntaxError",
"TextMetrics",
"TypeError",
"URIError",
"Uint16Array",