input type=image need to create their "alt" text
b=24778 r=kmcclusk git-svn-id: svn://10.0.0.236/trunk@72371 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
134a4a2d66
commit
3910c6d504
@ -10186,8 +10186,8 @@ nsCSSFrameConstructor::CantRenderReplacedElement(nsIPresShell* aPresShell,
|
||||
parentFrame->FirstChild(aPresContext, listName, &firstChild);
|
||||
nsFrameList frameList(firstChild);
|
||||
|
||||
// See whether it's an IMG or an OBJECT element
|
||||
if (nsHTMLAtoms::img == tag.get()) {
|
||||
// See whether it's an IMG or an INPUT element (for image buttons)
|
||||
if (nsHTMLAtoms::img == tag.get() || nsHTMLAtoms::input == tag.get()) {
|
||||
// It's an IMG element. Try and construct an alternate frame to use when the
|
||||
// image can't be rendered
|
||||
nsIFrame* newFrame;
|
||||
|
||||
@ -10186,8 +10186,8 @@ nsCSSFrameConstructor::CantRenderReplacedElement(nsIPresShell* aPresShell,
|
||||
parentFrame->FirstChild(aPresContext, listName, &firstChild);
|
||||
nsFrameList frameList(firstChild);
|
||||
|
||||
// See whether it's an IMG or an OBJECT element
|
||||
if (nsHTMLAtoms::img == tag.get()) {
|
||||
// See whether it's an IMG or an INPUT element (for image buttons)
|
||||
if (nsHTMLAtoms::img == tag.get() || nsHTMLAtoms::input == tag.get()) {
|
||||
// It's an IMG element. Try and construct an alternate frame to use when the
|
||||
// image can't be rendered
|
||||
nsIFrame* newFrame;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user