gecko/layout/html/tests/formctls/bugs/bug26644.html

33 lines
1.3 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/transitional.dtd">
<html>
<head>
<!-- testcase: button_hr_percent.html -->
<!-- description: HTML 4.0 text markup BUTTON element -->
<!-- Author: Chris Petersen Date: 2/04/00 -->
<!-- CONFIDENTIAL AND PROPRIETARY TEST SCRIPT OF NETSCAPE COMMUNICATIONS CORPORATION
Copyright © 1999 Netscape Communications Corporation. All rights reserved. Use of this test script is
subject to the terms of the applicable license agreement from Netscape Communications Corporation. -->
<!-- Purpose: To test the button element with nested HR and P elements. -->
<!-- Expected result: The HR element should be rendered at the 50 % of the button element. -->
<TITLE>HTML Functional -- BUTTON - HR - PERCENT</TITLE>
</head>
<body>
<form action="http://wetnap/cgi-bin/echo-form.cgi" method="post">
<button>
<hr width=50% size="3">
<p>This P element ,which is nested in a button element, is inserted between two HR elements. These <br>
HR elements has been assigned a percentage value (50%) for the Width attribute. <br>
</p>
<hr width=50% size="3">
</button>
</form>
<p>This HR uses the same width percentage but is not nested in a Button element.</p>
<hr width=50% size="3">
</body>
</html>