aboutsummaryrefslogtreecommitdiffstats
path: root/test/layoutengine
Commit message (Collapse)AuthorAgeFilesLines
* Removed property values as discussed: ↵Manuel Mall2005-10-245-72/+164
| | | | | | http://marc.theaimsgroup.com/?t=112985465700004&r=1&w=2 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@328060 13f79535-47bb-0310-9956-ffa450edef68
* Merged work on Temp_SpaceResolution branch into trunk (-r 320826:327988).Jeremias Maerki2005-10-2467-2248/+4516
| | | | | | Source: http://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_SpaceResolution/ git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@328010 13f79535-47bb-0310-9956-ffa450edef68
* Test case for the issue that was just clarified by the XSL WG:Jeremias Maerki2005-10-201-0/+54
| | | | | | | A page-sequence with the only content an empty block produces an empty page. http://lists.w3.org/Archives/Public/xsl-editors/2005OctDec/0008.html git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@326992 13f79535-47bb-0310-9956-ffa450edef68
* Inline block parents were not correctly positioned when border/padding got ↵Manuel Mall2005-10-142-0/+6
| | | | | | involved - matched their positioning logic with the usual inlines git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@321108 13f79535-47bb-0310-9956-ffa450edef68
* Corrected testcase for fix from LucaManuel Mall2005-10-142-6/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@321090 13f79535-47bb-0310-9956-ffa450edef68
* Make it well-formed.Jeremias Maerki2005-10-141-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@321072 13f79535-47bb-0310-9956-ffa450edef68
* the broken inline border padding with nested block testManuel Mall2005-10-131-0/+169
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@320778 13f79535-47bb-0310-9956-ffa450edef68
* Separated the working inline border padding with nested block tests from the ↵Manuel Mall2005-10-132-21/+1
| | | | | | broken tests git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@320776 13f79535-47bb-0310-9956-ffa450edef68
* Also test the case when the parent fo is an fo:inlineSimon Pepping2005-10-121-2/+27
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@315027 13f79535-47bb-0310-9956-ffa450edef68
* Tests the case when an fo:inline starts a block after some text in theSimon Pepping2005-10-121-0/+68
| | | | | | | parent fo git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@315016 13f79535-47bb-0310-9956-ffa450edef68
* Fixed incorrect IPD for blocks nested in inlines and added IPD adjustment ↵Manuel Mall2005-10-121-7/+3
| | | | | | for inlineblockparents with borders when rendering git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@314953 13f79535-47bb-0310-9956-ffa450edef68
* Changed the line numbers in the first block in the expectations afterSimon Pepping2005-10-111-16/+16
| | | | | | | the bug fix in the code git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@312955 13f79535-47bb-0310-9956-ffa450edef68
* Added support for leader with pattern "use-content" and recovered a ↵Manuel Mall2005-10-103-11/+93
| | | | | | previously lost 1mpt due to rounding git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@312604 13f79535-47bb-0310-9956-ffa450edef68
* Test case for wrap-option on fo:block.Jeremias Maerki2005-10-071-0/+57
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@307092 13f79535-47bb-0310-9956-ffa450edef68
* Update to support border and padding and alignments on inline fosManuel Mall2005-10-0752-292/+5709
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@307055 13f79535-47bb-0310-9956-ffa450edef68
* Added simple testcase for indefinite page-heightAndreas L. Delmelle2005-09-252-0/+53
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@291400 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Lengths evaluated through percentages evaluated to zero in side-regions.Jeremias Maerki2005-09-161-1/+27
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@289426 13f79535-47bb-0310-9956-ffa450edef68
* expected table width was incorrect and now fails due to table width ↵Chris Bowditch2005-09-151-96/+91
| | | | | | calculation being corrected by Jeremias' last change. I have corrected the expected width git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@289270 13f79535-47bb-0310-9956-ffa450edef68
* Test case showing a bug with table width determination.Jeremias Maerki2005-09-151-0/+97
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@289242 13f79535-47bb-0310-9956-ffa450edef68
* Slight modification to layout testcase to make initial values for ↵Andreas L. Delmelle2005-09-151-6/+6
| | | | | | column-number work git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@289200 13f79535-47bb-0310-9956-ffa450edef68
* Ouch. The penalties are completely wrong if a higher-level block defines ↵Jeremias Maerki2005-09-142-0/+84
| | | | | | non-conditional padding. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@280872 13f79535-47bb-0310-9956-ffa450edef68
* disabled Border conditionality test on tables as it isn't implemented yetChris Bowditch2005-09-131-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@280529 13f79535-47bb-0310-9956-ffa450edef68
* Added Test case for Border Conditionality on fo:tableChris Bowditch2005-09-131-0/+195
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@280527 13f79535-47bb-0310-9956-ffa450edef68
* Implemented the example under 4.3.1 Space-resolution Rules as a test case. ↵Jeremias Maerki2005-09-092-0/+56
| | | | | | Test fails. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@279733 13f79535-47bb-0310-9956-ffa450edef68
* Removing trailing spaces at the end of text areas: this is done by storing ↵Luca Furini2005-09-081-2/+3
| | | | | | | | the Position, whose value points to the AreaInfo created for a space, inside the glue element that is ignored if there is a line break. This fixes item 2) in bug 36533. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@279551 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #36505: Jeremias Maerki2005-09-061-48/+81
| | | | | | | | | | | | | Several fixes for SVG painting in the Java2DRenderer. Updated SVG test case to test additional features. Submitted by: Richard Wheeldon <richardw.at.geoquip-rnd.demon.co.uk> Comments and changes by jeremias: Added an additional SVG image with an intrinsic size and modified the test case to use and test that, too. I'll commit this patch because it improves the current situation but I'm not happy with the current state of Java2DRenderer.renderSVGDocument(). Creating inverse transformation matrices is surely not the right way to do this. The matrix should be saved and restored instead. Furthermore, renderSVGDocument should be extracted into a Java2DSVGHandler like it is done for the other renderers. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@278966 13f79535-47bb-0310-9956-ffa450edef68
* Renamed test cases to avoid filename problems under Unix.Jeremias Maerki2005-09-051-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@278754 13f79535-47bb-0310-9956-ffa450edef68
* Renamed test cases to avoid filename problems under Unix.Jeremias Maerki2005-09-053-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@278753 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #36487:Jeremias Maerki2005-09-052-214/+0
| | | | | | | Forgot to remove the two test cases Manuel indicated. Submitted by: Manuel Mall <mm.at.arcus.com.au> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@278699 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #36487: Jeremias Maerki2005-09-0519-65/+1270
| | | | | | | | | | | | | | | | Background images were incorrectly positioned in some absolute positioned blocks. Some additional attributes output by the XMLRenderer. Refactored the layout for e-g and i-f-o. Introduced common base classes for the corresponding flow objects as well as the e-g and i-f-o LMs. Fixed incorrectly applied margins on region-body when writing mode is not lr. Fixed application of correct percent base for margins and extents on regions when the reference orientation is 90 degrees. Fixed incorrectly positioned regions when writing mode is different between the simple-page-master setting and the setting on the region. Several updates to the layout engine test cases. Submitted by: Manuel Mall <mm.at.arcus.com.au> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@278690 13f79535-47bb-0310-9956-ffa450edef68
* Resurrected overwritten test case external-graphic4.xml under a different name.Jeremias Maerki2005-09-012-0/+53
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@265747 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #36460 (second part):Jeremias Maerki2005-09-01209-34/+34
| | | | | | | Renamed all test cases to more speaking names. Submitted by: Manuel Mall <mm.at.arcus.com.au> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@265720 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #36460 (first part): Jeremias Maerki2005-09-0110-314/+398
| | | | | | | Some minor cleanup and two bigger revamps of two cases Submitted by: Manuel Mall <mm.at.arcus.com.au> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@265711 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #36379:Finn Bock2005-08-3134-205/+1448
| | | | | | | | | | | | Revised percentage resolution system. Submitted by: Manuel Mall <mm.at.arcus.com.au> Slightly modified to avoid early evaluation of getValue(). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@265577 13f79535-47bb-0310-9956-ffa450edef68
* Test case for squeezing an oversized image into a page. Currently fails ↵Jeremias Maerki2005-08-312-0/+53
| | | | | | because min/opt/max mechanisms currently ignored by the EGLM. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@265051 13f79535-47bb-0310-9956-ffa450edef68
* normal-breaking6 shows problems with breaking in narrow environments. Jeremias Maerki2005-08-303-0/+125
| | | | | | keep-together-inline1 documents that keep-together.within-line doesn't work, yet. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@264822 13f79535-47bb-0310-9956-ffa450edef68
* Fix for text-align2.xml (for real now). The alignment used to set up the ↵Jeremias Maerki2005-08-302-2/+1
| | | | | | element list was not properly determined. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@264797 13f79535-47bb-0310-9956-ffa450edef68
* Hmm, seems like my fix was not enough. Now, it simply crashes due to a ↵Jeremias Maerki2005-08-302-1/+5
| | | | | | different case. Not sure how to solve this, yet. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@264789 13f79535-47bb-0310-9956-ffa450edef68
* Some tests for text-align (not comprehensive!). Jeremias Maerki2005-08-302-0/+171
| | | | | | text-align2 test for a special constellation which currently results in a ClassPathException. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@264771 13f79535-47bb-0310-9956-ffa450edef68
* Background trait's toString() streamlined. Test cases adjusted accordingly. Jeremias Maerki2005-08-2915-23/+69
| | | | | | | Test cases without checks will fail from now on!!! Checks for certain test cases and the others are added to the disabled list. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@264120 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #36396: Jeremias Maerki2005-08-2910-0/+833
| | | | | | | More test cases for background images. Submitted by: Manuel Mall <mm.at.arcus.com.au> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@264118 13f79535-47bb-0310-9956-ffa450edef68
* Added negative reference-orientations to block-container4. Jeremias Maerki2005-08-273-42/+212
| | | | | | | | Now checking the CTMs, too New block-container4a based on the test case submitted by Yannick Valot for Bugzilla #36391. I had to disable block-container4a because the CTM for 180/-180 is really wrong. Comment about the defect added to the checks. There's no quick fix, but this is also low-priority for me. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@240461 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla: #36356 Jeremias Maerki2005-08-262-0/+60
| | | | | | | Test case for Bug #36356, slightly simplified by using absolute lengths instead of percentages for the margins. Checks added, too. Submitted by: Manuel Mall <mm.at.arcus.com.au> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@240219 13f79535-47bb-0310-9956-ffa450edef68
* Testcase showing a page-number whose ipd is not correctly setLuca Furini2005-08-262-1/+55
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@240206 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #36224: Jeremias Maerki2005-08-211-1/+9
| | | | | | | | | | | | | | This patch ports the 0.20.5 CCITTFaxDecode filter functionality and its support of direct embedding on certain TIFF images to the trunk. It also cleans up some of the image handling with respect to consistent closing of the input stream to avoid dangling open files. Submitted by: Manuel Mall <mm.at.arcus.com.au> Changes to the patch: Fixed a small problem with the NullFilter in the PDF library. Used tiff_group4.tiff in external-graphic-tiff.xml. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@234261 13f79535-47bb-0310-9956-ffa450edef68
* Show and fix a bug where bottom/right positioning of block-containers didn't ↵Jeremias Maerki2005-08-211-1/+15
| | | | | | work properly when the block-container is nested in a block. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@234203 13f79535-47bb-0310-9956-ffa450edef68
* Testing all inline-level FOs inside fo:inline to check for ↵Jeremias Maerki2005-08-201-0/+59
| | | | | | ClassCastExceptions as reported in Bugzilla #36248. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@234033 13f79535-47bb-0310-9956-ffa450edef68
* ref to bugzilla 36180Chris Bowditch2005-08-153-0/+251
| | | | | | | Submitted by: Manuel Mall <mm.at.arcus.com.au> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232810 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #36082 Jeremias Maerki2005-08-158-0/+451
| | | | | | | | | | | | | | | | | | | | | 1. Addresses the URI resolving issue as discussed in this bug by providing a FOP implementation of the URIResolver interface as well as the capabilities to set a URIResolver on the FOUserAgent object. 2. Modifies the BMPReader to extract the resolution information. 3. Fixes a possible array bounds exception in BMPImage which can happen for BMP images with extra bytes at the end. 4. Provides some infrastructure in ImageFactory in preparation of external configuration of multiple prioritised image providers per mime type. 5. Sets a proper base URL in SVGElement. 6. Provides test cases and test images for the different formats and resolutions. Submitted by: Manuel Mall <mm.at.arcus.com.au> Patch slightly modified: - EPS sample graphic exchanged with a very simple and more importantly much smaller one generated by Barcode4J. - Enabled resolution checking for some of the format-specific testcases (especially after working around resolution detection for PNG) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232786 13f79535-47bb-0310-9956-ffa450edef68
* Merged branch ↵Jeremias Maerki2005-08-124-3/+198
| | | | | | | | | | | | | https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/inlineblock back into Trunk. Revisions: 227462 to HEAD (231261) This adds support for block-level content inside fo:inline. The full set of changes on the branch can be extracted by: svn log http://svn.apache.org/repos/asf/xmlgraphics/fop/branches/inlineblock -r 227462:231261 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232250 13f79535-47bb-0310-9956-ffa450edef68