php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #77105 Use position:sticky for <th> in `phpinfo()`
Submitted: 2018-11-04 18:17 UTC Modified: -
From: mrdanwallis at gmail dot com Assigned:
Status: Closed Package: Unknown/Other Function
PHP Version: Irrelevant OS: N/A
Private report: No CVE-ID: None
 [2018-11-04 18:17 UTC] mrdanwallis at gmail dot com
Description:
------------
Modern browsers now support a new CSS 'position': sticky. This allows elements to "stick" to (near) the edges of the view-port while users scroll. This is particularly useful for headings and footers.

Given the length of some of the tables produced by `phpinfo()`, I would like to see this property applied to relevant table headers. This will increase usability for supporting browsers, while loosing nothing for browsers that do not support the property.

For more details, including a working demo, see:
https://developer.mozilla.org/en-US/docs/Web/CSS/position

For browser support, see:
https://caniuse.com/#feat=css-sticky

Test script:
---------------
<?php phpinfo();


Patches

Add a Patch

Pull Requests

Pull requests:

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-11-05 13:28 UTC] petk@php.net
Automatic comment on behalf of mrdanwallis@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=eb1233533eb8946e9f400ec016fb5eab861150f3
Log: Fix #77105: Use position:sticky for &lt;th&gt; in `phpinfo()`
 [2018-11-05 13:28 UTC] petk@php.net
-Status: Open +Status: Closed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 03:01:28 2024 UTC