Last modified: 2008-10-06 06:58:53 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 14052 - Imagemap's <map> enclose itself in <p>
Imagemap's <map> enclose itself in <p>
Product: MediaWiki extensions
Classification: Unclassified
ImageMap (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Tim Starling
Depends on:
  Show dependency treegraph
Reported: 2008-05-08 22:04 UTC by René Kijewski
Modified: 2008-10-06 06:58 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description René Kijewski 2008-05-08 22:04:15 UTC
In the text starts on the same line as the thumbnailed imagemap, because the <map> and only the map is enclosed in a paragraph <p>. Firefox and Opera seem to ignore empty paragraphs, but IE 6+7 seem to take it as a clear:all.
Comment 1 Siebrand Mazeland 2008-08-17 22:11:01 UTC
Assigned to extension developer.
Comment 2 Tim Starling 2008-10-06 06:37:43 UTC
Appears to be some kind of tidy pathology.

> print Parser::tidy('<map>xyz</map><div>xyz</div>')

ImageMap is definitely not outputting any line breaks.
Comment 3 René Kijewski 2008-10-06 06:51:13 UTC
Hm, wouldn't it be possible not to write the map next to the image but in the HTML header?
Comment 4 Tim Starling 2008-10-06 06:58:53 UTC
Fixed in r41729.

Note You need to log in before you can comment on or make changes to this bug.