I checked in a bad fix. This is correct. I have had Chris K. check it over.
Migrains will do that to you. for bug 18039 git-svn-id: svn://10.0.0.236/trunk@53035 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
9c89d26c52
commit
bd3e148ac8
@ -5406,8 +5406,8 @@ nsCSSFrameConstructor::ContentAppended(nsIPresContext* aPresContext,
|
||||
// WipeContainingBlock because it will throw away the entire selct frame and
|
||||
// start over which is something we do not want to do
|
||||
//
|
||||
nsCOMPtr<nsIDOMHTMLSelectElement> selectContent(do_QueryInterface(blockContent));
|
||||
if (selectContent) {
|
||||
nsCOMPtr<nsIDOMHTMLSelectElement> selectContent(do_QueryInterface(aContainer));
|
||||
if (!selectContent) {
|
||||
if (WipeContainingBlock(aPresContext, state, blockContent, adjustedParentFrame,
|
||||
frameItems.childList)) {
|
||||
return NS_OK;
|
||||
|
||||
@ -5406,8 +5406,8 @@ nsCSSFrameConstructor::ContentAppended(nsIPresContext* aPresContext,
|
||||
// WipeContainingBlock because it will throw away the entire selct frame and
|
||||
// start over which is something we do not want to do
|
||||
//
|
||||
nsCOMPtr<nsIDOMHTMLSelectElement> selectContent(do_QueryInterface(blockContent));
|
||||
if (selectContent) {
|
||||
nsCOMPtr<nsIDOMHTMLSelectElement> selectContent(do_QueryInterface(aContainer));
|
||||
if (!selectContent) {
|
||||
if (WipeContainingBlock(aPresContext, state, blockContent, adjustedParentFrame,
|
||||
frameItems.childList)) {
|
||||
return NS_OK;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user