Closed Bug 360965 Opened 18 years ago Closed 16 years ago

list-style-position inside moves right float text to second line

Categories

(Core :: Layout: Floats, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: leon.stringer, Unassigned)

References

()

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.0.7) Gecko/20060911 Camino/1.0.3 Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.0.7) Gecko/20060911 Camino/1.0.3 If you have a list with style "list-style-position: inside" and text floated to the right, the floated text is moved to the line below. Reproducible: Always Steps to Reproduce: 1. Create a page with a list (e.g. OL) with style "list-style-position: inside". 2. Add a list item (i.e. LI) containing a SPAN element with the style "float: right". Actual Results: The text in the SPAN element is on the line below the first line of the list item (regardless of how many lines are in the list item). Expected Results: The text in the SPAN element to be on the same line as the first line of the list item. This works how I expect it to in IE6, Opera 9 and Amaya 9.52.
Attached patch reftestSplinter Review
This was fixed by bug 50630, but there's no test for this situation, yet.
Attachment #371061 - Flags: review?(bzbarsky)
Attachment #371061 - Flags: review?(bzbarsky) → review+
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Component: General → Layout: Floats
Depends on: 50630
Flags: in-testsuite+
Product: Firefox → Core
QA Contact: general → layout.floats
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: