Patrick Walton
7c5b2d6cb3
layout: Separate out overflow-for-scrolling from overflow-for-paint.
...
Closes #9484 .
2016-02-03 16:06:24 -08:00
Simon Sapin
5498b54347
Add Multicolumn support block fragmentation.
2016-01-28 09:43:14 +01:00
Simon Sapin
359b984348
Multicol: compute the width of columns based on column-width
and column-count
.
2016-01-28 09:43:14 +01:00
Simon Sapin
9abbd1b5d1
Sequentialize assign_block_size for flows that can be fragmented.
...
Fragmentation will be intertwined with block size calculation.
2016-01-28 09:42:17 +01:00
Martin Robinson
8dd664a438
Improve readability of flow tree dump
...
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.
2015-11-23 15:17:32 -08:00
Glenn Watson
339a3f869b
Split Au type into separate crate, with minimal dependencies.
2015-10-01 07:16:11 +10:00
Ravi Shankar
889eec364b
sorted the extern crate, mod & use declarations
2015-09-24 02:12:45 +05:30
Brandon Fairchild
de3547e401
Fix reported test-tidy errors for unmerged import blocks
...
This merges import blocks that were reported by tidy as unmerged.
2015-09-19 12:50:14 -04:00
Manish Goregaokar
54c036cd66
Elide most 'a lifetimes
2015-09-04 08:55:51 +05:30
Johann Tuffe
ec07178b6f
sort all uses
2015-08-20 20:47:12 +08:00
Corey Farwell
6aaada64dc
flow::Flow should follow *_mut naming conventions
...
Fixes #7148
2015-08-18 09:12:01 -04:00
Patrick Walton
ed4172b2c6
layout: Make sure anonymous table flows are statically positioned.
...
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 .
2015-08-06 18:49:07 -07:00
Glenn Watson
9e5687e3e7
Implement offsetParent/Top/Left/Width/Height.
2015-08-03 11:55:38 +10:00
Glenn Watson
7dbffeed20
Fix panic when html element has display: table.
2015-07-31 16:40:06 +10:00
ecoal95
8cbfb3482c
Use euclid from crates.io
2015-06-19 00:04:24 +02:00
Patrick Walton
6a197719b3
compositing: Implement display ports and avoid creating display lists
...
for items outside it.
This improves Servo's performance on large pages.
2015-05-19 16:53:51 -07:00
Patrick Walton
1f0b5889da
layout: Allow inline elements to be containing blocks for
...
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.
2015-05-13 12:00:53 -07:00
Simon Sapin
544a02a250
Refactor flow construction to make float
less of a special case.
2015-04-29 02:47:46 +02:00
Simon Sapin
cc4749373a
Add MulticolFlow and use it for multicol elements.
...
It currently "inherits" from BlockFlow and does not override anything.
2015-04-29 02:29:33 +02:00