servo/components
Simon Sapin 529164e4a5 Refactor the cascade
Converting the specified value of some properties into a computed value
depends on the value of other properties. For example, the `em` unit
of any length depends on the `font-size` property.

Previously, we would do a first pass over applicable declarations
to build up a `values::computed::Context` struct with a number of fields
for each such piece of data from other properties.

This simplies the struct by instead having it contain the
set of computed values (for a given element) that is being populated
and classify properties into "early" and "other",
such that the only dependencies can be from "other" to "early".
We iterate applicable_declarations twice, first cascading "early" properties
then "other".
Unfortunately, it’s not easy to check that this classification is correct.
2016-03-18 17:09:16 +01:00
..
canvas Bump gleam to 0.2.8 2016-03-09 20:17:08 +01:00
canvas_traits Bump euclid to 0.6.4 2016-03-09 20:15:11 +01:00
compositing Implement support for overscrolling on the Mac. 2016-03-14 11:38:10 -07:00
devtools Indicate components should not be published to crates.io. 2016-03-03 15:04:44 -05:00
devtools_traits Bump url to 0.5.7 2016-03-09 20:15:16 +01:00
gfx Make border radii clip their contents. 2016-03-14 18:32:55 -07:00
gfx_traits Bump euclid to 0.6.4 2016-03-09 20:15:11 +01:00
layout Make border radii clip their contents. 2016-03-14 18:32:55 -07:00
layout_traits Bump url to 0.5.7 2016-03-09 20:15:16 +01:00
msg Bump url to 0.5.7 2016-03-09 20:15:16 +01:00
net Use a match rather than unwrap() in main_fetch. 2016-03-10 14:07:41 +01:00
net_traits Use lazy_static for HOST_TABLE. 2016-03-15 12:02:45 +01:00
plugins Auto merge of #9946 - yoava333:master, r=KiChjang 2016-03-10 04:44:33 +05:30
profile Heartbeats now on crates.io. 2016-03-09 15:47:37 -06:00
profile_traits Heartbeats now on crates.io. 2016-03-09 15:47:37 -06:00
range Indicate components should not be published to crates.io. 2016-03-03 15:04:44 -05:00
script Auto merge of #9967 - saurvs:master, r=Ms2ger 2016-03-12 01:19:04 +05:30
script_traits Bump url to 0.5.7 2016-03-09 20:15:16 +01:00
servo Auto merge of #9987 - larsbergstrom:codegen_units, r=metajack 2016-03-15 20:50:44 +05:30
style Refactor the cascade 2016-03-18 17:09:16 +01:00
style_traits Bump url to 0.5.7 2016-03-09 20:15:16 +01:00
util Allow user to choose between GL and ES2 2016-03-09 16:40:00 -05:00
webdriver_server Bump url to 0.5.7 2016-03-09 20:15:16 +01:00