aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlbodyelement.rs
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <emilio@crisal.io>2017-10-05 13:56:07 +0200
committerEmilio Cobos Álvarez <emilio@crisal.io>2017-10-05 14:08:04 +0200
commit72497330a9cb97ba19360d959125deffda980c9c (patch)
treec0da791aa156ccdc580979fe2de11a3422afee89 /components/script/dom/htmlbodyelement.rs
parent9bf299bba9cd24c25200503fce2c19047eeb1b90 (diff)
downloadservo-72497330a9cb97ba19360d959125deffda980c9c.tar.gz
servo-72497330a9cb97ba19360d959125deffda980c9c.zip
style: Iterate in the expected order in the custom_properties module.
In #18745, I replaced a few manual iterations over `index` with the iterator, and it changed the behavior of `layout/style/test/test_variables_order.html`, since it turns out that the iterator iterates right to left. I think this is just an accident that happened due to inconsistencies in how we were iterating over it, and that our behavior was inconsistent (since we iterated rtl in some cases, but ltr in others seems like it'd be inconsistent depending on the depth of the tree and different stuff). This brings back the expected behavior again, and ensures we iterate over a consistent order every time.
Diffstat (limited to 'components/script/dom/htmlbodyelement.rs')
0 files changed, 0 insertions, 0 deletions