aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/layout/construct.rs
Commit message (Collapse)AuthorAgeFilesLines
* Cargoify servoJack Moffitt2014-09-081-1049/+0
|
* Add support for backgrounds on inline elements. Fix fixup() by removing it.Glenn Watson2014-08-271-18/+20
| | | | | | | | | The code that managed ranges was buggy - failing on edge cases such as a span within a span. I have refactored the code so that the context information for inline formatting can optionally be stored within a fragment. This seems cleaner to me, and fixes the bugs encountered when making these changes by removing the need for the fixup() functionality (and ranges).
* Refactor how LayoutContext structure works (reduce TLS lookups + simplify ↵Glenn Watson2014-08-111-40/+12
| | | | | | | | | | | | fns used by seq/parallel code paths). - LayoutContext is renamed to SharedLayoutContext. - SharedLayoutContext is immutable. - LayoutContext is a wrapper around SharedLayoutContext + access to local caches (font, style etc). - Creating a LayoutContext does a single local_data lookup to fetch the cache information. - Android shares same implementation of context.rs as other platforms. - LayoutContext can be used from both green thread (parallel layout) and native thread (sequential layout). - Removes the need for other types (such as FontContext, StyleSharingCandidateCache etc) to be passed around.
* Upgrade Rust.Jack Moffitt2014-08-021-1/+1
|
* Change layout to handle whitespace between inline elements in HTML file.Glenn Watson2014-07-311-12/+9
| | | | This matches the behaviour of other browsers.
* Used rust-url directly instead of servo_util::urlSimon Sapin2014-07-211-5/+4
| | | | The latter now only calls the former.
* Move is_image_data() where it’s used.Simon Sapin2014-07-211-1/+2
|
* Convert layout code to use logical directions.Simon Sapin2014-07-181-9/+9
|
* Split layout code into a separate crate.Josh Matthews2014-06-281-0/+1078