SIGN IN SIGN UP

LibWeb/CSS: Cache size containers on Length::ResolutionContext

Avoid repeatedly searching the ancestor chain for a size container
element. Instead, cache the horizontal and vertical containers on the
ResolutionContext, so that anyone using the same ResolutionContext
avoids repeated lookups. For example, StyleComputer uses the same one
to compute all the properties of the same element.
S
Sam Atkins committed
0c633ebf53f5293da3006d4199251a562dd7759f
Parent: c306dac