Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
As discussed at https://markmail.org/message/uoxxlnbz56ex7vuk when org.apache.wicket.settings.DebugSettings#isOutputMarkupContainerClassName() returns true then the MarkupContainer class name should be rendered as an attribute of the component tag instead of as an HTML comment because an HTML comment may break a CSS rule, e.g. by appearing between two sibling HTML elements
p + p {color: red;}
The CSS rule above will change the text color of any paragraph that follows another paragraph. But if an HTML comment appears between them then the rule won't apply.
Attachments
Issue Links
- links to