| Index: tools/dom/templates/html/impl/impl_CanvasRenderingContext2D.darttemplate
|
| diff --git a/tools/dom/templates/html/impl/impl_CanvasRenderingContext2D.darttemplate b/tools/dom/templates/html/impl/impl_CanvasRenderingContext2D.darttemplate
|
| index e26e050f8583969af3603393b40a07814b9edb54..1e9ba85ac4d65731890463c795b0fde1e9129f9b 100644
|
| --- a/tools/dom/templates/html/impl/impl_CanvasRenderingContext2D.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_CanvasRenderingContext2D.darttemplate
|
| @@ -42,4 +42,15 @@ $!MEMBERS
|
| void setStrokeColorHsl(int h, num s, num l, [num a = 1]) {
|
| this.strokeStyle = 'hsla($h, $s%, $l%, $a)';
|
| }
|
| +
|
| +$if DART2JS
|
| + @DomName('CanvasRenderingContext2D.lineDashOffset')
|
| + num get lineDashOffset => JS('num',
|
| + '#.lineDashOffset || #.webkitLineDashOffset', this, this);
|
| +
|
| + @DomName('CanvasRenderingContext2D.lineDashOffset')
|
| + void set lineDashOffset(num value) => JS('void',
|
| + 'typeof #.lineDashOffset != "undefined" ? #.lineDashOffset = # : '
|
| + '#.webkitLineDashOffset = #', this, this, value, this, value);
|
| +$endif
|
| }
|
|
|