Commit 59b93ec
committed
fix(template-no-nested-interactive): allow interactive content in <details> body panel
During the rebase that introduced isSummaryFirstChildOfDetails, the
broader isAllowedDetailsChild check was lost. The disclosed panel of
<details> is flow content — interactive children after <summary> are
valid and must not be flagged. Restores isAllowedDetailsChild as a
wrapper that delegates the <summary>-position check to
isSummaryFirstChildOfDetails.1 parent b7cfff0 commit 59b93ec
1 file changed
Lines changed: 14 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
68 | 80 | | |
69 | 81 | | |
70 | 82 | | |
| |||
213 | 225 | | |
214 | 226 | | |
215 | 227 | | |
216 | | - | |
217 | | - | |
| 228 | + | |
| 229 | + | |
218 | 230 | | |
219 | 231 | | |
220 | 232 | | |
| |||
0 commit comments