Talk about code development, features, specific bugs, enhancements, patches, and similar things.
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.
This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.
Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
-
adoxa
- Astronaut

- Posts: 557
- Joined: 2019-03-16, 13:26
- Location: Qld, Aus.
Post
by adoxa » 2025-12-08, 14:24
Here's a page that displays a table. It correctly scrolls the body, but the footer is incorrectly positioned, as if the body was using the full height (FF shows it as you'd expect).
Code: Select all
<!DOCTYPE html>
<html>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<head>
<title>Table test</title>
</head>
<body>
<table>
<thead>
<tr><td>Header</td></tr>
</thead>
<tbody style="overflow: hidden auto; display: block; height: 150px;">
<tr><td>
<div>Item 1</div>
<div>Item 2</div>
<div>Item 3</div>
<div>Item 4</div>
<div>Item 5</div>
<div>Item 6</div>
<div>Item 7</div>
<div>Item 8</div>
<div>Item 9</div>
</td></tr>
</tbody>
<tfoot>
<tr><td>Footer</td></tr>
</tfoot>
</table>
</body>
</html>
(This style of table is from the EPG of OpenWebif, used by enigma2-based PVRs.)
-
Michaell
- Lunatic

- Posts: 395
- Joined: 2018-05-26, 18:13
Post
by Michaell » 2025-12-08, 17:14
Removing either the overflow or display parameters makes it look right. Probably a conflict between those two specifications.
Win10home(1709), PM33.9.0.1-portable as of Sep. 24, 2025
-
Moonchild
- Project founder

- Posts: 38665
- Joined: 2011-08-28, 17:27
- Location: Sweden
Post
by Moonchild » 2025-12-08, 17:27
Specifying you want block-level element styling in a non-participating table sub element (thead, tbody and tfoot are logical organisers) I think isn't specified behaviour. You're likely breaking the table layout logic with it.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite