13 Commits
Author SHA1 Message Date
Philip Peitsch 9820f4a19e Only check margin values explicitly set during layout test
Firefox doesn't populate unset values in the computed styles, resulting
in this test failing.
2014-09-16 22:38:00 +10:00
Joachim Bauch f9695feb7e Added tests to check handling of percentage margin values. 2014-09-05 13:36:53 +02:00
Philip Peitsch fc8429d82d Add fixed line-height to ensure consistent cross-browser behaviour 2014-08-13 09:32:45 +10:00
Philip Peitsch 3d645958c7 Allow multiple accepted values in LayoutTests
Cope with cross-browser differences by allowing multiple possibly value
matches.
2014-08-13 09:27:15 +10:00
Philip Peitsch 755bde7e00 Avoid FF vs Chrome font size rounding differences
Choosing a point size that maps exactly to a pixel size avoids
differences between how FF and Chrome round font sizes. FF performs no
rounding, while Chrome rounds to the closest pixel.
2014-08-13 09:26:13 +10:00
Philip Peitsch 4c7ff86852 Implement support for style:text-position
style:text-position defines sub and super-script text properties.
2014-08-08 22:32:41 +10:00
Philip Peitsch ad0c5bcd46 Add font-size layout tests 2014-08-08 22:30:03 +10:00
Aditya Bhatt c95ff2d0c3 Fix crash when certain list style elements are not present.
Specifically:

1. No style:list-level-properties is present.
2. No style:list-level-label-alignment child of that is present.
   In this case, it simply falls back to default zero margins and
   bullet widths.

Previously this would simply not load documents which did not come
with this optional element in a list style.

Layout tests and CSS generation tests are added for both cases.
2014-07-11 12:13:55 +02:00
Friedrich W. H. Kossebau 8c350e927b Add license header also to all CSS and big test data xml files 2014-06-03 12:37:12 +02:00
Satvik Kumar 91d057ef0d Added some layout tests for list styles
Added one test for label-alignment styling and another test for
label-width-and-position mode
2014-03-26 14:20:07 +11:00
Friedrich W. H. Kossebau 7816cde071 Adapt layout tests to Firefox (wants only camelCase for style attribute names with non-html elements) 2014-02-25 17:28:50 +01:00
Jos van den Oever e6b4e9c06e Use more commen xml prefixes and add typing information to the js. 2014-02-25 13:19:45 +01:00
Jos van den Oever c433187c0e Add new layout tests.
Layout tests can be added in layouttests.xml. A file is constructed from
ODF fragments and the loaded and layed out document is checked.
Only a few simple dimensions for are currently checked, more tests will follow.
2014-02-25 13:19:38 +01:00