blob: 6e0bcd1d95563eb107ce3b7b83e25f8b4a6e6e50 [file] [log] [blame]
* Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
* for details. All rights reserved. Use of this source code is governed by a
* BSD-style license that can be found in the LICENSE file.
* @description The body should have 0 for both offsetLeft and offsetTop.
import "dart:html";
import "../../../Utils/expect.dart";
import "../../testcommon.dart";
main() {
var body = document.body; = 'relative'; = '200px'; = '0 auto';
Expect.equals(0, body.offsetLeft);
Expect.equals(0, body.offsetTop);