[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#350724: konqueror: rendering bug with "position:fixed; bottom:0; display:table"



Package: konqueror
Version: 4:3.5.1-1
Severity: minor

Greetings!

Konqueror hides the fixed footer under the status bar when rendering
the following markup:

<html>
  <head>
    <title>Test Page</title>
  </head>
  <body>
    <p style="height: 2000px;">No text after this paragraph is visible
    in my browser window.</p>

<!-- The next line works in Firefox and Opera but not in Konqueror: -->
    <div style="position: fixed; bottom: 0px; display: table;">

<!-- But the footer is visible if padding is added: -->
<!--
    <div style="position: fixed; bottom: 0px; display: table;
    padding-bottom: 40px;">
-->

<!-- It also works if display: block is used: -->
<!--
    <div style="position: fixed; bottom: 0px; display: block;">
-->

      <ul style="display: table-row;">
        <li style="display: table-cell;">Link One</li>
        <li style="display: table-cell;">Link Two</li>
        <li style="display: table-cell;">Link Three</li>
      </ul>
    </div>
  </body>
</html>

The same happens when serving validated XHTML1.1 as
application/xhtml+xml.

If <div></div> is changed to <p></p>, the footer text appears but
without positioning. An external stylesheet has the same effect.

Maximising and refreshing make no difference.

(I admit that I haven't tried every possible combination of these
options!)

I haven't tried to use this particular CSS combination before, so I
have no way of knowing if the bug existed in earlier Konqueror
versions.

Severity set as "minor" because this is unlikely to affect more than a
tiny number of pages.

-- 
PJR :-)



Reply to: