Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: WICKET-6890

...

PushHeaderItem class has been moved to package org.apache.wicket.markup.head.http2.

Render MarkupContainer class name as an attribute WICKET-6890

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.

For example: 

With CSS rule like p + p {color: red;} then the text color of any paragraph that follows another paragraph will be red. But if an HTML comment appears between them then the rule won't apply.


Dependencies

Wicket 10 requires Java 11

...