Bug 486501 - html output does not display correctly in IE7
Summary: html output does not display correctly in IE7
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Publican
Classification: Community
Component: publican
Version: 2.0
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jeff Fearn 🐞
QA Contact: Content Services Development
URL: https://jira.jboss.org/jira/browse/SO...
Whiteboard:
: 512471 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-02-20 01:52 UTC by Dana Mison
Modified: 2010-11-24 03:58 UTC (History)
3 users (show)

Fixed In Version: 0.43
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-02-24 03:44:40 UTC
Embargoed:


Attachments (Terms of Use)
screenshot as per jira SOA-1179 (91.13 KB, image/png)
2009-02-20 03:56 UTC, Dana Mison
no flags Details

Description Dana Mison 2009-02-20 01:52:52 UTC
Description of problem:
Internet Explorer users cannot use the html documentation that is generated by publican.

The object tag that is required for all non-IE browsers to display SVG seems to cause IE to break the entire page.  If you use <img>it still renders as a broken image because the format is not supported but doesn't break the whole page.  

<object data="Common_Content/images/redhat-logo.svg" type="image/svg+xml"/> 

This means that page breaks immediately after the subtitle and is not usable.

A JBoss JIRA was raised, https://jira.jboss.org/jira/browse/SOA-1179 , to report this.

Because SVG content does not display natively in Internet Explorer anyway perhaps we should convert the SVG to png and display via <img>


Version-Release number of selected component (if applicable):
publican 0.42

How reproducible:
everytime

Steps to Reproduce:
1.attempt to view publican generated html docs in Internet Explorer 7
eg. http://www.redhat.com/docs/en-US/JBoss_SOA_Platform/4.3.GA/html-single/Programmers_Guide/index.html

Actual results:
screenshot  from JIRA attached

Expected results:


Additional info:

Comment 1 Dana Mison 2009-02-20 03:56:54 UTC
Created attachment 332666 [details]
screenshot as per jira SOA-1179

Comment 2 Jeff Fearn 🐞 2009-02-20 23:32:49 UTC
Possible fix is to modify the XSL that generates the object tags to output:

<object data="Common_Content/images/title_logo.svg" type="image/svg+xml">
	<img src="Common_Content/images/title_logo.png" alt="Alternate image for broken browsers"> 
</object>

This should allow non-compliant browsers to fall back to a png image.

Hope to get to test this next week.

Comment 3 Jeff Fearn 🐞 2009-02-24 03:44:40 UTC
I modified the SQL so that browsers that can not display the SVG will display the text object used for the ALT text. Tested OK in IE 7.

This solution will mean most existing books do not need to be modified to display in IE7.

Comment 4 Fedora Update System 2009-03-18 23:57:13 UTC
publican-fedora-0.18-0.fc10,publican-0.44-0.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/publican-fedora-0.18-0.fc10,publican-0.44-0.fc10

Comment 5 Fedora Update System 2009-03-26 14:53:22 UTC
publican-fedora-0.18-0.fc10, publican-0.44-0.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Ruediger Landmann 2009-10-05 23:19:14 UTC
*** Bug 512471 has been marked as a duplicate of this bug. ***


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