You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
No response
Description
The calendar element has a div element as a child of button element. which is break the html validation rules.
Block elements are not allowed inside inline elements. In this case, the button and img tags are inline elements while div, h3 and p tags are block elements. So, it's still invalid.
Reproduction
Steps to reproduce:
1.
2.
Expected Behavior
Calendar element should not has a div element inside a button element.
Actual Behavior
Calendar element has a div element inside a button element.
Environment
Angular:
CDK/Material:
Browser(s):
Operating System (e.g. Windows, macOS, Ubuntu):
The text was updated successfully, but these errors were encountered:
Inera23
changed the title
bug(COMPONENT): div not allowed as child element of button
bug(CalendarComponent): div not allowed as child element of button
Mar 23, 2023
Is this a regression?
The previous version in which this bug was not present was
No response
Description
The calendar element has a div element as a child of button element. which is break the html validation rules.
Block elements are not allowed inside inline elements. In this case, the button and img tags are inline elements while div, h3 and p tags are block elements. So, it's still invalid.
Reproduction
Steps to reproduce:
1.
2.
Expected Behavior
Calendar element should not has a div element inside a button element.
Actual Behavior
Calendar element has a div element inside a button element.
Environment
The text was updated successfully, but these errors were encountered: