generated from SAP/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(html): Detect deprecated themes in 'href' attributes (#382)
JIRA: CPOUI5FOUNDATION-844
- Loading branch information
1 parent
c9a3ab2
commit 2d4bcfa
Showing
5 changed files
with
117 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
test/fixtures/linter/rules/NoDeprecatedApi/DeprecatedThemeLinkTags.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<!-- Relative Path Test Case --> | ||
<link type="text/css" rel="stylesheet" href="../../../resources/sap/ui/core/themes/sap_bluecrystal/library.css"> | ||
<link type="text/css" rel="stylesheet" href="../../../resources/sap/m/themes/sap_bluecrystal/library.css"> | ||
<link type="text/css" rel="stylesheet" href="../../../resources/sap/m/themes/sap_belize/library.css"> | ||
<link | ||
rel="stylesheet" | ||
type="text/css" | ||
crossorigin="anonymous" | ||
href="../../../../../resources/sap/m/themes/sap_belize/library.css" | ||
id="sap-ui-theme-sap.m"/> | ||
<!-- Absolute Path Test Case--> | ||
<link type="text/css" rel="stylesheet" href="/resources/sap/m/themes/sap_belize/library.css"> | ||
<!-- Negative Test Cases (no deprecation) --> | ||
<link type="text/css" rel="stylesheet" href="/resources/sap/m/themes/sap_horizon/library.css"> | ||
<link type="text/css" rel="stylesheet" href="style.css"> | ||
</head> | ||
<body class="sapUiBody"> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.