summaryrefslogtreecommitdiff
path: root/css/hints.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix background attribute handling.Michael Drake2016-02-131-1/+1
|
* Add switch case fallthrough comments.Michael Drake2016-02-091-0/+5
|
* Fix body text hint.Michael Drake2016-02-071-0/+25
|
* Rewrite hints handling to be more efficient.Michael Drake2016-02-051-1123/+782
| | | | | | | | | | Now we only look for hints that are actually possible for the given element. This new way of doing things is made possible by the new LibCSS API for hints. This also makes use of the LibDOM HTMLElement tag type to avoid lots of massive if-else-if ladders of dom_string_caseless_isequal calls.
* Change hints handling to use new libcss API.Michael Drake2016-02-051-52/+187
| | | | | | | | | Collect hints and provide them up front. Note this implementation is minimal effort, and quite inefficient. We can be faster about it by walking the element's attributes, and caching things set on ancestor elements which apply to the current element. (Mostly table, and body stuff.)
* Remove duplicate branch.Michael Drake2016-02-051-8/+0
|
* Tidy cellpadding hint handling.Michael Drake2016-02-051-11/+12
|
* Split out presentational hints handling.Michael Drake2016-02-051-0/+1794