[
https://issues.apache.org/jira/browse/WICKET-6052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15068441#comment-15068441
]
ASF GitHub Bot commented on WICKET-6052:
----------------------------------------
GitHub user sebfz1 opened a pull request:
https://github.com/apache/wicket/pull/148
WICKET-6052 CSS header contribution overlap
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sebfz1/wicket WICKET-6052
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/wicket/pull/148.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #148
----
commit 4835bee496ac917ddf0660c1c69fd2f7efd56e68
Author: Sebastien <[email protected]>
Date: 2015-12-20T14:04:59Z
WICKET-6052 CSS header contribution overlap
----
> CSS header contribution overlap
> -------------------------------
>
> Key: WICKET-6052
> URL: https://issues.apache.org/jira/browse/WICKET-6052
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 7.1.0
> Reporter: Sebastien Briquet
> Assignee: Sebastien Briquet
> Attachments: WICKET-6052.zip
>
>
> There is an overlap of css header contribution in the following case:
> A parent panel have a CSS HC (wicket:header + <style type="text/css">), a
> child panel also have a CSS HC.
> If a child panel is completely newly added to the page via an ajax request,
> then the child CSS HC is not taken into account. I guess it is because both
> CSS HC share the same id...
> {code:html}
> <style type="text/css" id="com-mycompany-panel-RedBox-0">
> .box {
> width: 150px;
> border: 2px solid black;
> }
> </style>
> <style type="text/css" id="com-mycompany-panel-RedBox-0">
> .red {
> background-color: red;
> }
> </style>
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)