- From: <bugzilla@wiggum.w3.org>
- Date: Tue, 23 Jun 2009 17:08:09 +0000
- To: xsl-editors@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=7052 Summary: [FO2.0Req] Border area Product: XSLFO Version: 2.0 Working Draft Platform: PC OS/Version: Windows XP Status: NEW Severity: enhancement Priority: P2 Component: XSL-FO Requirements AssignedTo: xsl-editors@w3.org ReportedBy: j.tosovsky@tiscali.cz QAContact: xsl-editors@w3.org For automatic processing it is better to avoid specifying exact image size. The following code ensure proper sizing in most cases (no inline): <fo:external-graphic src="url(image.png)" width="100%" height="auto" content-width="scale-to-fit" content-height="100%"/> It scales down images if these don't fit available area, but retains original sizes if such area is larger. There is one drawback - it is impossible to draw border just around image itself - the border is applied to the content-size, not to the size of image (if it is smaller). There is no way to do both at once - autosizing and bordering. It would be nice to have any attribute, which would override default behaviour and cause border rendering just around image itself. -- Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug.
Received on Tuesday, 23 June 2009 17:08:17 UTC