Julien Hamaide
5fef811894
Fix relative top and bottom offset when using percentages
2015-06-21 00:09:53 +02:00
Julien Hamaide
625094ba7b
const correctness in set_class
2015-06-20 23:59:32 +02:00
Julien Hamaide
83ed3c34d7
Remove unnecessary constructor that prevent move operator generation
2015-06-20 23:59:32 +02:00
Julien Hamaide
06becd16f8
Optimize selector match, caching classes into a table
2015-06-20 23:59:32 +02:00
Julien Hamaide
c3ae900de5
Move constructor for css_attribute_selector
2015-06-20 23:59:32 +02:00
Julien Hamaide
5eac69bba7
Selector store classes as table to avoid spliting at evaluation time
2015-06-20 23:59:32 +02:00
Gauthier Billot
219501f69f
Added set_class
2015-06-20 23:59:03 +02:00
Gauthier Billot
42f5986efa
Fixed the following css selector: .foo:nth-child(1) .bar:after
2015-06-20 23:49:26 +02:00
Gauthier Billot
e326fde735
Fixed the following css selector: .foo:nth-child(1) .bar:after in refresh_styles
2015-06-20 23:48:05 +02:00
Julien Hamaide
3fdac9f1ce
Support for lang selector
2015-06-20 23:43:28 +02:00
Yuri Kobets
ed641bebe0
Added element::get_position to get the m_pos.
...
Closes issue #20
2015-06-14 23:06:53 +03:00
Yuri Kobets
ec71167d0a
Fix: incorrect tag name is passed into document_container::create_element() for the unknown HTML tags.
...
See issue #20
2015-06-14 21:13:11 +03:00
Yuri Kobets
3670689eaf
Fixes #16
2015-06-13 00:04:04 +03:00
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