Closed Bug 1280857 Opened 8 years ago Closed 8 years ago

absolutely positioned element in relatively positioned inline is on previous line that none of the inline fits on

Categories

(Core :: Layout: Positioned, defect)

47 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 743599

People

(Reporter: info, Unassigned)

References

()

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36

Steps to reproduce:

Add some text with hyperlinks. The links have absolute positioned icons (e.g. arrow icon in ::before) at the beginning.

http://codepen.io/berlinpix/pen/pbEVER?editors=1100


Actual results:

If a link starts with a new line, the absolute icon is in the line before while the link is still in the next line.


Expected results:

the icon should be at the beginning of the link and not in the previous line.
This is reproducible in Firefox. Works fine in chrome and Edge.


--
Version 	50.0a1
Build ID 	20160622030210
Update Channel 	nightly
User Agent 	Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:50.0) Gecko/20100101 Firefox/50.0
OS 	Windows_NT 10.0
Status: UNCONFIRMED → NEW
Component: Untriaged → Layout: R & A Pos
Ever confirmed: true
Product: Firefox → Core
Summary: Wrong position of absolute element in <a> → absolutely positioned element in relatively positioned inline is on previous line that none of the inline fits on
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: