Closed Bug 394124 Opened 18 years ago Closed 18 years ago

<area> tag using percentage as coords fails

Categories

(Firefox :: General, defect)

defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 98102

People

(Reporter: a.jonker, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/419.3 (KHTML, like Gecko) Safari/419.3 Build Identifier: Firefox/2.0.0.6 <http://www.w3.org/TR/html4/struct/objects.html#h-13.6.1> specifies coordinates to be 'lengths', <http://www.w3.org/TR/html4/types.html#type-length> specifies length to be either pixel or percentage of the available space. When using pixels, the scaled-back image isn't properly covered by the <area> describing the axonheuvel hence using %, which nicely scales with both window width and image size. Both in Safari and iCab (mac) this works as expected. Reproducible: Always Steps to Reproduce: 1. go to the URL 2. hold your mouse over the area immediately left outside the dark purple cell, at the height of the black core 3. see that in firefox nothing happens and on click the link is followed to the 'Fout' page 0032-33a.html rather than to the 'Goed' page, 0032-33.html Actual Results: Firefox is not properly overlaying the with <area> indicated area Expected Results: Firefox should use the percentage width of the image as coordinates and thus properly overlay the area onto the (scaled) image. default, happens after download & install on a clean machine. I file this as a 'major feature' as there is no other way to scale a map, as far as I know or anyone else knows that I asked for. It is probably not just a 'bug', it is a w3 feature missing.
In addition to html4 of the original bug description, the bug also holds for xhtml1, <http://www.w3.org/TR/xhtml1/dtds.html#a_dtd_XHTML-1.0-Strict> which defines <!ENTITY % Length "CDATA"> <!-- nn for pixels or nn% for percentage length -->
Also using percentage values to determine the size of objects (e.g. Quicktime movies) is not honoured by FireFox: <object type="video/quicktime" data="first.mov" width="320" height="240" class="mov"> works, <object type="video/quicktime" data="first.mov" width="70%" height="70%" class="mov"> doesn't. It flashes the movie, then displays nothing. Maybe the title of the bug should be changed?
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.