aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlbodyelement.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2017-10-05 09:22:24 -0500
committerGitHub <noreply@github.com>2017-10-05 09:22:24 -0500
commit00a2f55e5f39f8f077b83d43caf4710fa0647f76 (patch)
treecaf7df082e56fd41cabd858942a7ae8ca2b98fb7 /components/script/dom/htmlbodyelement.rs
parent139055fca32de5e5a30161112752294770bdf67f (diff)
parent72497330a9cb97ba19360d959125deffda980c9c (diff)
downloadservo-00a2f55e5f39f8f077b83d43caf4710fa0647f76.tar.gz
servo-00a2f55e5f39f8f077b83d43caf4710fa0647f76.zip
Auto merge of #18761 - emilio:custom-props-iter, r=SimonSapin
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. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18761) <!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/htmlbodyelement.rs')
0 files changed, 0 insertions, 0 deletions