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
Height and width styles are not taken into account in attributes of html templates #142
Comments
Problem is coming from the layout manager that does not check that a width or/and an height are already there on the wrapper div. It just try to recompute some sizes, even if you don't use some, and erase any existing value |
Reverted by the commit d542653 due to introducing a regression on a demo page (unable to scroll, cross-browser). |
Commit dd0c8b7 is linked to this issue. |
@susant123 Wouldn't it be a good idea to add a unit test so that there is no regression in the future? Please also have a look to my comment here, and maybe find a fix for that case as well. |
fix ariatemplates#142 height and width style attribute in html templates (Resetting height and width to blank once loading indicator is removed) fix ariatemplates#142 height and style attribute in html templates(Resetting height and width to blank once loading indicator is removed)
…l templates" This reverts commit a40d1e8.
See my remark in 695fbfa |
When defining the style attributes in a html:template, seems like the height and width properties are either parsed out or removed afterwards.
Consider this code:
Once the dom is generated, here is the result:
Thanks for your help
The text was updated successfully, but these errors were encountered: