Bug 509768

Summary: fix for no rounded corners in html output when viewed in Safari
Product: [Community] Publican Reporter: Dana Mison <dmison>
Component: publicanAssignee: Ruediger Landmann <rlandman+disabled>
Status: CLOSED CURRENTRELEASE QA Contact: Joshua Wulf <jwulf>
Severity: medium Docs Contact:
Priority: low    
Version: 2.0CC: jfearn, lcarlon, mmcallis, publican-list, tao
Target Milestone: ---Keywords: Documentation
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 1.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-11-26 04:50:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dana Mison 2009-07-06 01:55:17 UTC
Description of problem:
The html output of <programlisting> and <example> do not appear with rounded corners in Safari (and other webkit browsers I guess), only in Firefox.

FIX: the addition of the evil webkit-border-radius css attribute in the same manner as the evil moz-border-radius attribute in common.css

eg:
/* Dirty EVIL Mozilla hack for round corners */
   and double-plus EVIL webkit hack */
pre {
    -moz-border-radius:11px;
    -webkit-border-radius:11px;
}

.example {
    -moz-border-radius:15px;
    -webkit-border-radius:15px;
}


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

Comment 1 Jeff Fearn 🐞 2009-07-06 02:53:10 UTC
Also should have:

border-radius: 15px;

Comment 2 Dana Mison 2009-07-06 04:34:56 UTC
oh, I didn't realise there was a non-evil method ;-)

Comment 3 Jeff Fearn 🐞 2009-08-10 23:27:58 UTC
This should be fixed in the BETA.

Comment 4 Ruediger Landmann 2009-09-08 22:28:08 UTC
I built the Fedora Installation Guide[1] with the Beta and viewed the results in Chromium -- the corners of the examples are still square.

Comment 5 Jeff Fearn 🐞 2009-09-08 23:16:37 UTC
I just checked in this change, so it will be in 1.0

$ svn diff -r778:779
Index: datadir/Common_Content/common/en-US/css/common.css
===================================================================
--- datadir/Common_Content/common/en-US/css/common.css  (revision 778)
+++ datadir/Common_Content/common/en-US/css/common.css  (revision 779)
@@ -1347,10 +1347,14 @@
 /* Dirty EVIL Mozilla hack for round corners */
 pre {
        -moz-border-radius:11px;
+       -webkit-border-radius:11px;
+       border-radius: 11px;
 }
 
 .example {
        -moz-border-radius:15px;
+       -webkit-border-radius:15px;
+       border-radius: 15px;
 }
 
 .term{

Comment 6 Ruediger Landmann 2009-09-09 23:00:38 UTC
Fixed in 1.0

I rebuilt the book with that change in place, and the corners appear rounded when viewed in Chromium.

Comment 8 Fedora Update System 2009-11-18 02:18:05 UTC
publican-1.2-0.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/publican-1.2-0.fc12

Comment 9 Fedora Update System 2009-11-20 05:17:01 UTC
publican-1.2-0.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2009-11-25 14:52:14 UTC
publican-1.2-0.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.