Yuri Kobets
afc44badea
Fixed: incorrect size of the boxes with width/height in percents.
2015-06-12 23:36:02 +03:00
Yuri Kobets
0052754401
Some improvements int CMakeLists.txt and linux container.
2015-06-10 23:21:58 +03:00
Yuri Kobets
30409bd842
Rollback the pull request #13 - hardcoded styles are not very good.
...
The same effect can be achieved via master.css. When render html into the source with calculated
width/height (like tooltips) we can set width/height into "auto" to get valid width instead of the maximum width.
2015-06-06 04:45:57 +03:00
Yuri Kobets
3ab1d03575
Fix: element::calc_width and element::get_predefined_height return the width/height with content margins.
2015-06-04 14:07:51 +03:00
Yuri Kobets
a5b2189ba8
Merge pull request #13 from FishingCactus/fix-html_predefined_size_upstream
...
styles return width and height of 100% when dealing with html or body …
2015-06-02 13:02:03 +03:00
Yuri Kobets
14fd7f4f7b
Updated container_linux for the latest version of litehtml
...
Add CMakeLists.txt file to build litehtml with cmake
2015-06-02 01:00:20 +03:00
Yuri Kobets
8329e64ccc
Merge pull request #18 from FishingCactus/fix-height_calculation
...
Fix height calculation
2015-06-01 19:21:16 +03:00
Yuri Kobets
18220aae05
Merge pull request #17 from FishingCactus/fix-click_bubbling
...
click events should bubble
2015-06-01 19:18:14 +03:00
Pieter Vantorre
3847b6787b
click events should bubble
2015-06-01 12:10:12 +02:00
Pieter Vantorre
8c2d2b6de7
fixed using margins with absolute positioning
2015-06-01 11:54:16 +02:00
Pieter Vantorre
25eb76ae30
fixed width and height not being taken in to account
2015-06-01 11:30:12 +02:00
Pieter Vantorre
87564cd0e3
styles return with and height of 100% when dealing with html or body tag.
2015-05-29 15:48:48 +02:00
Yuri Kobets
6cdb5205fb
Merge pull request #12 from gogoprog/patch-1
...
Fixed typo in README.md
2015-05-27 12:00:56 +03:00
Gauthier Billot
f6338ffce3
Fixed typo in README.md
2015-05-27 10:48:08 +02:00
Yuri Kobets
81207e27b7
Fix for tag <br clear="all">
2015-05-22 22:49:59 +03:00
Yuri Kobets
ec0aa7c059
Merge pull request #10 from FishingCactus/fix_const_accessors_upstream
...
Constness with accessors
2015-05-18 17:16:44 +03:00
Pieter Vantorre
6a1475ed81
updated containers
2015-05-18 14:08:30 +02:00
Pieter Vantorre
001be6c387
const getters
2015-05-18 14:08:30 +02:00
Yuri Kobets
a03b171034
Added "litehtml::document* doc" parameter into document_container::create_element
2015-05-11 00:47:05 +03:00
Yuri Kobets
67a50fec99
gumbo parser updated to the version 0.10.1
2015-05-04 01:59:05 +03:00
Yuri Kobets
5f8874dacd
draw_borders now accept litehtml::borders as parameter.
...
updated cairo_container for new draw_borders parameters and some fixes with the borders appearance.
2015-04-26 23:03:33 +03:00
Yuri Kobets
aa020ebccd
Added support for images with height in percent units.
2015-04-26 16:03:57 +03:00
Yuri Kobets
214558eaf5
Apply border radius to the boxes with hidden overflow.
2015-04-26 15:57:59 +03:00
Yuri Kobets
854f6755b7
fixed border-radius conversion for images
2015-04-12 21:16:44 +03:00
Yuri Kobets
341f2a1ad4
Fixed: borders are not visible for <img> tag with border-radius.
...
Improvement: litehtml always convert border-radius units into px (even percent).
2015-04-12 19:54:13 +03:00
Yuri Kobets
99cf067fa4
Added support for vmin and vmax units.
2015-04-09 23:45:26 +03:00
Yuri Kobets
14366fd8c4
Added support for vw and vh units.
2015-04-09 23:36:48 +03:00
Yuri Kobets
7687d4f8c7
Added border-radius with percent value into cairo_container
2015-04-02 23:21:29 +03:00
Yuri Kobets
a1352a6215
Merge branch 'master' of github.com:litehtml/litehtml
2015-03-26 23:19:54 +03:00
Yuri Kobets
d95439a6be
render for table returns correct "ideal" width.
2015-03-26 23:19:23 +03:00
Yuri Kobets
6fcafb1e03
Using shared_ptr for images in Win32 cairo_container.
2015-03-26 23:16:58 +03:00
Yuri Kobets
108b279e13
Merge pull request #2 from FishingCactus/implement-height-percentage
...
fixed positioning when using height percentages.
2015-03-26 23:00:30 +03:00
Pieter Vantorre
336743690a
fixed positioning when using height percentages.
2015-03-26 22:54:46 +03:00
Yuri Kobets
081bcff697
Changed disp_str parameter into "const tchar_t*" fix_table_children and fix_table_parent functions.
2015-03-26 22:48:07 +03:00
Pieter Vantorre
5d2e4e21f8
fixed positioning when using height percentages.
2015-03-26 14:44:23 +01:00
Yuri Kobets
320b3beeb0
reset display in to block for floating elements
...
added attributes parameter into document_container::create_element
2015-01-11 04:15:05 +03:00
Yuri Kobets
babe5c876d
fixed: incorrect parsing selector like img[align="left"] with spaces inside [] brackets
2015-01-09 17:23:51 +03:00
Yuri Kobets
98166ee74a
fixed: incorrect parsing CSS selectors like img[align="left"]
2015-01-09 17:00:17 +03:00
Yuri Kobets
74cf21da35
Break gumbo reported white spaces into objects.
...
Added validation for CSS properties values.
2015-01-08 15:50:46 +03:00
Yuri Kobets
91862bc8fa
Added support for CSS tables with display property:
...
table, table-footer-group, table-row-group, table-header-group, table-row, table-cell
2015-01-08 01:48:03 +03:00
Yuri Kobets
32f4153afb
readme file update
2015-01-02 20:03:18 +03:00
Yuri Kobets
944e023921
one small fix in the cairo_font to use the default font if the mapping failed.
2015-01-02 20:02:58 +03:00
Yuri Kobets
f074332c4c
fixed some problems with fonts in cairo_container
2015-01-02 00:04:35 +03:00
Yuri Kobets
fe3daf19ba
added compatibility with linux
2014-12-31 13:54:22 +03:00
Yuri Kobets
e395dc3670
Updated README
2014-12-30 23:48:42 +03:00
Yuri Kobets
00cf496acb
Added word break on characters in CJK range
2014-12-30 12:29:12 +03:00
Yuri Kobets
3573241f41
Use gumbo-parser as HTML parser engine.
2014-12-29 15:41:17 +03:00
Yuri Kobets
21c91a4b23
Added project for Visual Studio 2013
2014-12-04 23:48:02 +03:00
Yuri Kobets
81af2a8162
fixed linux container
2014-10-23 02:41:48 +04:00
Yuri Kobets
5bf5f1e81a
some code improvements
2014-10-23 02:06:07 +04:00