-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[4.0] Transition of Joomla's Wrapper module and component from HTML4 to HTML5 #20212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@dgrammatiko can this work together with #18916? |
|
merge it and I will update the other PR |
|
We need to take care here on upgrades, because after the upgrade the width and height are still added in numbers only without px. So either in the code we do some checks or an upgrade script should be added. Like it is now we have a BC break we can avoid. |
|
@BaleshSrle are you willing to do the update scripts that we can test it and merge? |
|
@laoneo should this PR be closed or wait for Response? |
Because the width of the scrollbars vary from browser to browser I don't think that this instruction is acceptable for users. A No should be a No without otherwise necessary fine tunings. As discussed earlier in other issues/prs you should additionally set the HTML-4 attribute "scrollbar=no" as fallback (like the rest of the world does, too) as long as there is no CSS solution or HTML5 solution for all supported browsers provided. |
|
In the current stage I would not merge it. If @BaleshSrle is willing to update it, then I would leave it open. |
Pull Request for Issue # .
Summary of Changes
Made a transition in Joomla's WRAPPER Module and Component from HTML4 to HTML5 standard.
Testing Instructions
Using "px" or "%" in "height" field (required by HTML5 standard).
If scrollbars do appear after selecting "No" option in "Scroll Bars" while creating wrapper element, you need to change the dimensions of wrapper element (ie. height and/or width of wrapper element).
Expected result
To work flawlessly.
Documentation Changes Required
Need to modify 6 files to work without any problems or hiccups:
modules/mod_wrapper/mod_wrapper.xml
modules/mod_wrapper/mod_wrapper.php
modules/mod_wrapper/Helper/WrapperHelper.php
modules/mod_wrapper/tmpl/default.php
components/com_wrapper/tmpl/wrapper/default.xml
components/com_wrapper/tmpl/wrapper/default.php