aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
++ ++ + diff --git a/layout/xul/base/src/nsSliderFrame.cpp b/layout/xul/base/src/nsSliderFrame.cpp index 7bb773ccb6c..006b483045d 100644 --- a/layout/xul/base/src/nsSliderFrame.cpp +++ b/layout/xul/base/src/nsSliderFrame.cpp @@ -587,8 +587,19 @@ nsSliderFrame::HandleEvent(nsPresContext* aPresContext, // if (aEvent->message == NS_MOUSE_EXIT_SYNTH || aEvent->message == NS_MOUSE_RIGHT_BUTTON_UP || aEvent->message == NS_MOUSE_LEFT_BUTTON_UP) // HandleRelease(aPresContext, aEvent, aEventStatus); - if (aEvent->message == NS_MOUSE_EXIT_SYNTH && mChange) - HandleRelease(aPresContext, aEvent, aEventStatus); + if (aEvent->message == NS_MOUSE_EXIT_SYNTH && mChange) { + // XXX This is wrong behavior. We shouldn't stop handling dragging by + // mouseexit event. + // On Windows, can continue to change the value when mouse cursor is + // moved back to the slider button. + // On Linux (GTK), even if the mouse cursor existed from slider button, + // kept to change the value. (confirmed on Ubuntu 10.10) + // On Mac, like Windows, when mouse cursor is moved back to the button, + // restart to change the value. However, Mac's slider can use the other + // direction button too. + HandleRelease(aPresContext, aEvent, aEventStatus); + nsIPresShell::SetCapturingContent(nsnull, 0); + } return nsFrame::HandleEvent(aPresContext, aEvent, aEventStatus); } diff --git a/parser/htmlparser/public/nsHTMLTagList.h b/parser/htmlparser/public/nsHTMLTagList.h index 898edf1615c..1dcccfc38db 100644 --- a/parser/htmlparser/public/nsHTMLTagList.h +++ b/parser/htmlparser/public/nsHTMLTagList.h @@ -129,7 +129,6 @@ HTML_TAG(image, Span) HTML_TAG(img, Image) HTML_TAG(input, Input) HTML_TAG(ins, Mod) -HTML_TAG(isindex, IsIndex) HTML_HTMLELEMENT_TAG(kbd) HTML_TAG(keygen, Span) HTML_TAG(label, Label) diff --git a/parser/htmlparser/src/nsElementTable.cpp b/parser/htmlparser/src/nsElementTable.cpp index b01a4944785..fc8bc76c586 100644 --- a/parser/htmlparser/src/nsElementTable.cpp +++ b/parser/htmlparser/src/nsElementTable.cpp @@ -757,15 +757,6 @@ const nsHTMLElement gHTMLElements[] = { /*special props, prop-range*/ 0, kDefaultPropRange, /*special parents,kids*/ 0,0, }, - { - /*tag*/ eHTMLTag_isindex, - /*requiredAncestor*/ eHTMLTag_unknown,eHTMLTag_unknown, - /*rootnodes,endrootnodes*/ &gRootTags,&gRootTags, - /*autoclose starttags and endtags*/ 0,0,0,0, - /*parent,incl,exclgroups*/ kBlock, kFlowEntity, kNone, - /*special props, prop-range*/ kNonContainer|kRequiresBody,kDefaultPropRange, - /*special parents,kids*/ &gInBody,0, - }, { /*tag*/ eHTMLTag_kbd, /*req-parent excl-parent*/ eHTMLTag_unknown,eHTMLTag_unknown, diff --git a/parser/htmlparser/src/nsHTMLTags.cpp b/parser/htmlparser/src/nsHTMLTags.cpp index 0ed6b74154f..e672382c35f 100644 --- a/parser/htmlparser/src/nsHTMLTags.cpp +++ b/parser/htmlparser/src/nsHTMLTags.cpp @@ -173,8 +173,6 @@ static const PRUnichar sHTMLTagUnicodeName_input[] = {'i', 'n', 'p', 'u', 't', '\0'}; static const PRUnichar sHTMLTagUnicodeName_ins[] = {'i', 'n', 's', '\0'}; -static const PRUnichar sHTMLTagUnicodeName_isindex[] = - {'i', 's', 'i', 'n', 'd', 'e', 'x', '\0'}; static const PRUnichar sHTMLTagUnicodeName_kbd[] = {'k', 'b', 'd', '\0'}; static const PRUnichar sHTMLTagUnicodeName_keygen[] = diff --git a/toolkit/content/widgets/findbar.xml b/toolkit/content/widgets/findbar.xml index 9902622ee7e..a297cb70256 100644 --- a/toolkit/content/widgets/findbar.xml +++ b/toolkit/content/widgets/findbar.xml @@ -1359,7 +1359,6 @@ if (elt instanceof HTMLTextAreaElement || elt instanceof HTMLSelectElement || - elt instanceof HTMLIsIndexElement || elt instanceof HTMLObjectElement || elt instanceof HTMLEmbedElement) return false;