Closed Bug 253307 Opened 22 years ago Closed 22 years ago

List numbers or bullets do not move when text-indent is negative

Categories

(Core :: Layout: Text and Fonts, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 13869

People

(Reporter: stevier, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a2) Gecko/20040714 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a2) Gecko/20040714 The above page (http://www.personal.psu.edu/sxr133/work/apatest.shtml) has the problem in it for your reference. In attempting to create a "hanging indent" for sources, a negative text-indent style was used. However, in Mozilla and Mozilla Firefox (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040707 Firefox/0.9.2), the lists' outdent position then covers the number or bullet, which remains placed in its original position (i.e., the text-indent property is not applied to the <li> element). In IE, the property displays correctly. Reproducible: Always Steps to Reproduce: 1. Create the following styles: a. p,div,ol,ul {margin-left:45px;} b. .apa {text-indent:-20px;} 2. Apply the apa style to a list. You can apply the style to either the ol/ul tag, or to the individual <li> tags (the issue still occurs no matter what). 3. View the page in IE and Mozilla--you will see that the bullets or numbers are covered by the text in the list as it "out"dents. Actual Results: Bullets/numbers of list items are overlapped by text. Expected Results: It should have also "out"dented the bullets/numbers along with the text within the <li>tags.
*** This bug has been marked as a duplicate of 13869 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.