Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Implement type_id as inherent methods. | Ms2ger | 2015-06-22 | 1 | -2/+2 | |
| | | | | | | | This implies LayoutNode no longer needs to return an Option, as it never represents a pseudo-element. Also, fixes lies in the documentation. | |||||
* | Remove fnv & smallvec crate reexports from util | Corey Farwell | 2015-06-10 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | The util component specified fnv and smallvec as dependencies and publicly reexported both of them. Several other components utilized these reexports, presumably because fnv and smallvec used to live in the tree so reexporting made the transition easier. These indirect dependencies through the util component are unnecessary. This commit removes the fnv & smallvec crate reexports in the util component. It exchange, it adds fnv & smallvec as dependencies to non-util components wherever needed. Finally, it removes the fnv dependency from util as it is not utilized anywhere in the util component. | |||||
* | layout: Support inline incremental reflow, and stop reconstructing all | Patrick Walton | 2015-05-19 | 1 | -26/+14 | |
| | | | | | | | flows when mousing over the document. This exposes more "jumpiness" on sites like Hacker News, but the bug that causes it was pre-existing. | |||||
* | Replace TElement::get_link() by specific methods. | Ms2ger | 2015-05-11 | 1 | -2/+2 | |
| | ||||||
* | Upgrade to rustc 551a74dddd84cf01440ee84148ebd18bc68bd7c8. | Simon Sapin | 2015-05-05 | 1 | -2/+2 | |
| | ||||||
* | Make NodeTypeId include CharacterData variant | Jinwoo Song | 2015-04-29 | 1 | -1/+2 | |
| | | | | | | | NodeTypeId is supposed to reflect the WebIDL inheritance hierarchy. All of Text/ProcessingInstruction/Comment inherit from CharacterData, which inherits from Node. There should be a CharacterDataTypeId value that differentiates between those, instead. | |||||
* | Move the sink into util::vec. | Ms2ger | 2015-04-27 | 1 | -23/+3 | |
| | ||||||
* | Avoid creating a vector in can_share_style_with. | Ms2ger | 2015-04-27 | 1 | -2/+23 | |
| | ||||||
* | Create a new infrastructure for presentational hints. | Ms2ger | 2015-04-26 | 1 | -1/+7 | |
| | ||||||
* | Remove some as_slice calls. | Ms2ger | 2015-04-24 | 1 | -2/+2 | |
| | ||||||
* | Adding cmdling argument for disabling style share cache, fix #5581 | Peter | 2015-04-09 | 1 | -0/+4 | |
| | ||||||
* | layout: Implement CSS transitions per CSS-TRANSITIONS § 2. | Patrick Walton | 2015-03-31 | 1 | -24/+56 | |
| | | | | | | | | Transition events are not yet supported, and the only animatable properties are `top`, `right`, `bottom`, and `left`. However, all other features of transitions are supported. There are no automated tests at present because I'm not sure how best to test it, but three manual tests are included. | |||||
* | Use usize for cache indices. | Ms2ger | 2015-03-29 | 1 | -2/+2 | |
| | ||||||
* | Use usize for cache sizes. | Ms2ger | 2015-03-29 | 1 | -2/+2 | |
| | ||||||
* | Use usize in ApplicableDeclarationsCacheQuery's hash method. | Ms2ger | 2015-03-29 | 1 | -1/+1 | |
| | ||||||
* | Replace unsafe_blocks by unsafe_code. | Manish Goregaokar | 2015-03-21 | 2 | -2/+2 | |
| | ||||||
* | Upgrade rustc to d3c49d2140fc65e8bb7d7cf25bfe74dda6ce5ecf/rustc-1.0.0-dev. | Ms2ger | 2015-03-18 | 1 | -6/+6 | |
| | ||||||
* | Fix broken viewport percentage length units after a viewport resize. | James Gilbertson | 2015-03-08 | 1 | -0/+4 | |
| | | | | | | When a viewport is resized, the computed values for a style containing viewport percentage length units become stale. However, there's no way for those styles to be invalidated after a resize. As a solution, this commit invalidates the computed values cache after a resize has occurred, which is probably over-kill. A better solution would probably be to track under what conditions computed values remain valid, and invalidate them as indicated. | |||||
* | auto merge of #5154 : luniv/servo/viewpoint-percent-lengths, r=SimonSapin | bors-servo | 2015-03-05 | 1 | -14/+24 | |
|\ | | | | | | | Spec: http://dev.w3.org/csswg/css-values-3/#viewport-relative-lengths | |||||
| * | Make the initial viewport size available to style::properties::cascade | James Gilbertson | 2015-03-05 | 1 | -14/+24 | |
| | | ||||||
* | | Get rid of servo_util | Dan Fox | 2015-03-05 | 1 | -3/+3 | |
| | | ||||||
* | | layout/layout_data.rs -> layout/data.rs | Dan Fox | 2015-03-03 | 1 | -1/+1 | |
| | | ||||||
* | | Rename util.rs -> layout_data.rs | Dan Fox | 2015-03-03 | 1 | -1/+1 | |
|/ | ||||||
* | Move selector matching to an external library, for use outside Servo. | Simon Sapin | 2015-02-23 | 1 | -4/+4 | |
| | ||||||
* | Fix some warnings in layout. | Ms2ger | 2015-02-12 | 1 | -4/+4 | |
| | ||||||
* | Opt-in rather than opt-out to unsafe blocks in layout. | Ms2ger | 2015-02-08 | 2 | -0/+3 | |
| | ||||||
* | End the libstyle 'pub use' madness. | Simon Sapin | 2015-01-30 | 2 | -6/+10 | |
| | ||||||
* | self import | Manish Goregaokar | 2015-01-28 | 1 | -2/+2 | |
| | ||||||
* | Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev. | Josh Matthews | 2015-01-28 | 1 | -16/+24 | |
| | ||||||
* | Move to to_owned rather than into_string. | Ms2ger | 2015-01-20 | 1 | -1/+2 | |
| | | | | into_string has been removed from Rust. | |||||
* | Pass a Vec to ApplicableDeclarationsCacheEntry::new. | Ms2ger | 2015-01-09 | 1 | -8/+4 | |
| | | | | | As it copies the slice anyway, it is better to give the caller the opportunity to pass in an existing Vec. | |||||
* | Update rustc to revision 2cfb5acb5a2751c759627377e602bac4f88f2d19. | Ms2ger | 2015-01-08 | 2 | -2/+2 | |
| | ||||||
* | Remove some transmute calls. | Ms2ger | 2014-12-27 | 1 | -1/+1 | |
| | ||||||
* | layout: to_string() -> into_string() | Manish Goregaokar | 2014-12-27 | 1 | -1/+1 | |
| | ||||||
* | style: Remove glob imports added in #4405 | Tetsuharu OHZEKI | 2014-12-19 | 1 | -4/+4 | |
| | ||||||
* | Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d. | Ms2ger | 2014-12-17 | 2 | -21/+21 | |
| | ||||||
* | style: Parse the legacy `border` attribute per the legacy HTML specification. | Patrick Walton | 2014-12-15 | 3 | -80/+62 | |
| | | | | | | | Additionally, this patch cleans up some miscellaneous formatting issues and refactors files in `layout/css/` somewhat to eliminate needless levels of indirection. It also fixes our handling of presentational hints that only apply if border is nonzero. | |||||
* | Rust upgrade to rustc hash b03a2755193cd756583bcf5831cf4545d75ecb8a | Jack Moffitt | 2014-11-13 | 1 | -1/+1 | |
| | ||||||
* | layout: Make incremental reflow more fine-grained by introducing "reflow | Patrick Walton | 2014-10-31 | 3 | -88/+45 | |
| | | | | | | out-of-flow" and "reconstruct flow" damage bits. This is needed for good performance on the maze solver. | |||||
* | auto merge of #3838 : pcwalton/servo/style-sharing-enhancements, r=SimonSapin | bors-servo | 2014-10-30 | 1 | -4/+75 | |
|\ | | | | | | | | | | | | | This helps avoid problems with style sharing in common cases, often caused by the user agent stylesheet. r? @SimonSapin | |||||
| * | layout: Support more types of selectors for style sharing. | Patrick Walton | 2014-10-28 | 1 | -4/+75 | |
| | | | | | | | | | | This helps avoid problems with style sharing in common cases, often caused by the user agent stylesheet. | |||||
* | | layout: Actually calculate restyle damage while styling. | Clark Gaebel | 2014-10-29 | 1 | -41/+49 | |
| | | | | | | | | | | | | ...oops. Looks like I forgot to do this. r? @pcwalton | |||||
* | | layout: Make some formatting cleanups. | Patrick Walton | 2014-10-28 | 2 | -13/+14 | |
|/ | | | | These should have no effect on functionality. | |||||
* | Fix whitespace_pre with incremental reflow turned on. | Clark Gaebel | 2014-10-15 | 1 | -10/+1 | |
| | | | | | | This implements fragment merging, in order to incrementally reflow linebroken text. This makes the `whitespace_pre.html` reftest pass with incremental reflow turned on with `-i`. | |||||
* | Removes duplicate CSS selector matching logic. | Clark Gaebel | 2014-10-14 | 1 | -73/+1 | |
| | | | | | | | | | | Now that DOM/Flow traversals have been refactored out, the `recalc_style_for_subtree` function in `css/matching.rs` can be removed, in lieu of just running the standard `recalc_style_for_node` and `construct_flows` traversals sequentially. Now we no longer have the maintenance headache of duplicating selector matching logic in two places! \o/ r? @pcwalton | |||||
* | auto merge of #3640 : cgaebel/servo/incremental-flow-construction, r=pcwalton | bors-servo | 2014-10-14 | 2 | -0/+20 | |
|\ | | | | | | | | | | | This also hides the not-yet-working parts of incremental reflow behind a runtime flag. As I get the failing reftests passing, I'll send pull requests for them one by one. | |||||
| * | try to reset flows which need reflow, since reflow isn't yet idempotent | Clark Gaebel | 2014-10-14 | 2 | -0/+20 | |
| | | ||||||
* | | script: Use atom comparison in more places, especially for attributes. | Patrick Walton | 2014-10-14 | 1 | -7/+10 | |
|/ | | | | 75% improvement in style recalc for Guardians of the Galaxy. | |||||
* | Use Gecko's simpler Bloom filter instead of one based on hash | Patrick Walton | 2014-10-10 | 1 | -21/+8 | |
| | | | | | | | | stretching. This preserves the usage of the Bloom filter throughout style recalc, but the implementation is rewritten. Provides a 15% improvement on Guardians of the Galaxy. | |||||
* | removed restyledamage | Clark Gaebel | 2014-10-09 | 1 | -62/+43 | |
| |