aboutsummaryrefslogtreecommitdiffstats
path: root/x11/kdelibs3/files
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2004-04-29 01:00:54 +0800
committerlofi <lofi@FreeBSD.org>2004-04-29 01:00:54 +0800
commitf0bd7ceb18c8a1debb41377a7875b8d94a3608ce (patch)
treecce97a5f29337e05eab905eb19ca040eeafbb2cc /x11/kdelibs3/files
parent7e08ee2611518b1c2bc987ffaf464c5190518380 (diff)
downloadfreebsd-ports-gnome-f0bd7ceb18c8a1debb41377a7875b8d94a3608ce.tar.gz
freebsd-ports-gnome-f0bd7ceb18c8a1debb41377a7875b8d94a3608ce.tar.zst
freebsd-ports-gnome-f0bd7ceb18c8a1debb41377a7875b8d94a3608ce.zip
Add a patch which fixes a khtml crashbug
( http://bugs.kde.org/show_bug.cgi?id=75806 ). Bump PORTREVISION. Obtained from: KDE CVS
Diffstat (limited to 'x11/kdelibs3/files')
-rw-r--r--x11/kdelibs3/files/patch-khtml-rendering-render_block.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/x11/kdelibs3/files/patch-khtml-rendering-render_block.cpp b/x11/kdelibs3/files/patch-khtml-rendering-render_block.cpp
new file mode 100644
index 000000000000..c8569bd92bfc
--- /dev/null
+++ b/x11/kdelibs3/files/patch-khtml-rendering-render_block.cpp
@@ -0,0 +1,22 @@
+--- khtml/rendering/render_block.cpp 2004/03/01 04:46:27 1.20.2.6
++++ khtml/rendering/render_block.cpp 2004/04/26 21:05:27 1.20.2.7
+@@ -422,14 +422,16 @@ void RenderBlock::layout()
+
+ void RenderBlock::layoutBlock(bool relayoutChildren)
+ {
++ if (isInline() && !isReplacedBlock()) {
++ setLayouted();
++ return;
++ }
++
+ // kdDebug( 6040 ) << renderName() << " " << this << "::layoutBlock() start" << endl;
+ // QTime t;
+ // t.start();
+ KHTMLAssert( !layouted() );
+ KHTMLAssert( minMaxKnown() );
+-
+- if (isInline()) // Inline <form>s inside various table elements can cause us to
+- return; // come in here. Just bail. -dwh
+
+ int oldWidth = m_width;
+