This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
When replace=true in the directive, the style of the outmost element will be duplicate #13757
Closed
Description
The javascript code:
buildTools.directive('buildStatus', function () {
return {
restrict: 'E',
replace: true,
scope: { },
transclude: true,
template: '<a style="color:#fefefe;">test</a>'
}
});
The html code:
<build-status></build-status>
The render html code:
<a style="color:#fefefe;;color:#fefefe;">test</a>