User tests: Successful: Unsuccessful:
Pull Request for Issue # .
This PR will remove the obsolete <div id="system-message"></div>
from layout/joomla/system/message.php
This id was used in J3 plugin installer_webinstaller. It is not used in the J4 version anymore.
Therefor this element is obsolete and can be removed.
This PR will also remove the obsolete styling for this removed element.
/index.php/author-login
with an alertEmpty password not allowed.
The HTML of this alert is:
<div id="system-message-container" aria-live="polite"><joomla-alert type="warning" dismiss="true" class="joomla-alert--show" role="alert"><button class="joomla-alert--close" aria-label="Close"><span aria-hidden="true">×</span></button><div class="alert-heading"><span class="warning"></span><span class="sr-only">Warning</span></div><div class="alert-wrapper"><div class="alert-message">Empty password not allowed.</div></div></joomla-alert></div>
Press the X to close the alert
You are able to close the alert.
The HTML of the closed alert is:
<div id="system-message-container" aria-live="polite"><div id="system-message"></div></div>
You are able to close the alert.
The HTML of the closed alert is:
<div id="system-message-container" aria-live="polite"></div>
Without the obsolete div
element you can properly use the css :empty
trigger to remove a margin between succeeding elements. No JS needed.
Status | New | ⇒ | Pending |
Category | ⇒ | Repository NPM Change Layout Front End Templates (site) |
I have tested this item
OK
Status | Pending | ⇒ | Ready to Commit |
RTC
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-10-22 14:02:54 |
Closed_By | ⇒ | chmst | |
Labels |
Added:
?
|
Thanks!
PR joomla/cassiopeia#194 is created to fix obsolete margin in Cassiopeia