Image is not visible when placed inside hidden div with text-overflow: ellipsis

RESOLVED DUPLICATE of bug 690187

Status

()

Core
Layout
RESOLVED DUPLICATE of bug 690187
6 years ago
5 years ago

People

(Reporter: Pavel, Unassigned)

Tracking

8 Branch
x86
Windows XP
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

574 bytes, text/html
Details
(Reporter)

Description

6 years ago
Created attachment 575268 [details]
clip.html

User Agent: Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20100101 Firefox/8.0
Build ID: 20111104165243

Steps to reproduce:

	<style>
		.clippedDiv {
			background: #d7d7d7;
			border: 1px solid #000000;
			overflow: hidden;
			text-overflow: ellipsis;
		}
	</style>

<div class="clippedDiv" style="width: 100px">
	<img src="http://www.bobbernhardt.com/img/google.jpg">
</div>



Actual results:

text-overflow: ellipsis; only started to work in FF 7.0. They work fine with text. However when I use img as my inline content then instead of clipping image(as it is done in all other browsers) FF does not show image at all


Expected results:

I attached simple html file that illustrates this problem. Try to run it in different browsers other then FF7 or FF8.

It breaks backwards compatibility and pages and used to show clipped images in FF3/4/5 now stopped showing images
This is the behavior the spec requires.... Yes, it does not match what other browsers implemented.
Blocks: 312156
Attachment #575268 - Attachment mime type: text/plain → text/html

Updated

6 years ago
Status: UNCONFIRMED → RESOLVED
Last Resolved: 6 years ago
Component: DOM: CSS Object Model → Layout
QA Contact: style-system → layout
Resolution: --- → DUPLICATE
Duplicate of bug: 690131

Comment 3

5 years ago
The specification changed an this might be fixed soon.
Duplicate of bug: 690187
You need to log in before you can comment on or make changes to this bug.