layout: Resolve word_spacing ahead of time.

It's not possible anymore, in the presence of min() / max(), to split a
<length-percentage> value into a <length> and a <percentage> component.

Tweak word_spacing to do what Gecko does (resolving it in advance).
This commit is contained in:
Emilio Cobos Álvarez 2020-02-10 16:50:57 +01:00
parent e227715aee
commit f03026b869
No known key found for this signature in database
GPG key ID: E1152D0994E4BF8A
8 changed files with 45 additions and 24 deletions

2
Cargo.lock generated
View file

@ -1751,7 +1751,6 @@ dependencies = [
"log",
"malloc_size_of",
"net_traits",
"ordered-float",
"range",
"serde",
"servo-fontconfig",
@ -5659,7 +5658,6 @@ dependencies = [
"num-integer",
"num-traits",
"num_cpus",
"ordered-float",
"owning_ref",
"parking_lot",
"precomputed-hash",