Project

General

Profile

Actions

Bug #100947

closed

Workspace preview in slider mode lets the "staged version" shine through behind "published version" when CSS background(-color) is not set

Added by Gerrit Hübbers over 1 year ago. Updated 4 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Workspaces
Target version:
-
Start date:
2023-06-02
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Stabilization Sprint

Description

(TYPO3 and all extensions on version v11.5.27)

If a page's CSS does not have for the body element the background / background-color / background-image property set to an opaque value, then the "preview version" always shines through behind the "published version", no matter how much the preview slider is moved towards "published version".

Without body background-color ("bad"/ this issue):

With a body background-color:

body {
  background-color: beige;
}

e.g. via the following setup.typoscript:

page.cssInline {
    10 = TEXT
    10.value = body {background-color: beige;}
}

Browsers usually don't set an explicit body background style, hence this issue affects all "minimally set-up" TYPO3 instances using the Workspaces extension.

This issue may cause confusion, as it may appear as if the live version is never shown / as if the live version incorrectly shows the staged version.


Files

Actions

Also available in: Atom PDF