Commit ca2be1c
committed
fix: update takeAnnotatedScreenshot to handle button elements correctly
- Adjusted the logic to apply and revert outline styles to the host element of a button if the target node is a button.
- Ensured original styles are saved and restored properly for the correct element.1 parent ef9bc35 commit ca2be1c
21 files changed
Lines changed: 236 additions & 125 deletions
File tree
- accessible-data/survey/how-to
- assets
- adding-content-to-a-survey
- creating-a-new-survey
- editing-a-new-survey
- playwright-report
- data
- src/utils
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
0 commit comments