Commit Graph

438 Commits

Author SHA1 Message Date
yuri.kobets@gmail.com
446d7efb72 Added :before and :after css selectors support (a limited)
Fixed incorrect right floating box placement.
Improved performance for pages with many floating boxes.
2014-01-30 04:51:33 +00:00
yuri.kobets@gmail.com
3ded767a44 Margins collapse is returned back with valid floating boxes handling. 2014-01-22 15:05:47 +00:00
yuri.kobets@gmail.com
909e17b1d7 * Added support for CSS selectors:
:first-of-type
:last-of-type
:only-of-type
:only-child
:nth-of-type(n)
:nth-last-of-type(n)
:not(selector)
:link
2014-01-21 19:40:39 +00:00
yuri.kobets@gmail.com
128ddf8ce0 lcase all tags and attribute names by default.
Fixed bug in html entities parsing.
More correct detecting and fixing unclosed <td> tags.
2014-01-14 16:56:33 +00:00
yuri.kobets@gmail.com
ce278122ce Improved tables rendering. Added border-collapse CSS property. 2014-01-06 04:50:25 +00:00
yuri.kobets@gmail.com
0c233c5d47 Improved tables rendering. 2014-01-03 06:50:42 +00:00
yuri.kobets@gmail.com
832af907d7 Now litebrowser uses WinHTTP to download files asynchronously.
Some fixes in floating elements rendering.
cairo_font is thread safe now
2013-12-16 00:13:45 +00:00
yuri.kobets@gmail.com
a60aba4911 2013-10-16 13:35:34 +00:00
yuri.kobets@gmail.com
d97b384cfa Added compatibility with Windows CE.
Added partial support of jumping to anchor (#tag).
2013-10-02 21:57:36 +00:00
yuri.kobets@gmail.com
827af63f58 Fixed some layout rendering bugs to show web page https://mail.google.com/mail/ correctly.
Half handling of CSS pseudo-elements (started with ::) - currently just removed from processing.
Added document_container::create_element - here you can create own implementation for elements.
2013-09-17 11:28:09 +00:00
yuri.kobets@gmail.com
d77a1110f5 Added some missing files 2013-09-16 22:07:05 +00:00
yuri.kobets@gmail.com
aa21dd67f5 clean up 2013-09-16 01:53:11 +00:00
yuri.kobets@gmail.com
3f87a2ee01 Added support for @media at-rule in CSS (you have to implement document_container::is_media_valid to process @media correctly).
Added support for sibling selectors (+ and ~)
2013-09-16 00:20:04 +00:00
yuri.kobets@gmail.com
b6e857a211 This revision significantly improve the rendering time especially for pages with many floating elements. 2013-09-05 00:33:50 +00:00
yuri.kobets@gmail.com
b5a70c99f7 Fixed: urls with '&' are parsed incorrectly.
Fixed: incorrect element width if there are different borders.
Fixed: floated elements with clear property are placed into incorrect place.
Fixed: CSS color in rgba format are parsed incorrectly. Opacity is number from 0 to 1 (not 0-255).
2013-09-03 01:01:04 +00:00
yuri.kobets@gmail.com
30fc0c1527 Calculating heights, margins and padding with percentages value are brought into compliance CSS standards.
Fixed the position calculating of absolute positioned elements.
2013-08-31 22:00:08 +00:00
yuri.kobets@gmail.com
0f8ba4e81b Added support for CSS selectors: :first-child :last-child :nth-child :nth-last-child :is_nth_last_child
Fixed incorrectly parsed CSS selector with two classes (ex. .class1.class2)
2013-08-30 02:09:37 +00:00
yuri.kobets@gmail.com
9ec9ebd4f0 2013-08-28 20:19:44 +00:00
yuri.kobets@gmail.com
aad95d57e0 Fixed: render always returns zero. 2013-08-21 22:02:20 +00:00
yuri.kobets@gmail.com
7333e9e965 2013-08-21 21:46:18 +00:00
yuri.kobets@gmail.com
03c1a9a765 Added support for stacking contexts, z-index 2013-08-21 01:16:01 +00:00
yuri.kobets@gmail.com
0762726555 Added support for list-style-image CSS property.
Some code clean up.
2013-08-15 01:14:37 +00:00
yuri.kobets@gmail.com
3da199ca5e element::finish is renamed into element::parse_attributes. element::parse_attributes is the place where elements can parse attributes and add style properties. 2013-08-14 01:19:18 +00:00
yuri.kobets@gmail.com
18fb5f460f Simplified the document_container::draw_background function. Most code was moved into litehtml core. 2013-08-14 00:35:07 +00:00
yuri.kobets@gmail.com
b7ed5e573c some changes in master.css 2013-08-11 00:19:57 +00:00
yuri.kobets@gmail.com
29905a8dd6 Fixed parsing at-rules in CSS. Fixed incorrect floating elements rendering. 2013-08-11 00:18:58 +00:00
yuri.kobets@gmail.com
d550a9b88b 2013-08-09 21:23:55 +00:00
yuri.kobets@gmail.com
c8ec750368 Reduced memory usage.
litehtml::element is now lightweight. litehtml::el_text is inherited from litehtml::element. The old code with pre-parsed styles implementation was moved into litehtml::html_tag class.
2013-08-09 21:22:07 +00:00
yuri.kobets@gmail.com
d7d6dcf29b 2013-08-05 23:51:12 +00:00
yuri.kobets@gmail.com
8232103283 2013-08-05 23:49:24 +00:00
yuri.kobets@gmail.com
98e690aecf 2013-08-04 23:45:20 +00:00
yuri.kobets@gmail.com
5cf0658357 2013-08-04 20:15:08 +00:00
yuri.kobets@gmail.com
f8a21a3767 2013-08-03 19:36:08 +00:00
yuri.kobets@gmail.com
ca6d4a8bc3 2013-08-03 18:21:55 +00:00
yuri.kobets@gmail.com
7e31312e97 2013-08-02 23:00:30 +00:00
yuri.kobets@gmail.com
3fe4991708 Fixed some bugs in linux implementation. Added litebrowser_linux project as very simple test on linux (damn this was nightmare after Windows programming, but it working). 2013-08-01 23:11:19 +00:00
yuri.kobets@gmail.com
d9122cc8a2 Added multi byte strings support.
Compiled on linux (not tested yet).
Improved HTML entities support.
2013-07-30 23:20:49 +00:00
yuri.kobets@gmail.com
0cc2be9b9f Fixed table and images positions. Remove the last white space from line box. 2013-07-28 01:28:25 +00:00
yuri.kobets@gmail.com
292cbf1af9 2013-07-26 23:18:34 +00:00
yuri.kobets@gmail.com
dcacf348a8 2013-07-26 00:20:33 +00:00
yuri.kobets@gmail.com
e09ad2246c 2013-07-25 00:57:19 +00:00
yuri.kobets@gmail.com
ca51044f90 2013-07-24 21:56:16 +00:00
yuri.kobets@gmail.com
0a552fa1b6 2013-07-24 19:59:20 +00:00
yuri.kobets@gmail.com
e1da93ab2b 2013-07-23 21:31:05 +00:00
yuri.kobets@gmail.com
139e8881f8 2013-07-15 23:29:54 +00:00
yuri.kobets@gmail.com
f4a234e460 2013-07-15 23:27:46 +00:00
yuri.kobets@gmail.com
c04df5716d Improved font sizes. Added <font> tag and align property of <div> tag. 2013-07-14 23:42:00 +00:00
yuri.kobets@gmail.com
ea4260d5f0 Fixed incorrect element height in some cases.
<TD> tag inherits the background styles from parent <TR> tag.
2013-07-13 21:13:39 +00:00
yuri.kobets@gmail.com
67f635ede3 Don't show the empty tooltips. 2013-07-13 21:10:26 +00:00
yuri.kobets@gmail.com
b86bfed14f Fixed some graphical glitches in cairo_container class 2013-07-13 01:16:36 +00:00