If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Allow text to flow into transparent regions -- allows for non-rectanguar images.




Layout: Floats
14 years ago
9 years ago


(Reporter: Neil Fraser, Unassigned)



Firefox Tracking Flags

(Not tracked)




14 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0+) Gecko/20020518
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0+) Gecko/20020518

When a web developer wants text to flow around a non-rectangual image, the only
option is to slice the image up, and carefully arrange the peices and the text.
 This is a poor solution since it doesn't stretch well.

This page contains a map of Scotland, aligned to the right:
The text should be allowed to flow in and hug the image closer.  Implimenting
this at the moment would involve slicing the image into four or five horizontal
strips, then trying to either use tables or DHTML to reassemble the map.

On this page the menu is non-rectangular:
Allowing text to flow into transparent sections would give the designer the
option of letting the content to hug the menu shape.

Another use for filling in transparent sections would be this page:
A single image (the same colour as the background) could be used as a path for
the poem to follow, instead of a page-full of DHTML position coordinates.

Obviously adding this feature would break lots of existing pages which rely on
images to be rectangular.  So I suggest adding an attribute to the IMG or OBJECT
tags to allow the browser to use the transparent areas.  Is there a way to add a
feature like this without violating W3 standards?

I fully understand if the Gecko gurus don't want to touch this with a 10 foot
pole; I'm sure it would involve some really nasty programming.  However I
suspect that if (when?) IE adds this feature, websites (and browsers) where all
images are rectangles will quickly start to look dated.

Reproducible: Always

Steps to Reproduce:
I'd suggest bringing this up on the www-style@w3.org mailing list to discuss a
possible standardized solution to this problem...
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
No reply to comment #2 => INCOMPLETE
Assignee: layout.floats → nobody
Last Resolved: 9 years ago
QA Contact: ian → layout.floats
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.