aboutsummaryrefslogtreecommitdiffstats
path: root/test/render_test.cpp
Commit message (Collapse)AuthorAgeFilesLines
* flex: added support for align-content propertyYuri Kobets2023-12-231-3/+2
|
* fix test container base pathYuri Kobets2023-12-211-1/+10
|
* tests: support for subfolders in rendering testYuri Kobets2023-12-201-9/+25
|
* fixed rendering of <html> and <body> tagsYuri Kobets2023-05-121-2/+2
| | | | | | | | | | | | * Removed "width: 100%; height: 100%" from <html> style * extend <html> and <body> elements to the client rectangle if width/height is auto * Reverse inherit for <html> background is working again * Always draw <html> element background into document clipping area to fill entire "browser window". * Added document::content_width and document::content_height. These methodts return the document size without <html> and <body> tags for using in tests and other applications
* Fixed rendered document size calculating.Yuri Kobets2023-05-051-3/+2
| | | | | | | | document::height() now returns minimum height. This was used in the render_test.cpp to find the bitmap height. Most of tests were updated to to match real document size. Also added ACID1 test.
* sort render testsstasoid2023-02-181-0/+1
|
* render_test: increase rendering height for test1.htmstasoid2023-02-181-1/+1
|
* Added new rendering testsYuri Kobets2023-02-081-1/+1
| | | | Also all rendering tests are moved to the folder test/render
* cosmeticsstasoid2022-12-141-1/+1
|
* test_container: implement import_cssstasoid2022-12-121-1/+1
|
* readfile: C -> C++stasoid2022-12-111-13/+7
|
* Add render testsstasoid2022-12-111-0/+90
Render tests are .htm files in litehtml/test directory. Tests starting with "-" are disabled. Correct rendering is in corresponding .htm.png file. To generate .png file, run ctest from litehtml/build. The test will fail and create xxx.htm-FAILED.png file. Rename it to xxx.htm.png One ASCII raster font with 3 sizes is supported, see litehtml/containers/test/fonts. This should be enough for tests. Border painting is supported, only solid borders. Backgrounds, images and list markers are not supported.