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

26 lines
1.0 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_p_align.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. -->
<!-- Expected result: The nested P elements should use the assigned alignment value. -->
<TITLE>HTML Functional -- BUTTON - P - ALIGN</TITLE>
</head>
<body>
<form action="http://wetnap/cgi-bin/echo-form.cgi" method="post">
<button>
<p>A P element contained in a button element</p>
<p align="right">A second P (align=right)</p>
<p align="center">A second P (align=center)</p>
</button>
</form>
</body>
</html>