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

RESOLVED FIXED

Status

()

RESOLVED FIXED
12 years ago
10 years ago

People

(Reporter: leon.stringer, Unassigned)

Tracking

unspecified
Points:
---
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

(Reporter)

Description

12 years ago
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.

Comment 1

10 years ago
Created attachment 371061 [details] [diff] [review]
reftest

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+
http://hg.mozilla.org/mozilla-central/rev/78cbba27ba83 for the test.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 10 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.