Commit Graph

951 Commits

Author SHA1 Message Date
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
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