Chromium Code Reviews| Index: tools/dom/templates/html/impl/impl_Window.darttemplate |
| diff --git a/tools/dom/templates/html/impl/impl_Window.darttemplate b/tools/dom/templates/html/impl/impl_Window.darttemplate |
| index cf2dd3a5d4ba1978336ce7694f873372059e60c5..06f6c4b576bf02a15e84cde130b26aab9190b9ee 100644 |
| --- a/tools/dom/templates/html/impl/impl_Window.darttemplate |
| +++ b/tools/dom/templates/html/impl/impl_Window.darttemplate |
| @@ -281,6 +281,11 @@ $!MEMBERS |
| void moveTo(Point p) { |
| $dom_moveTo(p.x, p.y); |
| } |
| + |
| + int get scrollX() => Device.isIE ? document.documentElement.scrollLeft : |
|
blois
2013/07/25 21:30:03
Can this use ('scrollX' in window) ? rather than i
|
| + $dom_scrollX; |
| + int get scrollY() => Device.isIE ? document.documentElement.scrollTop : |
| + $dom_scrollY; |
| } |
| /** |