#49924 [Opn]: The PHP documentation system needs to be able to render screenshots better

From: Date: Tue, 20 Oct 2009 14:34:44 +0000
Subject: #49924 [Opn]: The PHP documentation system needs to be able to render screenshots better
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-2979@lists.php.net to get a copy of this message
ID: 49924 Updated by: rquadling@php.net Reported By: ruslany at microsoft dot com Status: Open Bug Type: Doc Build problem Operating System: Irrelevant PHP Version: Irrelevant New Comment: The CSS responsible for this is in div.mediaobject from site.css line 880 ish. Index: site.css =================================================================== --- site.css (revision 289798) +++ site.css (working copy) @@ -879,7 +879,6 @@ div.example div.example-contents, table .phpcode, -div.mediaobject, div.classsynopsis, div.informalexample pre, div.informalexample .phpcode { @@ -887,6 +886,11 @@ margin: 10px; border: 1px outset #000; } + +div.mediaobject { + margin: 10px; +} + div.example-contents pre { background-color: #e1e1e1; } would remove the background and border but keep the margin. Previous Comments: ------------------------------------------------------------------------ [2009-10-19 17:00:09] ruslany at microsoft dot com Description: ------------ Currently, when I use the <mediaobject> element to insert a screenshot, it gets rendered inside of a gray box, which is wider than the actual screenshot. Because of that the screenshot does not look good as it gets blended with the background. You can see the examples here: http://docs.php.net/manual/en/install.windows.iis7.php The PhD should support better rendering of the images and should not surround them with the gray background. As was suggested by Hannes, this could be controlled by the attibute on the <example> element, e.g. role="screenshot". Reproduce code: --------------- <mediaobject> <imageobject> <imagedata fileref="path to file" /> </imageobject> </mediaobject> Expected result: ---------------- There should not be gray background for the screenshots. Actual result: -------------- http://docs.php.net/manual/en/install.windows.iis7.php. See the gray backgrounds around screenshots. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=49924&edit=1

« previous php.doc.bugs (#2979) next »