Commit d0faebb
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 fcab7e1 commit d0faebb
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 | | |
| |||
223 | 235 | | |
224 | 236 | | |
225 | 237 | | |
226 | | - | |
227 | | - | |
| 238 | + | |
| 239 | + | |
228 | 240 | | |
229 | 241 | | |
230 | 242 | | |
| |||
0 commit comments