Task #42246

Story #41672: as developer, I want to make sure that CSS is cleanly encapsulated (i.e. site CSS does not change the UI css)

Use same DOM hierarchy for logged in backend user and public and do not render content editing classes in public frontend

Added by Christopher Hlubek almost 3 years ago. Updated almost 3 years ago.

Status:New Start date:
Priority:Must have Due date:
Assigned To:- % Done:

0%

Category:- Spent time: -
Target version:-

Description

Basically the output has to be the same for a logged in user or a rendered page for every visitor. We should strive for the same DOM structure to prevent hard to find styling issues, because CSS could depend on the hierarchy.

A Section renders a div around the content only if logged in. We need a configurable tag element for the Section (with attributes) and should always render it for consistency.

Also available in: Atom PDF