On Wed, 20 Oct 2021 14:41:43 GMT, Pavel Rappo <pra...@openjdk.org> wrote:
>> I think this should be ok for the general case. Linking to "#" (i.e. empty >> fragment) is common practice for links that trigger script functions. > > 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. ------------- PR: https://git.openjdk.java.net/jdk/pull/6011