mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 23:23:33 +00:00
Adding some regression tests
This commit is contained in:
parent
000f1cb779
commit
6275859935
36
layout/html/tests/formctls/bugs/bug138403-1.html
Normal file
36
layout/html/tests/formctls/bugs/bug138403-1.html
Normal file
@ -0,0 +1,36 @@
|
||||
<html>
|
||||
<head>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h1>Type = button</h1>
|
||||
|
||||
<p><input type="button" style="text-align: left"
|
||||
value="Left-aligned, auto width"></p>
|
||||
|
||||
<p><input type="button" style="text-align: left;width: 75%"
|
||||
value="Left-aligned, 75% width"></p>
|
||||
|
||||
<p><input type="button" style="text-align: left;display: block"
|
||||
value="Left-aligned, block display, auto width"></p>
|
||||
|
||||
<p><input type="button" style="text-align: left;display: block;width: 75%"
|
||||
value="Left-aligned, block display, 75% width"></p>
|
||||
|
||||
<h1>Type = submit</h1>
|
||||
|
||||
<p><input type="submit" style="text-align: left"
|
||||
value="Left-aligned, auto width"></p>
|
||||
|
||||
<p><input type="submit" style="text-align: left;width: 75%"
|
||||
value="Left-aligned, 75% width"></p>
|
||||
|
||||
<p><input type="submit" style="text-align: left;display: block"
|
||||
value="Left-aligned, block display, auto width"></p>
|
||||
|
||||
<p><input type="submit" style="text-align: left;display: block;width: 75%"
|
||||
value="Left-aligned, block display, 75% width"></p>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
20
layout/html/tests/formctls/bugs/bug138403-2.html
Normal file
20
layout/html/tests/formctls/bugs/bug138403-2.html
Normal file
@ -0,0 +1,20 @@
|
||||
<html><head>
|
||||
<title>Testcase Bug 138403 - text-align:left; for submit Button does not work</title>
|
||||
<style>
|
||||
input, button{width:300px;}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div>text-align:left<br>
|
||||
<input value="text-align:left" style="text-align:left;" type="reset"><br>
|
||||
<input value="text-align:left" style="text-align:left;" type="submit"><br>
|
||||
<input value="text-align:left" style="text-align:left;" type="button"><br>
|
||||
<button style="text-align:left">text-align:left</button>
|
||||
</div>
|
||||
<div>text-align:right<br>
|
||||
<input value="text-align:right" style="text-align:right;" type="reset"><br>
|
||||
<input value="text-align:right" style="text-align:right;" type="submit"><br>
|
||||
<input value="text-align:right" style="text-align:right;" type="button"><br>
|
||||
<button style="text-align:right;">text-align:right</button>
|
||||
</div>
|
||||
</body></html>
|
32
layout/html/tests/formctls/bugs/bug26644.html
Normal file
32
layout/html/tests/formctls/bugs/bug26644.html
Normal file
@ -0,0 +1,32 @@
|
||||
<!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>
|
25
layout/html/tests/formctls/bugs/bug26650.html
Normal file
25
layout/html/tests/formctls/bugs/bug26650.html
Normal file
@ -0,0 +1,25 @@
|
||||
<!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>
|
14
layout/html/tests/formctls/bugs/bug45670.html
Normal file
14
layout/html/tests/formctls/bugs/bug45670.html
Normal file
@ -0,0 +1,14 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Bug 45670</TITLE>
|
||||
</HEAD>
|
||||
<BUTTON type="submit">
|
||||
<TABLE border="20">
|
||||
<TR>
|
||||
<TD> CELL 1
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE></BUTTON>
|
||||
<BODY>
|
||||
</BODY>
|
||||
</HTML>
|
@ -5,10 +5,14 @@ bug109316.html
|
||||
bug109368.html
|
||||
bug113245.html
|
||||
bug117606.html
|
||||
bug138403-1.html
|
||||
bug138403-2.html
|
||||
bug17450.html
|
||||
bug20322.html
|
||||
bug222864.html
|
||||
bug22708.html
|
||||
bug26644.html
|
||||
bug26650.html
|
||||
bug28598.html
|
||||
bug33327.html
|
||||
bug35934.html
|
||||
@ -27,6 +31,7 @@ bug45095.html
|
||||
bug45152.html
|
||||
bug45562.html
|
||||
bug45625.html
|
||||
bug45670.html
|
||||
bug46099.html
|
||||
bug46224.html
|
||||
bug48237.html
|
||||
|
Loading…
x
Reference in New Issue
Block a user