mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Bug 847850. Redirect all display item lists to the content list inside of text control frames so no content can escape out to mingle with the rest of the page content. r=roc
This commit is contained in:
parent
2e8169cda2
commit
99126b52ad
@ -1470,7 +1470,11 @@ nsTextControlFrame::BuildDisplayList(nsDisplayListBuilder* aBuilder,
|
||||
DisplayBorderBackgroundOutline(aBuilder, aLists);
|
||||
|
||||
nsIFrame* kid = mFrames.FirstChild();
|
||||
nsDisplayListSet set(aLists, aLists.Content());
|
||||
// Redirect all lists to the Content list so that nothing can escape, ie
|
||||
// opacity creating stacking contexts that then get sorted with stacking
|
||||
// contexts external to us.
|
||||
nsDisplayList* content = aLists.Content();
|
||||
nsDisplayListSet set(content, content, content, content, content, content);
|
||||
|
||||
while (kid) {
|
||||
// If the frame is the placeholder frame, we should only show it if the
|
||||
|
Loading…
Reference in New Issue
Block a user