<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>74399</bug_id>
          
          <creation_ts>2004-02-06 20:47:26 +0000</creation_ts>
          <short_desc>Superscript links rendered wrong</short_desc>
          <delta_ts>2004-06-26 15:09:15 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>konqueror</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>unspecified</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Arne Schmitz">arne.schmitz</reporter>
          <assigned_to name="Konqueror Bugs">konqueror-bugs-null</assigned_to>
          <cc>gallir</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>202474</commentid>
    <comment_count>0</comment_count>
    <who name="Arne Schmitz">arne.schmitz</who>
    <bug_when>2004-02-06 20:47:26 +0000</bug_when>
    <thetext>Version:           3.2.0 (using KDE 3.2.0, SuSE)
Compiler:          gcc version 3.3 20030226 (prerelease) (SuSE Linux)
OS:          Linux (i686) release 2.4.20-4GB-athlon

Check out the following page:
http://www.mmweg.rwth-aachen.de/~arne.schmitz/download/test.html
The superscripted links don&apos;t get superscripted, but the normal text does. Seems wrong to me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>202659</commentid>
    <comment_count>1</comment_count>
    <who name="Stephan Kulow">coolo</who>
    <bug_when>2004-02-07 08:57:40 +0000</bug_when>
    <thetext>it&apos;s been this way for a while already :)

*** This bug has been marked as a duplicate of 45548 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>244086</commentid>
    <comment_count>2</comment_count>
    <who name="Germain Garand">germain</who>
    <bug_when>2004-06-26 14:57:04 +0000</bug_when>
    <thetext>not a dupe of 45548.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>244088</commentid>
    <comment_count>3</comment_count>
    <who name="Germain Garand">germain</who>
    <bug_when>2004-06-26 14:57:31 +0000</bug_when>
    <thetext>*** Bug 73232 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>244089</commentid>
    <comment_count>4</comment_count>
    <who name="Germain Garand">germain</who>
    <bug_when>2004-06-26 15:09:13 +0000</bug_when>
    <thetext>CVS commit by ggarand: 

 - polish inline-block/inline-tables
 - fix some vertical-align issues

CCMAIL: 74399-done@bugs.kde.org
 


  M +16 -0     ChangeLog   1.263
  M +3 -2      css/html4.css   1.133
  M +5 -3      rendering/render_object.cpp   1.266
  M +1 -3      rendering/render_table.h   1.105


--- kdelibs/khtml/ChangeLog  #1.262:1.263
@@ -1,2 +1,18 @@
+2004-06-26  Germain Garand  &lt;germain@ebooksfrance.org&gt;
+
+        * css/html4.css: 
+        - do not set vertical-align on the table: it breaks inline-table&apos;s
+        default (baseline). cf.webcore/fast/inline-block/001.html
+        - default all of tbody/tfoot/thead to &apos;vertical-align: middle&apos;
+        as per specification.
+        
+        * rendering/render_object.cpp:
+        (getVerticalPosition): fix inverted logic. cf.unsorted/74399.html
+        (lineHeight/baselinePosition): inline-blocks behaves like replaced elements
+        only after they are layouted.
+
+        * rendering/render_table.h (position): remove empty reimplementation:
+        inline-tables need positioning. cf.webcore/fast/inline-block/001.html
+
 2004-06-22  Zack Rusin  &lt;zack@kde.org&gt;
 

--- kdelibs/khtml/rendering/render_table.h  #1.104:1.105
@@ -114,6 +114,4 @@ public:
     virtual void setCellWidths( );
 
-    virtual void position(InlineBox *, int, int, bool) {}
-
     virtual void calcWidth();
 

--- kdelibs/khtml/rendering/render_object.cpp  #1.265:1.266
@@ -1601,5 +1601,5 @@ short RenderObject::getVerticalPosition(
             vpos = -style()-&gt;verticalAlignLength().width( lineHeight( firstLine ) );
         } else {
-            bool checkParent = parent()-&gt;isInline() &amp;&amp; parent()-&gt;isReplacedBlock();
+            bool checkParent = parent()-&gt;isInline() &amp;&amp; !parent()-&gt;isReplacedBlock();
             vpos = checkParent ? parent()-&gt;verticalPositionHint( firstLine ) : 0;
             // don&apos;t allow elements nested inside text-top to have a different valignment.
@@ -1644,5 +1644,6 @@ short RenderObject::lineHeight( bool fir
     // box, then the fact that we&apos;re an inline-block is irrelevant, and we behave
     // just like a block.
-    if (isReplaced())
+
+    if (isReplaced() &amp;&amp; (!isInlineBlockOrInlineTable() || layouted()))
         return height()+marginTop()+marginBottom();
 
@@ -1673,5 +1674,6 @@ short RenderObject::baselinePosition( bo
     // box, then the fact that we&apos;re an inline-block is irrelevant, and we behave
     // just like a block.
-    if (isReplaced())
+
+    if (isReplaced() &amp;&amp; (!isInlineBlockOrInlineTable() || layouted()))
         return height()+marginTop()+marginBottom();
 

--- kdelibs/khtml/css/html4.css  #1.132:1.133
@@ -182,5 +182,4 @@
         display: table;
         border-collapse: separate;
-        vertical-align: middle;
         text-align: -khtml-auto;
         border-spacing: 2px;
@@ -196,10 +195,11 @@
         display: table-header-group;
         border-color: inherit;
+        vertical-align: middle;
 }
 
 TBODY {
         display: table-row-group;
-        vertical-align: inherit;
         border-color: inherit;
+        vertical-align: middle;
 }
 
@@ -207,4 +207,5 @@
         display: table-footer-group;
         border-color: inherit;
+        vertical-align: middle;
 }
 


</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>