servo/components
bors-servo 71b1122e97 Auto merge of #9969 - mbrubeck:quotes-036, r=pcwalton
Don't re-resolve already-resolved generated content

This fixes #7846, a failure in the "quotes-036.htm" test. Servo lays out this test correctly in its initial layout, but then messes it up in any relayout (whether it's an incremental or full layout).

The problem is that the ResolveGeneratedContent traversal is not safe to run more than once on the same flow. It mutates some GeneratedContent fragments into ScannedText fragments, but leaves others unmodified (in particular, those that generate empty content). The next time layout runs, these remaining GeneratedContent fragments are processed *again* but with an incorrect correct quote nesting level (because some of the surrounding GeneratedContent fragments are gone).

This patch ensures that each GeneratedContent fragment is resolved only once.

r? @pcwalton

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9969)
<!-- Reviewable:end -->
2016-03-12 02:42:10 +05:30
..
canvas Bump gleam to 0.2.8 2016-03-09 20:17:08 +01:00
canvas_traits Bump euclid to 0.6.4 2016-03-09 20:15:11 +01:00
compositing Bump gleam to 0.2.8 2016-03-09 20:17:08 +01:00
devtools Indicate components should not be published to crates.io. 2016-03-03 15:04:44 -05:00
devtools_traits Bump url to 0.5.7 2016-03-09 20:15:16 +01:00
gfx Auto merge of #9962 - mrobinson:display-list-simplification, r=pcwalton 2016-03-11 11:22:29 +05:30
gfx_traits Bump euclid to 0.6.4 2016-03-09 20:15:11 +01:00
layout Auto merge of #9969 - mbrubeck:quotes-036, r=pcwalton 2016-03-12 02:42:10 +05:30
layout_traits Bump url to 0.5.7 2016-03-09 20:15:16 +01:00
msg Bump url to 0.5.7 2016-03-09 20:15:16 +01:00
net Use a match rather than unwrap() in main_fetch. 2016-03-10 14:07:41 +01:00
net_traits Auto merge of #9907 - nikkisquared:async_tests, r=jdm 2016-03-10 08:59:07 +05:30
plugins Auto merge of #9946 - yoava333:master, r=KiChjang 2016-03-10 04:44:33 +05:30
profile Heartbeats now on crates.io. 2016-03-09 15:47:37 -06:00
profile_traits Heartbeats now on crates.io. 2016-03-09 15:47:37 -06:00
range Indicate components should not be published to crates.io. 2016-03-03 15:04:44 -05:00
script Auto merge of #9967 - saurvs:master, r=Ms2ger 2016-03-12 01:19:04 +05:30
script_traits Bump url to 0.5.7 2016-03-09 20:15:16 +01:00
servo Auto merge of #9781 - jdm:refactor_gle, r=glennw 2016-03-11 02:53:59 +05:30
style Auto merge of #9824 - danlrobertson:element1, r=asajeffrey 2016-03-12 00:19:24 +05:30
style_traits Bump url to 0.5.7 2016-03-09 20:15:16 +01:00
util Allow user to choose between GL and ES2 2016-03-09 16:40:00 -05:00
webdriver_server Bump url to 0.5.7 2016-03-09 20:15:16 +01:00