| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
Also all rendering tests are moved to the folder test/render
|
| |
|
| |
|
| |
|
|
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.
|