Page MenuHomePhabricator

Page menus are occasional rendered after page header instead of before it
Closed, ResolvedPublicBUG REPORT

Assigned To
Authored By
Huji
Jul 6 2022, 2:05 AM
Referenced Files
F35310064: image.png
Jul 6 2022, 10:18 PM
F35310069: image.png
Jul 6 2022, 10:18 PM
F35308696: Screen Shot 2022-07-05 at 9.57.42 PM.png
Jul 6 2022, 2:05 AM
F35308692: image.png
Jul 6 2022, 2:05 AM
F35308690: Screen Shot 2022-07-05 at 9.57.00 PM.png
Jul 6 2022, 2:05 AM

Description

List of steps to reproduce (step by step, including full links if applicable):
Cannot be consistently reproduced. I saw it twice for two different articles in the last 4 hours on fawiki. Latest occurrence was on this article. It gets resolved with page refresh.

What happens?:
The page's header appears after the page's menu.

Screen Shot 2022-07-05 at 9.57.00 PM.png (240×1 px, 66 KB)

What should have happened instead?:

image.png (184×1 px, 43 KB)

Other information:

I took a screenshot of the HTML source of the page, and the <h1> tag is indeed placed before the <div> tag for the menu:

Screen Shot 2022-07-05 at 9.57.42 PM.png (352×1 px, 143 KB)

The bug doesn't seem to be at the HTML level; maybe it is at the CSS level? Or maybe it is browser-specific? I saw this on Firefox 101.

Event Timeline

This just happened again for me.

Page output:

image.png (410×1 px, 174 KB)

Page DOM:

image.png (334×1 px, 119 KB)

The issue even sustained after several page refreshes

I am starting to think this is a feature and not a bug. Is that so?

We've reordered the tabs to appear below the title.
This is being done as part of T311773.

However, given the way we cache HTML to maintain site reliability it's possible to see the old state while we transition over (unless you ?action=purge). Is this what you are seeing?

Huji claimed this task.

I think that was it.