Replace `div` inside `button`

Created on 13 March 2024, 11 months ago

Problem/Motivation

The HTML specification does not allow a div element inside a button element, as is done in clipboardjs-textfield.html.twig.

Proposed resolution

Replace this element with a span element.

Ultimately, it would be a good idea to remove that wrapper element altogether, but that could cause compatibility issues with styles.

Remaining tasks

Agree on change. Implement.

User interface changes

None.

API changes

None.

Data model changes

None.

🐛 Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

🇨🇦Canada Liam Morland Ontario, CA 🇨🇦

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024