[ 
https://issues.apache.org/jira/browse/WICKET-6890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17823296#comment-17823296
 ] 

ASF subversion and git services commented on WICKET-6890:
---------------------------------------------------------

Commit c42afcd1dedf9ffb99f3aa7628768b5c79743a23 in wicket's branch 
refs/heads/master from Thomas Heigl
[ https://gitbox.apache.org/repos/asf?p=wicket.git;h=c42afcd1de ]

WICKET-6890 Introduce strategy for class name debug output (#781)

* WICKET-6890 Introduce strategy for class name debug output

* WICKET-6890 Support setting class output strategy via JMX

* WICKET-6890 JavaDoc

---------

Co-authored-by: Martin Grigorov <marti...@users.noreply.github.com>

> Render debug setting 'outputMarkupContainerClassName` as an attribute
> ---------------------------------------------------------------------
>
>                 Key: WICKET-6890
>                 URL: https://issues.apache.org/jira/browse/WICKET-6890
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket-core
>            Reporter: Martin Tzvetanov Grigorov
>            Assignee: Martin Tzvetanov Grigorov
>            Priority: Major
>             Fix For: 10.0.0-M1
>
>
> 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
> {code:java}
> p + p {color: red;} {code}
>  
> 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to