Skip to content
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

Closed
wants to merge 1 commit into from
Closed

HTML: <object usemap> is removed #27184

wants to merge 1 commit into from

Conversation

annevk
Copy link
Member

@annevk annevk commented Jan 14, 2021

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.

@annevk
Copy link
Member Author

annevk commented Jan 14, 2021

(You could imagine more cases by the way such as what happens when the object element does have a nested browsing context and whether that is considered interactive. Generally coverage seems pretty poor.)

@domenic
Copy link
Member

domenic commented Jan 21, 2021

Ping @mfreed7 on whether you're interested in this minor <object> cleanup.

@mfreed7
Copy link
Contributor

mfreed7 commented Feb 26, 2021

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.

chromium-wpt-export-bot pushed a commit that referenced this pull request Mar 1, 2021
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
@annevk
Copy link
Member Author

annevk commented Mar 1, 2021

I still don't understand why object would not be interactive, while embed and iframe are though.

@@ -16,6 +16,7 @@
<input>
<label>label</label>
<object usemap=""></object>
<object></object>
Copy link
Member

@domenic domenic Mar 1, 2021

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.

Copy link
Contributor

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.

Copy link
Member Author

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?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see, 1844f17 by @mfreed7 does indeed seem to do that. Right?

Copy link
Member Author

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?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@annevk, sure, I'm happy to. CL in progress here.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, should land soon:

#27864

chromium-wpt-export-bot pushed a commit that referenced this pull request Mar 1, 2021
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
chromium-wpt-export-bot pushed a commit that referenced this pull request Mar 1, 2021
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}
chromium-wpt-export-bot pushed a commit that referenced this pull request Mar 1, 2021
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}
pull bot pushed a commit to Alan-love/chromium that referenced this pull request Mar 1, 2021
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}
chromium-wpt-export-bot pushed a commit that referenced this pull request Mar 2, 2021
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
chromium-wpt-export-bot pushed a commit that referenced this pull request Mar 2, 2021
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
chromium-wpt-export-bot pushed a commit that referenced this pull request Mar 2, 2021
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}
chromium-wpt-export-bot pushed a commit that referenced this pull request Mar 3, 2021
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}
blueboxd pushed a commit to blueboxd/chromium-legacy that referenced this pull request Mar 3, 2021
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}
@annevk
Copy link
Member Author

annevk commented Mar 3, 2021

Closing as this was superseded by #27830 and #27864. Thanks @mfreed7!

@annevk annevk closed this Mar 3, 2021
@annevk annevk deleted the annevk/object-usemap branch March 3, 2021 07:54
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Mar 15, 2021
… 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
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Mar 15, 2021
…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
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Mar 15, 2021
… 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
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Mar 15, 2021
…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
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Mar 15, 2021
… 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
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Mar 15, 2021
…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
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this pull request Mar 15, 2021
… 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
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this pull request Mar 15, 2021
…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
mjfroman pushed a commit to mjfroman/moz-libwebrtc-third-party that referenced this pull request Oct 14, 2022
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
mjfroman pushed a commit to mjfroman/moz-libwebrtc-third-party that referenced this pull request Oct 14, 2022
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants