RFR: JDK-8275406: Add copy-to-clipboard feature to snippet UI [v2]

Jonathan Gibbons jjg at openjdk.java.net
Wed Oct 27 17:08:14 UTC 2021


On Wed, 27 Oct 2021 16:59:57 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:

>> What I mean is that the amended test will now pass for a URL which has an empty fragment but is not a "button".
>
> I think this change is OK for now. We can make it more restrictive later if it becomes a problem.  I tried to come up with a short explanatory comment, but couldn't find one I was satisfied with.

While maybe uncommon and maybe not necessary, it is not bad HTML (is it?) to have an empty fragment.

-------------

PR: https://git.openjdk.java.net/jdk/pull/6011



More information about the build-dev mailing list