Skip to content

Commit 3a91bb6

Browse files
committed
docs: updated the deprecated tags in the html
1 parent 2f992e9 commit 3a91bb6

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

src/dev-app/legacy-input/legacy-input-demo.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ <h4>Textarea</h4>
275275
<mat-form-field>
276276
<input matInput>
277277
<mat-label>
278-
I <mat-icon>favorite</mat-icon> <b>bold</b> label
278+
I <mat-icon>favorite</mat-icon> <strong>bold</strong> label
279279
</mat-label>
280280
<mat-hint>
281281
I also <mat-icon>home</mat-icon> <em>italic</em> hint labels

src/dev-app/performance/performance-demo.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<td mat-cell *matCellDef="let item">{{ item.index }}</td>
3838
<td mat-footer-cell *matFooterCellDef>
3939
<ng-container *ngIf="allSamples.length">
40-
<b>Average render time</b>
40+
<strong>Average render time</strong>
4141
</ng-container>
4242
<ng-container *ngIf="!allSamples.length"> No data yet </ng-container>
4343
</td>
@@ -47,7 +47,7 @@
4747
<th mat-header-cell *matHeaderCellDef>Time</th>
4848
<td mat-cell *matCellDef="let item">{{ item.time }}</td>
4949
<td mat-footer-cell *matFooterCellDef>
50-
<b>{{ computedResults }}</b>
50+
<strong>{{ computedResults }}</strong>
5151
</td>
5252
</ng-container>
5353

src/material/schematics/ng-generate/mdc-migration/rules/tree-traversal.spec.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -97,22 +97,22 @@ describe('#visitElements', () => {
9797
});
9898

9999
it('should handle multiple same line', async () => {
100-
runTagNameDuplicationTest('<a></a><b></b>', '<aa></aa><bb></bb>');
100+
runTagNameDuplicationTest('<a></a><strong></strong>', '<aa></aa><bb></bb>');
101101
});
102102

103103
it('should handle multiple same line nested', async () => {
104-
runTagNameDuplicationTest('<a><b></b></a>', '<aa><bb></bb></aa>');
104+
runTagNameDuplicationTest('<a><strong></strong></a>', '<aa><bb></bb></aa>');
105105
});
106106

107107
it('should handle multiple same line nested and unnested', async () => {
108-
runTagNameDuplicationTest('<a><b></b><c></c></a>', '<aa><bb></bb><cc></cc></aa>');
108+
runTagNameDuplicationTest('<a><strong></strong><c></c></a>', '<aa><bb></bb><cc></cc></aa>');
109109
});
110110

111111
it('should handle multiple multi-line', async () => {
112112
runTagNameDuplicationTest(
113113
`
114114
<a></a>
115-
<b></b>
115+
<strong></strong>
116116
`,
117117
`
118118
<aa></aa>
@@ -125,7 +125,7 @@ describe('#visitElements', () => {
125125
runTagNameDuplicationTest(
126126
`
127127
<a>
128-
<b></b>
128+
<strong></strong>
129129
</a>
130130
`,
131131
`
@@ -140,7 +140,7 @@ describe('#visitElements', () => {
140140
runTagNameDuplicationTest(
141141
`
142142
<a>
143-
<b></b>
143+
<strong></strong>
144144
<c></c>
145145
</a>
146146
`,
@@ -160,16 +160,16 @@ describe('#visitElements', () => {
160160
});
161161

162162
it('should handle multiple unnested', async () => {
163-
runAddAttributeTest('<a></a><b></b>', '<a add="val"></a><b add="val"></b>');
163+
runAddAttributeTest('<a></a><strong></strong>', '<a add="val"></a><b add="val"></b>');
164164
});
165165

166166
it('should handle multiple nested', async () => {
167-
runAddAttributeTest('<a><b></b></a>', '<a add="val"><b add="val"></b></a>');
167+
runAddAttributeTest('<a><strong></strong></a>', '<a add="val"><b add="val"></b></a>');
168168
});
169169

170170
it('should handle multiple nested and unnested', async () => {
171171
runAddAttributeTest(
172-
'<a><b></b><c></c></a>',
172+
'<a><strong></strong><c></c></a>',
173173
'<a add="val"><b add="val"></b><c add="val"></c></a>',
174174
);
175175
});

0 commit comments

Comments
 (0)