Bug 990823
| Summary: | SVGs in Publican brands do not work with Internet Explorer 8 | ||
|---|---|---|---|
| Product: | [Community] Publican | Reporter: | Misty Stanley-Jones <misty> |
| Component: | publican | Assignee: | Jeff Fearn 🐞 <jfearn> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | tools-bugs <tools-bugs> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | future | CC: | afitzsim, aigao, lcarlon, rlandman |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 4.0.0 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-12-19 02:46:47 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Misty Stanley-Jones
2013-08-01 05:00:23 UTC
HSS-QE has reviewed and declined this request. QE for this bug will be handled by IED. Fixed all SVGs to fall back to $filename =~ s/.svg/.png/
Brands must ship title_logo.png for this to work for them.
This will not work with DocBook5, a request must be opened upstream to get this patch added.
$ diff -u graphics.xsl graphics2.xsl
--- xhtml-1_1/graphics.xsl 2013-09-24 15:09:08.132541186 +1000
+++ xhtml-1_1/graphics2.xsl 2013-09-24 15:10:30.807424703 +1000
@@ -545,6 +545,7 @@
</xsl:call-template>
</embed>
</xsl:if>
+ <img src="{substring-before($output_filename,'.svg')}.png" alt="{$alt}"/>
</object>
</xsl:when>
<xsl:otherwise>
@@ -1508,4 +1509,5 @@
</xsl:choose>
</xsl:template>
To ssh://git.fedorahosted.org/git/publican.git
9202cbd..ed5856e HEAD -> devel
Verified on a DocBook 4 book built with publican-3.9.9-0.fc19.t11.noarch and viewed on IE6, IE7, and IE8 on Windows XP. |