Commit b30fb841 authored by hyatt's avatar hyatt

Fix for 3136473. <object>s with no specified size should be

	0x0.  They should not be 300x200.  Fixes thinker.org.

        Reviewed by john and darin.

        * khtml/rendering/render_frames.cpp:
        (RenderPart::intrinsicWidth):
        (RenderPart::intrinsicHeight):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3238 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent ba021ece
2003-01-02 David Hyatt <hyatt@apple.com>
Fix for 3136473. <object>s with no specified size should be
0x0. They should not be 300x200. Fixes thinker.org.
Reviewed by john and darin.
* khtml/rendering/render_frames.cpp:
(RenderPart::intrinsicWidth):
(RenderPart::intrinsicHeight):
2003-01-02 Darin Adler <darin@apple.com>
Reviewed by Maciej and Trey.
......
2003-01-02 David Hyatt <hyatt@apple.com>
Fix for 3136473. <object>s with no specified size should be
0x0. They should not be 300x200. Fixes thinker.org.
Reviewed by john and darin.
* khtml/rendering/render_frames.cpp:
(RenderPart::intrinsicWidth):
(RenderPart::intrinsicHeight):
2003-01-02 Darin Adler <darin@apple.com>
Reviewed by Maciej and Trey.
......
......@@ -585,12 +585,22 @@ bool RenderPart::partLoadingErrorNotify(khtml::ChildFrame *, const KURL& , const
short RenderPart::intrinsicWidth() const
{
// KDE may need a non-zero width here, although this will mess up pages (e.g., thinker.org).
#if APPLE_CHANGES
return 0;
#else
return 300;
#endif
}
int RenderPart::intrinsicHeight() const
{
// KDE may need a non-zero height here, although this will mess up pages (e.g., thinker.org).
#if APPLE_CHANGES
return 0;
#else
return 200;
#endif
}
void RenderPart::slotViewCleared()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment