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)

x86
Windows 2000
defect

Tracking

()

RESOLVED WORKSFORME
Future

People

(Reporter: thepriz, Unassigned)

References

()

Details

(Keywords: qawanted)

Attachments

(1 file)

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.
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".
Keywords: qawanted
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>
*** Bug 186642 has been marked as a duplicate of this bug. ***
-> layout
Assignee: asa → other
Component: Browser-General → Layout
QA Contact: asa → ian
Summary: Text disappears → Small text disappears if margin-left is negative number
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Target Milestone: --- → Future
The URL is worksforme as of today. Can't find any negative margin code
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
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.

Attachment

General

Created:
Updated:
Size: