Yuri Kobets
4da59f1a89
tokenize function is replaced to split_string.
...
some fixes in CSS parsing.
2014-10-21 00:10:16 +04:00
Yuri Kobets
3d4cd350e4
document::get_fixed_boxes returns boxes with overflows
...
add support for CDATA
2014-10-18 08:13:02 +04:00
Yuri Kobets
064a6a66f0
Fix: problems with :after :before elements in refresh_styles
...
children must be processed after removing and before adding :after :before elements
2014-10-17 18:25:30 +04:00
Yuri Kobets
b4b28194d0
Added support for box-sizing CSS property.
2014-10-17 13:44:03 +04:00
Yuri Kobets
4df6fe9cfb
Fix: css selector can have more then one condition for attribute.
...
css_attribute_selector::map is replaced to css_attribute_selector::vector
example: .input-group[class*="col-"]
2014-10-17 13:13:05 +04:00
Yuri Kobets
f1f752af15
fixed incorrect table width and width of the inline blocks.
2014-10-14 04:00:25 +04:00
Yuri Kobets
cef648d83f
Fixed length rounding with css_units_percentage to return the smallest value.
2014-10-13 05:43:28 +04:00
Yuri Kobets
ad859f01f6
Fix: elements can ignore mouse with some conditions
2014-10-10 07:15:53 +04:00
Yuri Kobets
f51196c89c
Fixed incorrect rendering of elements with margins and percent value of CSS width property
2014-10-09 02:32:58 +04:00
Yuri Kobets
d6f5885ba8
Added default predefined value parameter into css_length::fromString
...
This fixes the bug in CSS text when length is not a number or valid keyword
2014-10-09 02:31:37 +04:00
Yuri Kobets
51a0d0c05e
<!DOCTYPE can be in lowercase, ignore all tags that begins with '!' char
2014-10-07 05:04:28 +04:00
Yuri Kobets
5630d68bc4
added cairo_container::remove_image, add_image with NULL image does not remove image from cache
2014-10-07 02:57:01 +04:00
Yuri Kobets
3454b1b7a1
delete image from cache by passing NULL into cairo_container::add_image
2014-10-06 06:29:48 +04:00
Yuri Kobets
3ca5fe3a7e
container_linux is updated for latest litehtml changes
2014-10-05 06:03:25 +04:00
Yuri Kobets
bce4c656c0
improved support for ommited start/end tags
2014-09-30 03:25:19 +04:00
Yuri Kobets
5230f28ac7
Improved UTF8 support
...
define LITEHTML_UTF8 to compile litehtml with UTF8 support on Windows
document_container::toupper and document_container::tolower are replaced with
document_container::transform_text.
Added document::createFromUTF8 to parse UTF8 source.
Added word break on chars in CJK characters range.
2014-09-26 02:55:59 +04:00
Yuri Kobets
090a2e48e9
fix: incorrect position of the fixed elements
...
when client rectangle is not in (0,0)
2014-09-11 05:27:21 +04:00
Yuri Kobets
ebbee5d0f4
fixed: incorrect base line for inline boxes
2014-09-10 00:52:46 +04:00
Yuri Kobets
121a33006d
fix: run render with second_pass parameter from render_positioned
...
This fix the problem with text-align in fixed and absolute elements
2014-09-09 08:45:08 +04:00
Yuri Kobets
95c9efe9ac
Added "bool root" parameter into document_container::draw_borders
...
This parameter is true for the root element (<html>).
2014-09-04 07:36:40 +04:00
Yuri Kobets
0afcf0c06a
Separate fixed elements rendering, mark root element background.
...
document::render accept render_type parameter:
render_all - render all elements
render_no_fixed - don't render fixed elements
render_fixed_only - render the fixed elements only
background_paint now have is_root member. You can check is_root to draw background in entire window (not in paint rectangle only).
2014-09-04 04:48:47 +04:00
Yuri Kobets
29fd19c003
Improved background processing for <body> and <html> tags.
...
litehtml expands <html> element to entire client/document area.
Also fixed bug with margin collapse for body element.
2014-09-01 06:22:20 +04:00
Yuri Kobets
4071aa824e
Removed check for <ul> -> <li>
...
Looks like it is possible to use other tags then <li> in <ul>/<ol>.
2014-09-01 01:44:18 +04:00
Yuri Kobets
db92356780
HTML entities are case-sensitive.
2014-08-31 21:02:26 +04:00
Yuri Kobets
4c6aa944a2
html_tag::render returns incorrect width for elements with floats.
2014-08-30 22:48:14 +04:00
tordex
5838e3db77
Update README.md
2014-08-28 15:37:38 +04:00
Yuri Kobets
bf218c40be
Merge branch 'master' of github.com:tordex/litehtml
...
Conflicts:
README.md
2014-08-28 15:35:23 +04:00
Yuri Kobets
11faabd73a
Updated README.md
...
Added links to litebrowser (windows and linux) repository.
2014-08-28 15:32:00 +04:00
Yuri Kobets
9e0ebad0b7
Added link to litebrowser repository into README.md
2014-08-28 05:19:32 +04:00
Yuri Kobets
1ca8f9a3f9
examples folder is removed and will be moved into separate repository
2014-08-28 04:18:33 +04:00
Yuri Kobets
6707c416f2
Modules added for litebrowser
2014-08-27 03:25:47 +04:00
Yuri Kobets
d04487582b
Old libs are deleted
2014-08-27 02:49:18 +04:00
tordex
9e13822f2f
Create LICENSE
2014-08-25 18:43:03 +04:00
tordex
61549c9083
Update README.md
2014-08-25 18:41:44 +04:00
tordex
2fea3e67f5
Create README.md
2014-08-25 18:39:25 +04:00
yuri.kobets@gmail.com
8920236e2c
Added makefile for litebrowser_linux
2014-08-24 21:59:56 +00:00
yuri.kobets@gmail.com
e2f6dbeee6
2014-08-24 19:21:37 +00:00
yuri.kobets@gmail.com
9dd887c109
Position of floating boxes is incorrect inside inline/float boxes
...
Relative positioning is fixed
2014-08-24 15:28:13 +00:00
yuri.kobets@gmail.com
f5d988a454
Updated cairo_container_linux for API changes
2014-08-14 18:39:01 +00:00
yuri.kobets@gmail.com
8a50df45b0
Added support for CSS media (@media at-rule, media attribute in <style> and <link> tags).
...
Fixed: the elements with the fixed position ignore the mouse events.
Fixed: Bugs when compile solution with Microsoft Visual Studio Express 2013 for Windows Desktop.
2014-08-14 00:24:07 +00:00
yuri.kobets@gmail.com
d3c9c5df6f
Some optimization in tables rendering.
2014-07-28 21:45:20 +00:00
yuri.kobets@gmail.com
d0e736de13
Apply :hover state to parent elements
2014-07-27 23:43:42 +00:00
yuri.kobets@gmail.com
b856c8419e
Fixed: commented text in <style> tag is not parsed
...
New: text-indent CSS property is implemented
New: Added fixed elements (position: fixed) support
Fixed: width:0 is ignored
2014-07-24 02:17:19 +00:00
yuri.kobets@gmail.com
c87377113d
Correct processing of the shorthand CSS properties (reset the single properties).
...
Fixed the high CPU usage on mouse over
Improved positioning of the inline elements with paddings/margins
2014-07-21 00:04:39 +00:00
yuri.kobets@gmail.com
639ef3f4b9
Updated the container class for linux (containers/linux). Now with images support.
...
Updated litebrowser_linux to show websites.
Some changes to make code more compatible with linux.
2014-06-19 23:01:31 +00:00
yuri.kobets@gmail.com
bbdbac83e9
Auto-margins position fixed.
2014-06-12 19:57:11 +00:00
yuri.kobets@gmail.com
7e36d663b0
Fixed bug in select_one function.
...
Fixed incorrect calculating document width.
2014-03-04 00:15:33 +00:00
yuri.kobets@gmail.com
e3485544b9
Some crashes fixed.
2014-02-13 22:59:45 +00:00
yuri.kobets@gmail.com
2af8951d35
More correct floating boxes positions
2014-02-02 23:40:56 +00:00
yuri.kobets@gmail.com
075f99a7da
Fixed bug in :before :after css selectors
...
Improved correction of errors in HTML code
Fixed some problems in tables and inline boxes rendering.
2014-02-01 04:13:03 +00:00