Commit Graph

42 Commits

Author SHA1 Message Date
stasoid
ea3c8f7f33 cairo_container: fix handling of invalid list-style-image
page: https://en.wikipedia.org/wiki/UTF-8#Invalid_sequences_and_error_handling
culprit: ul{list-style-image:url(/w/skins/Vector/resources/common/images/bullet-icon.svg?d4515)}
(invalid because svg is not supported)
2022-03-26 20:12:55 +06:00
Yuri Kobets
91774bbc39 Fixed bug in Cairo CSS font handling (Windows) 2021-11-07 19:25:07 +03:00
Yuri Kobets
7d234d9a7e Use pango library as text renderer for container_linux 2021-11-07 03:53:00 +03:00
Yuri Kobets
eda357bded Fixed build errors on Windows 2021-11-05 03:33:14 +03:00
Yuri Kobets
7abfe7d83e cairo_container: compilation error fix for UTF8 configuration 2018-09-10 23:12:21 +03:00
NikitaFeodonit
3104c078dc Convert line delimiters to Unix style. 2018-05-25 17:05:49 +03:00
Yuri Kobets
013b065e94 Added support for custom color names. 2016-08-01 21:40:56 +03:00
Yuri Kobets
fcb2ac8fcc Some changes in containers to pass const shared_ptr<>& 2015-07-10 00:50:50 +03:00
Yuri Kobets
14208ecda0 using override keyword in cairo_container
added default implementation for document_container::link function
2015-07-06 23:39:44 +03:00
Yuri Kobets
192987ecc9 Fixed all bugs. Rendering working well. 2015-06-30 01:23:58 +03:00
Yuri Kobets
019969e721 Some fixes after merging latest pull requests 2015-06-21 22:24:51 +03:00
Julien Hamaide
3fdac9f1ce Support for lang selector 2015-06-20 23:43:28 +02: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
Yuri Kobets
a03b171034 Added "litehtml::document* doc" parameter into document_container::create_element 2015-05-11 00:47: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
214558eaf5 Apply border radius to the boxes with hidden overflow. 2015-04-26 15:57:59 +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
7687d4f8c7 Added border-radius with percent value into cairo_container 2015-04-02 23:21:29 +03:00
Yuri Kobets
6fcafb1e03 Using shared_ptr for images in Win32 cairo_container. 2015-03-26 23:16:58 +03: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
f074332c4c fixed some problems with fonts in cairo_container 2015-01-02 00:04:35 +03:00
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
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
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
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@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
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
a60aba4911 2013-10-16 13:35:34 +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
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
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
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
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
b86bfed14f Fixed some graphical glitches in cairo_container class 2013-07-13 01:16:36 +00:00
yuri.kobets@gmail.com
e2c19d33dc 2013-06-25 20:21:19 +00:00
yuri.kobets@gmail.com
ae62afb2f0 2013-06-17 23:27:05 +00:00
yuri.kobets@gmail.com
cc4e5b02fa Added external projects for litebrowser. Some changes in the folder structure. 2013-06-11 23:42:02 +00:00