Bug 799105: Adjusts the width and height to < 600px. r=smontagu.

This commit is contained in:
Shriram Kunchanapalli 2012-10-23 19:10:19 +05:30
parent 7996cd1e31
commit cb246a1698
31 changed files with 42 additions and 22 deletions

View File

@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>Bug 726392</title>
<style type="text/css">
p { margin: 0; white-space: pre-line; letter-spacing: 10px}
p { margin: 0; white-space: pre-line; letter-spacing: 10px; font-size:6px;}
.alignLeft { text-align: left; }
.alignRight { text-align: right; }
.alignCenter { text-align: center; }
@ -20,7 +20,7 @@
.alignLastEnd { -moz-text-align-last: end; }
</style>
</head>
<body>
<body style="width:590px; height:590px;">
<div>
<p class="alignLeft alignLastAuto">test
test</p>

View File

@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>Bug 726392</title>
<style type="text/css">
p { margin: 0; white-space: pre-line; letter-spacing: 10px}
p { margin: 0; white-space: pre-line; letter-spacing: 10px; font-size:6px;}
.alignLeft { text-align: left; }
.alignRight { text-align: right; }
.alignCenter { text-align: center; }
@ -20,7 +20,7 @@
.alignLastEnd { -moz-text-align-last: end; }
</style>
</head>
<body>
<body style="width:590px; height:590px;">
<div id="e" style="width:50%">
<p class="alignLeft alignLastAuto">test
test</p>

View File

@ -4,7 +4,7 @@
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body>
<div style="width:1em; -moz-hyphens:manual;" lang="sh">
<div style="width:1em; -moz-hyphens:manual; font-size:5px" lang="sh">
Сва људ&shy;ска би&shy;ћа ра&shy;ђа&shy;ју се сло&shy;бод&shy;на и јед&shy;на&shy;ка у до&shy;сто&shy;јан&shy;ству и пра&shy;ви&shy;ма.
<p>
Sva ljud&shy;ska bi&shy;ća ra&shy;đa&shy;ju se slo&shy;bod&shy;na i jed&shy;na&shy;ka u do&shy;sto&shy;jan&shy;stvu i pra&shy;vi&shy;ma.

View File

@ -4,7 +4,7 @@
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body>
<div style="width:1em; -moz-hyphens:auto;" lang="sh">
<div style="width:1em; -moz-hyphens:auto; font-size:5px" lang="sh">
Сва људска бића рађају се слободна и једнака у достојанству и правима.
<p>
Sva ljudska bića rađaju se slobodna i jednaka u dostojanstvu i pravima.

View File

@ -4,7 +4,7 @@
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body>
<div style="width:1em; -moz-hyphens:manual;" lang="sr">
<div style="width:1em; -moz-hyphens:manual; font-size:5px" lang="sr">
Сва људ&shy;ска би&shy;ћа ра&shy;ђа&shy;ју се сло&shy;бод&shy;на и јед&shy;на&shy;ка у до&shy;сто&shy;јан&shy;ству и пра&shy;ви&shy;ма.
<p>
Sva ljud&shy;ska bi&shy;ća ra&shy;đa&shy;ju se slo&shy;bod&shy;na i jed&shy;na&shy;ka u do&shy;sto&shy;jan&shy;stvu i pra&shy;vi&shy;ma.

View File

@ -4,7 +4,7 @@
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body>
<div style="width:1em; -moz-hyphens:auto;" lang="sr">
<div style="width:1em; -moz-hyphens:auto; font-size:5px" lang="sr">
Сва људска бића рађају се слободна и једнака у достојанству и правима.
<p>
Sva ljudska bića rađaju se slobodna i jednaka u dostojanstvu i pravima.

View File

@ -9,14 +9,14 @@ span { background:yellow; }
</head>
<body>
<div class="outer">My name is<br><br><br>Fred.</div>
<div class="outer"><span>My name is<br><br><br>Fred.</span></div>
<div class="outer">My name is<br><br>Fred.</div>
<div class="outer"><span>My name is<br><br>Fred.</span></div>
<div class="outer"><div class="float">My name is<br><br><br>Fred.</div></div>
<div class="outer"><div class="float"><span class="preline">My name is<br><br><br>Fred.</span></div></div>
<div class="outer"><div class="float">My name is<br><br>Fred.</div></div>
<div class="outer"><div class="float"><span class="preline">My name is<br><br>Fred.</span></div></div>
<div class="outer"><div style="width:0;"><div class="float">My name is<br><br><br>Fred.</div></div></div>
<div class="outer"><div style="width:0;"><div class="float"><span>My name is<br><br><br>Fred.</span></div></div></div>
<div class="outer"><div style="width:0;"><div class="float">My name is<br><br>Fred.</div></div></div>
<div class="outer"><div style="width:0;"><div class="float"><span>My name is<br><br>Fred.</span></div></div></div>
</body>
</html>

View File

@ -16,11 +16,9 @@ span { background:yellow; }
blank line. -->
<div class="outer"><div class="preline">My name is
Fred.</div></div>
<div class="outer"><span class="preline">My name is
Fred.</span></div>
@ -29,11 +27,9 @@ span { background:yellow; }
<div class="outer"><div class="preline float">My name is
Fred.</div></div>
<div class="outer"><div class="float"><span class="preline">My name is
Fred.</span></div></div>
@ -42,11 +38,9 @@ span { background:yellow; }
<div class="outer"><div style="width:0;"><div class="preline float">My name is
Fred.</div></div></div>
<div class="outer"><div style="width:0;"><div class="float"><span class="preline">My name is
Fred.</span></div></div></div>

View File

@ -7,6 +7,7 @@
p {
text-align: center;
-moz-text-align-last: center;
margin-right:310px;
}
</style>
</head>

View File

@ -6,6 +6,7 @@
<style type="text/css">
p {
text-align: center;
margin-right:310px;
}
</style>
</head>

View File

@ -7,6 +7,7 @@
p {
text-align: center;
-moz-text-align-last: end;
margin-right:310px;
}
</style>
</head>

View File

@ -7,6 +7,7 @@
p {
text-align: center;
-moz-text-align-last: justify;
margin-right:310px;
}
</style>
</head>

View File

@ -7,6 +7,7 @@
p {
text-align: center;
-moz-text-align-last: start;
margin-right:310px;
}
</style>
</head>

View File

@ -3,6 +3,12 @@
<head>
<title>text-align-last</title>
<meta charset="utf-8">
<style type="text/css">
p {
text-align: start;
margin-right:310px;
}
</style>
</head>
<body>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis odio est, cursus non adipiscing at, fringilla quis eros. Sed volutpat nibh sit amet ante molestie a vehicula nulla gravida. Mauris elementum cursus urna id vestibulum. Etiam volutpat odio tincidunt libero ullamcorper elementum. Suspendisse potenti. Ut ut arcu lorem. Integer mi sapien, porta a pharetra et, varius laoreet eros. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed ut mi at elit consequat aliquam id eu lectus. Etiam tincidunt diam et ante ullamcorper a convallis erat lobortis. Sed blandit ultrices dui et bibendum. Sed condimentum velit eget nibh rutrum cursus. Quisque pretium iaculis gravida. Proin risus eros, iaculis quis fermentum a, adipiscing&nbsp;id&nbsp;mauris.</p>

View File

@ -7,6 +7,7 @@
p {
text-align: end;
-moz-text-align-last: center;
margin-right:310px;
}
</style>
</head>

View File

@ -6,6 +6,7 @@
<style type="text/css">
p {
text-align: end;
margin-right:310px;
}
</style>
</head>

View File

@ -7,6 +7,7 @@
p {
text-align: end;
-moz-text-align-last: end;
margin-right:310px;
}
</style>
</head>

View File

@ -7,6 +7,7 @@
p {
text-align: end;
-moz-text-align-last: justify;
margin-right:310px;
}
</style>
</head>

View File

@ -7,6 +7,7 @@
p {
text-align: end;
-moz-text-align-last: start;
margin-right:310px;
}
</style>
</head>

View File

@ -7,6 +7,7 @@
p {
text-align: justify;
-moz-text-align-last: center;
margin-right:310px;
}
</style>
</head>

View File

@ -6,6 +6,7 @@
<style type="text/css">
p {
text-align: justify;
margin-right: 310px;
}
</style>
</head>

View File

@ -7,6 +7,7 @@
p {
text-align: justify;
-moz-text-align-last: end;
margin-right:310px;
}
</style>
</head>

View File

@ -7,6 +7,7 @@
p {
text-align: justify;
-moz-text-align-last: justify;
margin-right:310px;
}
</style>
</head>

View File

@ -7,6 +7,7 @@
p {
text-align: justify;
-moz-text-align-last: start;
margin-right: 310px;
}
</style>
</head>

View File

@ -7,6 +7,7 @@
p {
text-align: start;
-moz-text-align-last: center;
margin-right:310px;
}
</style>
</head>

View File

@ -6,6 +6,7 @@
<style type="text/css">
p {
text-align: start;
margin-right:310px;
}
</style>
</head>

View File

@ -7,6 +7,7 @@
p {
text-align: start;
-moz-text-align-last: end;
margin-right:310px;
}
</style>
</head>

View File

@ -7,6 +7,7 @@
p {
text-align: start;
-moz-text-align-last: justify;
margin-right:310px;
}
</style>
</head>

View File

@ -7,6 +7,7 @@
p {
text-align: start;
-moz-text-align-last: start;
margin-right:310px;
}
</style>
</head>

View File

@ -5,7 +5,7 @@
span { display:inline-block; width:10em; }
</style>
</head>
<body>
<body style="width: 433px; height: 590px;">
<table border="1">
<tr><td>space <span></span>.</td>

View File

@ -1,6 +1,6 @@
<!DOCTYPE HTML>
<html>
<body style="word-spacing:10em;">
<body style="word-spacing:10em; width: 433px; height: 590px;">
<table border="1">
<tr><td>space .</td>