WordPress.org

Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #43452


Ignore:
Timestamp:
03/01/2018 05:16:46 PM (4 years ago)
Author:
designsimply
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #43452 – Description

    initial v2  
    1414That the footnote/text with the id attribute will appear at the top of my browser, as it does when logged out:
    1515
    16 [[Image(jump1.gif)]]
     16[[Image(https://cldup.com/X_8HBiRbPd.gif)]]
    1717
    1818=== What happened instead? ===
     
    2020The next line below the targeted text appeared at the top of my browser, as the targeted line itself was behind the admin bar:
    2121
    22 [[Image(jump2.gif)]]
     22[[Image(https://cldup.com/N0GhD2Gj63.gif)]]
    2323
    2424If the target id-attribute is added to a heading this is less noticeable - logged out there's some space between the top of the browser and the heading after the jump, but logged in the heading is flush against the admin bar. It looks like the `padding-top` value used on headings mitigates the effect. That padding is absent if the jump target is inline text or a footnote.