Closed
Bug 186597
Opened 22 years ago
Closed 22 years ago
Small text disappears if margin-left is negative number
Categories
(Core :: Layout, defect, P3)
Tracking
()
RESOLVED
WORKSFORME
Future
People
(Reporter: thepriz, Unassigned)
References
()
Details
(Keywords: qawanted)
Attachments
(1 file)
879 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20021223
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20021223
In the page at http://www.przybyla.org/~fancc the text in the first column of
the table should be one link listed after another link. On IE the text appears
fine. On Mozilla the text seems to disappear on some of the lines.
Reproducible: Always
Steps to Reproduce:
1.Just go to the page.
2.
3.
Actual Results:
You look at the page and see the results
Expected Results:
I would have expected the text to appear in the browser like IE.
Comment 1•22 years ago
|
||
It's not a bug, it's page wrong design, as I see. There is table with:
style="margin-left: -32.7pt" (this is mean, that text left border is far left
from real border. It is the source of problem.
If you look at w3 "Cascading Style Sheets, level 2 CSS2 Specification", part 8
(<a href="http://www.w3.org/TR/REC-CSS2/box.html">Box model</a>) there is note:
"Negative values for margin properties are allowed, but there may be
implementation-specific limits".
Comment 2•22 years ago
|
||
O'k. I've made some research and found, that after if after <br> tag (abd it
looks that only after this one) short strings (as I calculate, shorter than
negative margin-left value) is hiden behind box-border.
This code is example of problem (http://www.stabes.nm.ru/bug1.htm)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Bug Tage</title>
</head>
<center>
<p>first page with -30pt margin-left</p>
<table border="1" style="margin-left: -30pt">
<tbody><tr>
<td valign="top">
<p>4 symbol word<br>
TBD.</p>
<p>5 symbol word<br>
TBD..</p>
<p>6 symbol word<br>
TBD...</p>
</td>
</tr></tbody></table>
<p>first page with -35pt margin-left</p>
<table border="1" style="margin-left: -35pt">
<tbody><tr>
<td valign="top">
<p>4 symbol word<br>
TBD.</p>
<p>5 symbol word<br>
TBD..</p>
<p>6 symbol word<br>
TBD...</p>
</td>
</tr></tbody></table>
<center>
</body>
</html>
Comment 3•22 years ago
|
||
*** Bug 186642 has been marked as a duplicate of this bug. ***
Comment 4•22 years ago
|
||
-> layout
Assignee: asa → other
Component: Browser-General → Layout
QA Contact: asa → ian
Updated•22 years ago
|
Summary: Text disappears → Small text disappears if margin-left is negative number
Updated•22 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•22 years ago
|
Priority: -- → P3
Target Milestone: --- → Future
Comment 5•22 years ago
|
||
The URL is worksforme as of today. Can't find any negative margin code
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
Comment 6•22 years ago
|
||
In this example there should be 6 word's TBS -- but some of them hide in
negative margins.
You need to log in
before you can comment on or make changes to this bug.
Description
•