aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/layout_thread.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2016-03-12 02:42:10 +0530
committerbors-servo <lbergstrom+bors@mozilla.com>2016-03-12 02:42:10 +0530
commit71b1122e97303c51bac73d03d8af617069a75d21 (patch)
tree8b3263927365a986a7fe6b1268cdc552d5443743 /components/layout/layout_thread.rs
parent00ab2e9f9e5457375c38bbc349ae26db92fae578 (diff)
parent5104d8244f6936bd5b78bb6b4ced86219237d6c8 (diff)
downloadservo-71b1122e97303c51bac73d03d8af617069a75d21.tar.gz
servo-71b1122e97303c51bac73d03d8af617069a75d21.zip
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 -->
Diffstat (limited to 'components/layout/layout_thread.rs')
0 files changed, 0 insertions, 0 deletions