Bug 1535053 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

There appear to be some cases where I observe different styling behavior on each refresh. I am filing in Core :: CSS Parsing and Computation as it feels like some styling data is being cached or there's a race somewhere.

Firefox 67.0a1 (2019-03-10)
macOS 10.14.3

STR:

1. Load https://styling-toggle-firefox.glitch.me/ with DevTools closed
2. The displayed output might look like either attachment A or B
  * For me, a regular refresh (Cmd-R) usually triggers variant A, but a hard refresh (Cmd-Shift-R) triggers variant B, but it is not consistent
3. Opening the DevTools inspector may also affect styling
4. If you are seeing variant A (letters raised), you should be able to inspect an element with class `mx_BaseAvatar_initial` and toggle any property off and back to on, which seems to force a style update and changes to variant B (letters centered)
  * If you try this experiment many times, you should close DevTools before refreshing. Simply having DevTools open affects cache timing and may cause the issue to not appear.

ER:

The styling output should look the same in all cases.

AR:

There seems to be a race somewhere that affects styling on initial page load.
There appear to be some cases where I observe different styling behavior on each refresh. I am filing in Core :: CSS Parsing and Computation as it feels like some styling data is being cached or there's a race somewhere.

Firefox 67.0a1 (2019-03-10)
macOS 10.14.3

STR:

1. Load https://styling-toggle-firefox.glitch.me/ with DevTools closed
2. The displayed output might look like either attachment A or B
    * For me, a regular refresh (Cmd-R) usually triggers variant A, but a hard refresh (Cmd-Shift-R) triggers variant B, but it is not consistent
3. Opening the DevTools inspector may also affect styling
4. If you are seeing variant A (letters raised), you should be able to inspect an element with class `mx_BaseAvatar_initial` and toggle any property off and back to on, which seems to force a style update and changes to variant B (letters centered)
    * If you try this experiment many times, you should close DevTools before refreshing. Simply having DevTools open affects cache timing and may cause the issue to not appear.

ER:

The styling output should look the same in all cases.

AR:

There seems to be a race somewhere that affects styling on initial page load.

Back to Bug 1535053 Comment 0