Patrick Walton
215c2a9d4c
layout: Implement CSS linear gradients per the CSS-IMAGES specification.
...
This implements the CSS `linear-gradient` property per the CSS-IMAGES
specification:
http://dev.w3.org/csswg/css-images-3/
Improves GitHub.
2014-11-06 08:26:47 -08:00
bors-servo
39960f32e4
auto merge of #3878 : zwarich/servo/remove-input-fragment, r=jdm
...
Fixes #3724 .
2014-11-03 16:54:31 -07:00
Cameron Zwarich
5043a63284
Remove InputFragment
...
Fixes #3724 .
2014-11-03 15:48:20 -08:00
Martin Robinson
2d72f00ccf
Have ContentBox(es)Queries consult the flow tree
...
Instead of looking at the display tree, have ContentBox(es)Query consult
the flow tree. This allow optimizing away parts of the display tree
later. To do this we need to be more careful about how we send reflow
requests, only querying the flow tree when possible.
Fixes #3790 .
2014-11-03 10:30:28 -08:00
Patrick Walton
587cf98209
layout: Promote absolute positioning, floatedness, and clearance into
...
flags to avoid virtual calls.
These were showing up really high in the maze solver profile.
2014-10-28 19:38:22 -07:00
Patrick Walton
93bf69a6fe
layout: Use the new append_from
method to get rid of a bunch of moves
...
in display list construction.
These were showing up in the profile.
2014-10-28 14:28:34 -07:00
Patrick Walton
de5e2fd5e2
layout: Shrink fragments down from 448 bytes down to 128 bytes.
...
16% performance improvement in layout (!)
2014-10-23 09:13:41 -07:00
Patrick Walton
821793351e
layout: Largely move display list building out to a separate file.
...
`layout::fragment` and `layout::block` were getting too big.
2014-10-22 08:02:17 -07:00