aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/table_cell.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* Rework the way scroll roots are collectedMartin Robinson2017-01-101-6/+2
| | | | | | | | | | | | Collect scroll roots during the collect_stacking_context phase instead of during display list construction. This will be useful in order to collect containing block scroll roots as well as to give scroll roots sequential ids in the future. This change also pulls stacking context children out of the StackingContext struct itself, which should reduce very slightly the memory used by the finished display list. This also simplifies the DisplayListBuilder because it no longer has to maintain a stack of ScrollRootIds and StackingContextIds and can instead just rely on the program stack.
* Add the HTMLTableCellElement::rowspan propertyMatt Brubeck2016-12-141-0/+5
|
* Migrated -Z trace-layout to serde_jsonShing Lyu2016-11-071-2/+2
|
* Use a new id type for tracking scrolling areasMartin Robinson2016-10-301-2/+5
| | | | | | This is a step in disassociating scrolling areas from stacking contexts. Now scroll areas are defined by unique ids, which means that in the future stacking context will be able to contain more than one.
* layout: Refactor `Flow::from_fragment`-style constructors to bePatrick Walton2016-10-261-1/+10
| | | | consistent.
* layout: Don't try to vertically align absolutely positioned children ofPatrick Walton2016-10-131-34/+45
| | | | | | table rows. Improves http://reddit.com/r/aww.
* Simplify stacking context collectionMartin Robinson2016-09-271-6/+2
| | | | | | | | | | Simplify the way that stacking contexts are collected. Instead of passing the StackingContextId down the tree, pass the parent StackingContext itself. This will allow future patches to get more information about the parent stacking context (such as location). Also remove the return value of collect_stacking_contexts, which was unused.
* Pass SharedLayoutContext to Flow::compute_absolute_position.Ms2ger2016-08-241-2/+2
|
* Update Rust to 1.12.0-nightly (545a3a94f 2016-08-04)Anthony Ramine2016-08-051-1/+0
|
* Remove dead code from table_cell.rsSamuel Harrington2016-07-301-3/+0
|
* Fix table vertical alignment (middle, bottom, not yet baseline) with ↵Adam Casey2016-07-261-0/+7
| | | | | | | differing height cells Includes reftest for this behaviour Patch fixes margin-collapse-clear-002,3,8,9
* Remove some type aliases that are now just re-exports.Simon Sapin2016-07-201-1/+1
|
* Remove the ComputedValue traits and style_struct_traitsSimon Sapin2016-07-201-1/+1
|
* Correct negative margins in centered table cellsMichael Howell2016-07-061-0/+4
| | | | Fixes @AelitaBot queue viewer page
* Move util::print_tree to gfx_traitsAnthony Ramine2016-07-041-1/+1
|
* Pass SharedStyleContext to assign_inline_sizes.Ms2ger2016-06-221-4/+4
|
* Pass SharedStyleContext to propagate_assigned_inline_size_to_children.Ms2ger2016-06-221-1/+1
|
* Pass SharedStyleContext to compute_used_inline_size.Ms2ger2016-06-221-1/+2
|
* Move LayoutNode and related traits to script_layout_interface.Ms2ger2016-06-201-1/+1
|
* Introduce a script_layout_interface crate and move RestyleDamage to it.Ms2ger2016-06-201-1/+1
|
* script: Keep the DOM-side viewport up to date when scrolling happens inPatrick Walton2016-05-311-1/+2
| | | | | | | | | | | | | | | WebRender. This happens asynchronously, just as it does in non-WebRender mode. This functionality is a prerequisite for doing proper display-list-based hit testing in WebRender, since it moves the scroll offsets into Servo (and, specifically, into the script thread, enabling iframe event forwarding) instead of keeping them private to WebRender. Requires servo/webrender_traits#55 and servo/webrender#277. Partially addresses #11108.
* Report use statements that use {} with only one entryCullen Rhodes2016-05-271-1/+1
|
* Add support for vertical alignment within table cells.Michael Howell2016-04-201-2/+39
| | | | Fixes #10621
* Renamed TComputedValues to ComputedValuesPer Lundberg2016-03-291-1/+1
| | | | This is a followup to #10210, and a continuation of #10185.
* ComputedValues is now ServoComputedValuesPer Lundberg2016-03-271-2/+2
| | | | This is the first part of #10185. More to follow. I have built this locally with both servo and geckolib without errors; let's see if it succeeds on all platforms as well.
* Parameterize the rest of the style system on TNode.Bobby Holley2016-03-241-1/+1
|
* Remove lifetimes from LayoutNode and friends.Bobby Holley2016-03-141-1/+1
|
* gfx: Box stacking contexts to minimize `memmove` traffic.Patrick Walton2016-03-031-1/+1
| | | | | | `memmove` was showing up high in the profile when concatenating and shorting display lists. This change drastically reduces the `memmove` cost in exchange for some minor additional allocation cost.
* Flatten display list structureMartin Robinson2016-03-011-6/+11
| | | | | | | | | | | | | | | | | | | | | | | Instead of producing a tree of stacking contexts, display list generation now produces a flat list of display items and a tree of stacking contexts. This will eventually allow display list construction to produce and modify WebRender vertex buffers directly, removing the overhead of display list conversion. This change also moves layerization of the display list to the paint thread, since it isn't currently useful for WebRender. To accomplish this, display list generation now takes three passes of the flow tree: 1. Calculation of absolute positions. 2. Collection of a tree of stacking contexts. 3. Creation of a list of display items. After collection of display items, they are sorted based upon the index of their parent stacking contexts and their position in CSS 2.1 Appendeix E stacking order. This is a big change, but it actually simplifies display list generation.
* Move util::logical_geometry to styleAnthony Ramine2016-02-181-1/+1
|
* layout: Separate out overflow-for-scrolling from overflow-for-paint.Patrick Walton2016-02-031-2/+2
| | | | Closes #9484.
* Add Multicolumn support block fragmentation.Simon Sapin2016-01-281-2/+4
|
* Generalize the rest of layout to operate on generic Layout*.Bobby Holley2015-11-281-5/+3
| | | | | | | There wasn't a good way to split this up, unfortunately. With this change, the only remaining usage of the Servo-specific structures is in layout_task, where the root node is received from the script task. \o/
* Improve readability of flow tree dumpMartin Robinson2015-11-231-0/+5
| | | | | | | Use the PrintTree utility to improve the readability of flow tree dumps. Blocks and fragments are now split over two dump levels, because otherwise they are impenetrable. Also start printing the restyle damage of fragments.
* Rename ThreadSafeLayoutFoo to ServoThreadSafeLayoutFoo and ↵Bobby Holley2015-11-211-2/+2
| | | | TThreadSafeLayoutFoo to ThreadSafeLayoutFoo.
* Hoist exported ThreadSafeLayoutFoo functionality into traits.Bobby Holley2015-11-211-1/+1
|
* Introduce a get_colspan method on LayoutJS<Element>.Ms2ger2015-11-151-3/+1
|
* Split Au type into separate crate, with minimal dependencies.Glenn Watson2015-10-011-1/+1
|
* Fix reported test-tidy errors for unmerged import blocksBrandon Fairchild2015-09-191-7/+6
| | | | This merges import blocks that were reported by tidy as unmerged.
* Elide most 'a lifetimesManish Goregaokar2015-09-041-5/+5
|
* sort all usesJohann Tuffe2015-08-201-1/+1
|
* layout: Make table cells' minimum inline sizes override explicitlyPatrick Walton2015-08-181-1/+1
| | | | | | specified widths if the latter are too small. Improves ebay.com.
* flow::Flow should follow *_mut naming conventionsCorey Farwell2015-08-181-5/+4
| | | | Fixes #7148
* layout: Make sure anonymous table flows are statically positioned.Patrick Walton2015-08-061-1/+1
| | | | | | | | | | The failing `float-applies-to-*` CSS 2.1 tests never really should have been passing in the first place; they depend on floats inside fixed-layout tables working properly, which they don't. Closes #6078. Closes #6709. Closes #6858.
* Implement offsetParent/Top/Left/Width/Height.Glenn Watson2015-08-031-1/+2
|
* Replace the StyledNode trait with inherent methods.Ms2ger2015-07-271-1/+0
|
* Use euclid from crates.ioecoal952015-06-191-1/+1
|
* rust-geom API changesCorey Farwell2015-06-131-2/+2
| | | | https://github.com/servo/rust-geom/pull/81
* compositing: Implement display ports and avoid creating display listsPatrick Walton2015-05-191-4/+4
| | | | | | for items outside it. This improves Servo's performance on large pages.
* layout: Allow inline elements to be containing blocks forPatrick Walton2015-05-131-4/+4
| | | | | | | | | | absolutely-positioned elements. This also implements a little bit of the infrastructure needed to support for fragmentation via support for multiple positioned fragments in one flow. Improves Google.