mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 02:57:38 +00:00
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
This commit is contained in:
parent
43788c85b9
commit
88270c56e5
@ -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…
Reference in New Issue
Block a user