New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTML: <object usemap> is removed #27184
Conversation
(You could imagine more cases by the way such as what happens when the |
Ping @mfreed7 on whether you're interested in this minor |
Yes, I'm definitely interested in this cleanup. We have no use counters, but this seems rather safe. In Chromium, this is made interactive here, but I don't see any other behavioral changes to actually do anything other than that. Happy to remove that. |
This previously just made the <object> element interactive, but no actual usemap-type behavior was implemented. See [1] and [2] for the effort to remove <object usemap> from the spec. If this CL causes a site bug, please make sure to file a bug on crbug.com/new and cc me. [1] whatwg/html#6283 [2] #27184 Fixed: 1182910 Change-Id: I0c7317300b38636cd1144ec776f680a5cd1d6b13
I still don't understand why |
@@ -16,6 +16,7 @@ | |||
<input> | |||
<label>label</label> | |||
<object usemap=""></object> | |||
<object></object> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we could investigate making object interactive, if there's implementer interest, in a separate change. In the meantime, I think you probably want to remove both <object usemap="">
and <object>
from here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with this comment, and I have a chromium CL in progress with just this change, plus one more suggested by @domenic, to clicking-noninteractive-unlabelable-content.html.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That would reduce coverage as this is the only test that found out this was a thing to begin with. Not entirely sure how to restructure it though. Or are you suggesting that because Chrome will add back some kind of coverage?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mfreed7 how about you import all this and land it as part of the Chromium change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, should land soon:
This previously just made the <object> element interactive, but no actual usemap-type behavior was implemented. See [1] and [2] for the effort to remove <object usemap> from the spec. If this CL causes a site bug, please make sure to file a bug on crbug.com/new and cc me. [1] whatwg/html#6283 [2] #27184 Fixed: 1182910 Change-Id: I0c7317300b38636cd1144ec776f680a5cd1d6b13
This previously just made the <object> element interactive, but no actual usemap-type behavior was implemented. See [1] and [2] for the effort to remove <object usemap> from the spec. If this CL causes a site bug, please make sure to file a bug on crbug.com/new and cc me. [1] whatwg/html#6283 [2] #27184 Fixed: 1182910 Change-Id: I0c7317300b38636cd1144ec776f680a5cd1d6b13 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2725443 Commit-Queue: Mason Freed <masonfreed@chromium.org> Commit-Queue: Joey Arhar <jarhar@chromium.org> Auto-Submit: Mason Freed <masonfreed@chromium.org> Reviewed-by: Joey Arhar <jarhar@chromium.org> Cr-Commit-Position: refs/heads/master@{#858634}
This previously just made the <object> element interactive, but no actual usemap-type behavior was implemented. See [1] and [2] for the effort to remove <object usemap> from the spec. If this CL causes a site bug, please make sure to file a bug on crbug.com/new and cc me. [1] whatwg/html#6283 [2] #27184 Fixed: 1182910 Change-Id: I0c7317300b38636cd1144ec776f680a5cd1d6b13 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2725443 Commit-Queue: Mason Freed <masonfreed@chromium.org> Commit-Queue: Joey Arhar <jarhar@chromium.org> Auto-Submit: Mason Freed <masonfreed@chromium.org> Reviewed-by: Joey Arhar <jarhar@chromium.org> Cr-Commit-Position: refs/heads/master@{#858634}
This previously just made the <object> element interactive, but no actual usemap-type behavior was implemented. See [1] and [2] for the effort to remove <object usemap> from the spec. If this CL causes a site bug, please make sure to file a bug on crbug.com/new and cc me. [1] whatwg/html#6283 [2] web-platform-tests/wpt#27184 Fixed: 1182910 Change-Id: I0c7317300b38636cd1144ec776f680a5cd1d6b13 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2725443 Commit-Queue: Mason Freed <masonfreed@chromium.org> Commit-Queue: Joey Arhar <jarhar@chromium.org> Auto-Submit: Mason Freed <masonfreed@chromium.org> Reviewed-by: Joey Arhar <jarhar@chromium.org> Cr-Commit-Position: refs/heads/master@{#858634}
See [1] and [2] for more context, but this just removes more of the test cases that assume <object usemap> is a thing. [1] https://crrev.com/858634 [2] #27184 Bug: 1182910 Change-Id: I6f7bdc6ec33bf9c1cbf3722cd4505a277e1ced56
See [1] and [2] for more context, but this just removes more of the test cases that assume <object usemap> is a thing. [1] https://crrev.com/858634 [2] #27184 Bug: 1182910 Change-Id: I6f7bdc6ec33bf9c1cbf3722cd4505a277e1ced56
See [1] and [2] for more context, but this just removes more of the test cases that assume <object usemap> is a thing. [1] https://crrev.com/858634 [2] #27184 Bug: 1182910 Change-Id: I6f7bdc6ec33bf9c1cbf3722cd4505a277e1ced56 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2729397 Commit-Queue: Mason Freed <masonfreed@chromium.org> Auto-Submit: Mason Freed <masonfreed@chromium.org> Reviewed-by: Joey Arhar <jarhar@chromium.org> Cr-Commit-Position: refs/heads/master@{#859170}
See [1] and [2] for more context, but this just removes more of the test cases that assume <object usemap> is a thing. [1] https://crrev.com/858634 [2] #27184 Bug: 1182910 Change-Id: I6f7bdc6ec33bf9c1cbf3722cd4505a277e1ced56 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2729397 Commit-Queue: Mason Freed <masonfreed@chromium.org> Auto-Submit: Mason Freed <masonfreed@chromium.org> Reviewed-by: Joey Arhar <jarhar@chromium.org> Cr-Commit-Position: refs/heads/master@{#859170}
See [1] and [2] for more context, but this just removes more of the test cases that assume <object usemap> is a thing. [1] https://crrev.com/858634 [2] web-platform-tests/wpt#27184 Bug: 1182910 Change-Id: I6f7bdc6ec33bf9c1cbf3722cd4505a277e1ced56 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2729397 Commit-Queue: Mason Freed <masonfreed@chromium.org> Auto-Submit: Mason Freed <masonfreed@chromium.org> Reviewed-by: Joey Arhar <jarhar@chromium.org> Cr-Commit-Position: refs/heads/master@{#859170}
… a=testonly Automatic update from web-platform-tests Remove "usemap" attribute from <object> This previously just made the <object> element interactive, but no actual usemap-type behavior was implemented. See [1] and [2] for the effort to remove <object usemap> from the spec. If this CL causes a site bug, please make sure to file a bug on crbug.com/new and cc me. [1] whatwg/html#6283 [2] web-platform-tests/wpt#27184 Fixed: 1182910 Change-Id: I0c7317300b38636cd1144ec776f680a5cd1d6b13 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2725443 Commit-Queue: Mason Freed <masonfreed@chromium.org> Commit-Queue: Joey Arhar <jarhar@chromium.org> Auto-Submit: Mason Freed <masonfreed@chromium.org> Reviewed-by: Joey Arhar <jarhar@chromium.org> Cr-Commit-Position: refs/heads/master@{#858634} -- wpt-commits: 92dd8581875d162e26c2951666e8eeeba828f4d6 wpt-pr: 27830
…ct usemap>, a=testonly Automatic update from web-platform-tests More changes related to removal of <object usemap> See [1] and [2] for more context, but this just removes more of the test cases that assume <object usemap> is a thing. [1] https://crrev.com/858634 [2] web-platform-tests/wpt#27184 Bug: 1182910 Change-Id: I6f7bdc6ec33bf9c1cbf3722cd4505a277e1ced56 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2729397 Commit-Queue: Mason Freed <masonfreed@chromium.org> Auto-Submit: Mason Freed <masonfreed@chromium.org> Reviewed-by: Joey Arhar <jarhar@chromium.org> Cr-Commit-Position: refs/heads/master@{#859170} -- wpt-commits: 58a7619139e80cfad0571957031c9872ea89f05f wpt-pr: 27864
… a=testonly Automatic update from web-platform-tests Remove "usemap" attribute from <object> This previously just made the <object> element interactive, but no actual usemap-type behavior was implemented. See [1] and [2] for the effort to remove <object usemap> from the spec. If this CL causes a site bug, please make sure to file a bug on crbug.com/new and cc me. [1] whatwg/html#6283 [2] web-platform-tests/wpt#27184 Fixed: 1182910 Change-Id: I0c7317300b38636cd1144ec776f680a5cd1d6b13 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2725443 Commit-Queue: Mason Freed <masonfreedchromium.org> Commit-Queue: Joey Arhar <jarharchromium.org> Auto-Submit: Mason Freed <masonfreedchromium.org> Reviewed-by: Joey Arhar <jarharchromium.org> Cr-Commit-Position: refs/heads/master{#858634} -- wpt-commits: 92dd8581875d162e26c2951666e8eeeba828f4d6 wpt-pr: 27830 UltraBlame original commit: 84a3cceb690bc31a2578da467f20e17ea702d13a
…ct usemap>, a=testonly Automatic update from web-platform-tests More changes related to removal of <object usemap> See [1] and [2] for more context, but this just removes more of the test cases that assume <object usemap> is a thing. [1] https://crrev.com/858634 [2] web-platform-tests/wpt#27184 Bug: 1182910 Change-Id: I6f7bdc6ec33bf9c1cbf3722cd4505a277e1ced56 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2729397 Commit-Queue: Mason Freed <masonfreedchromium.org> Auto-Submit: Mason Freed <masonfreedchromium.org> Reviewed-by: Joey Arhar <jarharchromium.org> Cr-Commit-Position: refs/heads/master{#859170} -- wpt-commits: 58a7619139e80cfad0571957031c9872ea89f05f wpt-pr: 27864 UltraBlame original commit: 04e5678f1cd485d1b59b54ac2a977d2de9c3d064
… a=testonly Automatic update from web-platform-tests Remove "usemap" attribute from <object> This previously just made the <object> element interactive, but no actual usemap-type behavior was implemented. See [1] and [2] for the effort to remove <object usemap> from the spec. If this CL causes a site bug, please make sure to file a bug on crbug.com/new and cc me. [1] whatwg/html#6283 [2] web-platform-tests/wpt#27184 Fixed: 1182910 Change-Id: I0c7317300b38636cd1144ec776f680a5cd1d6b13 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2725443 Commit-Queue: Mason Freed <masonfreedchromium.org> Commit-Queue: Joey Arhar <jarharchromium.org> Auto-Submit: Mason Freed <masonfreedchromium.org> Reviewed-by: Joey Arhar <jarharchromium.org> Cr-Commit-Position: refs/heads/master{#858634} -- wpt-commits: 92dd8581875d162e26c2951666e8eeeba828f4d6 wpt-pr: 27830 UltraBlame original commit: 84a3cceb690bc31a2578da467f20e17ea702d13a
…ct usemap>, a=testonly Automatic update from web-platform-tests More changes related to removal of <object usemap> See [1] and [2] for more context, but this just removes more of the test cases that assume <object usemap> is a thing. [1] https://crrev.com/858634 [2] web-platform-tests/wpt#27184 Bug: 1182910 Change-Id: I6f7bdc6ec33bf9c1cbf3722cd4505a277e1ced56 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2729397 Commit-Queue: Mason Freed <masonfreedchromium.org> Auto-Submit: Mason Freed <masonfreedchromium.org> Reviewed-by: Joey Arhar <jarharchromium.org> Cr-Commit-Position: refs/heads/master{#859170} -- wpt-commits: 58a7619139e80cfad0571957031c9872ea89f05f wpt-pr: 27864 UltraBlame original commit: 04e5678f1cd485d1b59b54ac2a977d2de9c3d064
… a=testonly Automatic update from web-platform-tests Remove "usemap" attribute from <object> This previously just made the <object> element interactive, but no actual usemap-type behavior was implemented. See [1] and [2] for the effort to remove <object usemap> from the spec. If this CL causes a site bug, please make sure to file a bug on crbug.com/new and cc me. [1] whatwg/html#6283 [2] web-platform-tests/wpt#27184 Fixed: 1182910 Change-Id: I0c7317300b38636cd1144ec776f680a5cd1d6b13 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2725443 Commit-Queue: Mason Freed <masonfreedchromium.org> Commit-Queue: Joey Arhar <jarharchromium.org> Auto-Submit: Mason Freed <masonfreedchromium.org> Reviewed-by: Joey Arhar <jarharchromium.org> Cr-Commit-Position: refs/heads/master{#858634} -- wpt-commits: 92dd8581875d162e26c2951666e8eeeba828f4d6 wpt-pr: 27830 UltraBlame original commit: 84a3cceb690bc31a2578da467f20e17ea702d13a
…ct usemap>, a=testonly Automatic update from web-platform-tests More changes related to removal of <object usemap> See [1] and [2] for more context, but this just removes more of the test cases that assume <object usemap> is a thing. [1] https://crrev.com/858634 [2] web-platform-tests/wpt#27184 Bug: 1182910 Change-Id: I6f7bdc6ec33bf9c1cbf3722cd4505a277e1ced56 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2729397 Commit-Queue: Mason Freed <masonfreedchromium.org> Auto-Submit: Mason Freed <masonfreedchromium.org> Reviewed-by: Joey Arhar <jarharchromium.org> Cr-Commit-Position: refs/heads/master{#859170} -- wpt-commits: 58a7619139e80cfad0571957031c9872ea89f05f wpt-pr: 27864 UltraBlame original commit: 04e5678f1cd485d1b59b54ac2a977d2de9c3d064
This previously just made the <object> element interactive, but no actual usemap-type behavior was implemented. See [1] and [2] for the effort to remove <object usemap> from the spec. If this CL causes a site bug, please make sure to file a bug on crbug.com/new and cc me. [1] whatwg/html#6283 [2] web-platform-tests/wpt#27184 Fixed: 1182910 Change-Id: I0c7317300b38636cd1144ec776f680a5cd1d6b13 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2725443 Commit-Queue: Mason Freed <masonfreed@chromium.org> Commit-Queue: Joey Arhar <jarhar@chromium.org> Auto-Submit: Mason Freed <masonfreed@chromium.org> Reviewed-by: Joey Arhar <jarhar@chromium.org> Cr-Commit-Position: refs/heads/master@{#858634} GitOrigin-RevId: 1d81c3837a4d38837f66fbeb5ace831ddbac3443
See [1] and [2] for more context, but this just removes more of the test cases that assume <object usemap> is a thing. [1] https://crrev.com/858634 [2] web-platform-tests/wpt#27184 Bug: 1182910 Change-Id: I6f7bdc6ec33bf9c1cbf3722cd4505a277e1ced56 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2729397 Commit-Queue: Mason Freed <masonfreed@chromium.org> Auto-Submit: Mason Freed <masonfreed@chromium.org> Reviewed-by: Joey Arhar <jarhar@chromium.org> Cr-Commit-Position: refs/heads/master@{#859170} GitOrigin-RevId: 48d9a631ec91394a77edd16f4dab2172a0388972
Tests for whatwg/html#6283.
So the curious case here is
html/semantics/forms/the-label-element/clicking-interactive-content.html
where browsers fail for<object>
but not<object usemap>
. If I add<span>
or<div>
I get the same results (only the last of the three tests fails) so I suspect that all browsers do have some logic to consider<object usemap>
interactive? Despite Chrome and Safari not supporting<object usemap>
otherwise.