blob: 1dd9716d8c4a63f94c8bf5de7fb6f477e798d7a6 [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 Test for bug 38050
import "dart:html";
import "../../testcommon.dart";
import "../../../Utils/async_utils.dart";
import "pwd.dart";
main() {
<p>The two buttons below should say PASS:</p>
<div id='collapseDiv' style='visibility: collapse;'>
<input type='button' value='PASS' id='collapseButton' />
<input type='button' value='PASS' id='visibilityButton' />
<div id='console'></div>
''', treeSanitizer: new NullTreeSanitizer());
document.body.offsetTop; // Force layout.
// The two buttons should have the same width.