mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Implement CanvasRenderingContext2d.fillText's "unimplemented" message
This commit is contained in:
parent
1c9c0334ba
commit
2af828485f
6 changed files with 35 additions and 3 deletions
|
@ -153,8 +153,9 @@ interface CanvasUserInterface {
|
|||
[NoInterfaceObject]
|
||||
interface CanvasText {
|
||||
// text (see also the CanvasDrawingStyles interface)
|
||||
//void fillText(DOMString text, unrestricted double x, unrestricted double y,
|
||||
// optional unrestricted double maxWidth);
|
||||
[Pref="dom.canvas-text.enabled"]
|
||||
void fillText(DOMString text, unrestricted double x, unrestricted double y,
|
||||
optional unrestricted double maxWidth);
|
||||
//void strokeText(DOMString text, unrestricted double x, unrestricted double y,
|
||||
// optional unrestricted double maxWidth);
|
||||
//TextMetrics measureText(DOMString text);
|
||||
|
@ -264,4 +265,3 @@ interface CanvasPath {
|
|||
// double rotation, double startAngle, double endAngle,
|
||||
// boolean anticlockwise);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue