summaryrefslogtreecommitdiff
path: root/source/html/css-apply.c
AgeCommit message (Collapse)Author
2016-11-23Add toggle to enable/disable document styles.Tor Andersson
2016-10-14Be stricter when parsing css length units.Tor Andersson
2016-10-12css: Remove unused variables.Tor Andersson
2016-10-12Use pool allocator when parsing CSS.Tor Andersson
Fixes memory leaks when parsing throws exceptions and saves a lot of tiny mallocs for objects that have common life times.
2016-10-12Bug 696958: parse css hex colors that are missing the '#' prefix.Tor Andersson
2016-10-12Bug 696958: Workarounds for 'rem' and 'ch' units in epub.Tor Andersson
2016-10-10Change HTML agent to use bitfields rather than chars.Robin Watts
Saves 8 bytes on every css_style (and we have a lot of those).
2016-06-17Use 'size_t' instead of int as appropriate.Robin Watts
This silences the many warnings we get when building for x64 in windows. This does not address any of the warnings we get in thirdparty libraries - in particular harfbuzz. These look (at a quick glance) harmless though.
2016-04-26epub: Support page-break-before/after: always, left and right.Tor Andersson
Does not support page-break-before/after: avoid.
2016-04-26epub: Add matching for [att], [att=val] and [att~=val] css selectors.Tor Andersson
2016-04-05epub: Don't conflate dimensioned lengths with untyped numbers.Tor Andersson
2016-02-22html: Don't forget bold/italic when font-family is not set.Tor Andersson
2016-02-10html: Support vertical alignment to top/bottom of parent boxSebastian Rasmussen
Fixes http://bugs.ghostscript.com/show_bug.cgi?id=696004
2016-01-22epub: Implement @font-face rules.Tor Andersson
Note: font->fallback is not reference counted here. The fallback mechanism is probably going to have to change when we add text shaping.
2016-01-21epub: Put font fallback chain in fz_font.Tor Andersson
fz_encode_character_with_fallback finds the first font in the fallback chain that has the glyph encoded, and if none do then try to encode a bullet character.
2016-01-06epub: Speed up css application by sorting the matched property list.Tor Andersson
2016-01-06epub: Optimize CSS selector matching.Tor Andersson
Remove strcpy and strtok calls when matching class conditions.
2016-01-05epub: Speed up CSS style application by using faster strtod.Tor Andersson
CSS doesn't need precision, and doesn't support exponential notation. Use a simpler string to float conversion algorithm, which is magnitudes of order faster.
2015-10-06epub: Implement style 'visibility' attribute.Tor Andersson
2015-09-15epub: Use a fallback font.Tor Andersson
2015-05-19epub: Support !important property declarations.Tor Andersson
2015-05-15epub: Don't inherit font-size textually, despite what the spec says.Tor Andersson
Ignore inheritance on font-size properties altogether. Since we already inherit the font-size during the 'em' calculations when laying out text, inheriting the font-size property textually will result in doubling the effect of any scaling.
2015-05-15epub: Apply @page selector margins.Tor Andersson
2015-05-06WIP: Add debug printing function for generated boxes.Tor Andersson
2015-05-06epub: Add 'auto' as a special number value.Tor Andersson
2015-05-05epub: Parse (and ignore) display: inline-block.Tor Andersson
2015-05-05epub: Ignore syntax errors in HTML tag style attributes.Tor Andersson
2015-05-05epub: Use the correct word order in border style names.Tor Andersson
2015-05-04epub: Parse rgb(x,y,z) type colors.Tor Andersson
2015-05-04epub: Fix 695971: Don't confuse id selectors (#name) with colors in CSS.Tor Andersson
2015-04-27epub: Support individual T,B,L,R border styles and colors.Tor Andersson
2015-04-23epub: Support roman and alphabetic numbering in ordered lists.Tor Andersson
2015-04-20epub: list items with bullets and countersTor Andersson
2015-02-24Update MSVC solution with html entries. Fix windows issues with html.Robin Watts
Add the new source files to the solution. Windows builds whinge about float->double conversions. Fix these with explicit casts. Avoid calling strtof and strcasecmp.
2014-12-03html: Make font-size keywords relative sized based on a 1.2 scaling factor.Tor Andersson
2014-12-03html: Free inline style properties at the end.Tor Andersson
2014-12-03html: Free css structures.Tor Andersson
2014-12-03html: Rename internal css structs.Tor Andersson
2014-12-03html: Rename style, box and flow structs.Tor Andersson
2014-12-03html: Rename rule and style (match) structs.Tor Andersson
2014-12-03html: Namespace prefix CSS functions.Tor Andersson
2014-12-03html: Clean up some names.Tor Andersson
2014-12-03html: Split html parsing cache and state into html_context.Tor Andersson
html_document is now a simple client of html_context.
2014-12-03html: Cleanups.Tor Andersson
2014-12-03html: Border shorthand css parsing.Tor Andersson
2014-12-03html: Borders.Tor Andersson
2014-12-03html: Text and background colors.Tor Andersson
2014-12-03html: Fix adjacency selector matching.Tor Andersson
2014-12-03html: Line breaking and font styling.Tor Andersson
2014-12-03html: Fix bug in percentage from_number calculations.Tor Andersson