Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upTemporary implementation of Canvas.MeasureText #24261
Conversation
highfive
commented
Sep 21, 2019
|
Heads up! This PR modifies the following files:
|
highfive
commented
Sep 21, 2019
|
@bors-servo try |
[WIP] 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 -->
|
|
|
The failure is very explicit :) Gonna disable TextMetrics, not just |
|
@jdm would you be ok with something like this? |
|
Yes, bit let's hook it up to the existing pref that controls the fake fillText implementation. |
|
@bors-servo try |
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 -->
|
The PR taskcluster check reports:
|
|
@jdm r? |
| @@ -7658,9 +7658,6 @@ | |||
| ] | |||
| ] | |||
| }, | |||
| "stub": { | |||
| "css/blockify_inline_element.html": [] | |||
| }, | |||
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
@bors-servo r+ |
|
|
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 -->
|
|
|
|
@bors-servo try=wpt |
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 -->
|
|
|
@bors-servo 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 -->
|
|
paulrouget commentedSep 21, 2019
•
edited by SimonSapin
@jdm: that will help with the babylonjs demos. Another approach is to implement that in JS and add it to the demos.
This change is