aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/codegen/parser/tests/test_deduplicate.py
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2017-05-25 18:29:52 -0500
committerGitHub <noreply@github.com>2017-05-25 18:29:52 -0500
commita961f6a1eb0c2375e1dae245eeaea849e093f224 (patch)
tree5c8db38ff03c3443d09ca2adb540038a7b7a4b83 /components/script/dom/bindings/codegen/parser/tests/test_deduplicate.py
parent83f82cb4d380f2bdd02f388702d6162af9a3c9bc (diff)
parentce2237e1232e8a2caed2da555fdec7acb2b54c75 (diff)
downloadservo-a961f6a1eb0c2375e1dae245eeaea849e093f224.tar.gz
servo-a961f6a1eb0c2375e1dae245eeaea849e093f224.zip
Auto merge of #17041 - Manishearth:root_font_size, r=emilio
Move root_font_size to the device ComputedValues is heap allocated, and the number of CVs grows with the number of elements, so we should keep it small. The root_font_size is the same for the document, so we should stash it on the device and use that instead. Gecko actually just manually walks up the tree here, but we can't do that. A simple AtomicRefcell should be enough. Nothing else can be styled in parallel with the root so the refcell should never panic. <!-- 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/17041) <!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/bindings/codegen/parser/tests/test_deduplicate.py')
0 files changed, 0 insertions, 0 deletions