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   
Fixed In Version: 1.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-11-25 23:50:37 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Dana Mison 2009-07-05 21:55:17 EDT
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

/* Dirty EVIL Mozilla hack for round corners */
   and double-plus EVIL webkit hack */
pre {

.example {

Version-Release number of selected component (if applicable):
Comment 1 Jeff Fearn 2009-07-05 22:53:10 EDT
Also should have:

border-radius: 15px;
Comment 2 Dana Mison 2009-07-06 00:34:56 EDT
oh, I didn't realise there was a non-evil method ;-)
Comment 3 Jeff Fearn 2009-08-10 19:27:58 EDT
This should be fixed in the BETA.
Comment 4 Ruediger Landmann 2009-09-08 18:28:08 EDT
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 19:16:37 EDT
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 {
+       -webkit-border-radius:11px;
+       border-radius: 11px;
 .example {
+       -webkit-border-radius:15px;
+       border-radius: 15px;
Comment 6 Ruediger Landmann 2009-09-09 19:00:38 EDT
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-17 21:18:05 EST
publican-1.2-0.fc12 has been submitted as an update for Fedora 12.
Comment 9 Fedora Update System 2009-11-20 00:17:01 EST
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 09:52:14 EST
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.