-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Obsolete <object usemap> #6283
Obsolete <object usemap> #6283
Conversation
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.
Some content model stuff is wrong, I think, but otherwise very nice catch.
source
Outdated
@@ -116901,6 +116887,10 @@ interface <dfn>HTMLFontElement</dfn> : <span>HTMLElement</span> { | |||
<code>object</code> element must <span>reflect</span> the element's <code | |||
data-x="attr-object-codetype">codetype</code> content attribute.</p> | |||
|
|||
<p>The <dfn><code data-x="dom-object-useMap">useMap</code></dfn> IDL attribute of the | |||
<code>object</code> element must <span>reflect</span> the element's <code | |||
data-x="attr-object-usemap">usemap</code> content attribute.</p> |
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.
To confirm, this part is implemented in Chrome (and probably inherited from Safari).
6d2aaad
to
174fa71
Compare
@cdumez @mfreed7 per web-platform-tests/wpt#27184 it seems there is some |
As I just commented, I'm supportive of removing |
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
It does not appear to be implemented by Chrome or Safari.
174fa71
to
fd34400
Compare
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}
I filed #6434 on the difference between |
… 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
… 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
… 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
… 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
https://bugs.webkit.org/show_bug.cgi?id=222642 LayoutTests/imported/w3c: Reviewed by Antti Koivisto. As per whatwg/html#6283, <object usemap> should no longer be supported. IDL support is kept per spec like other obsolete attributes. * web-platform-tests/html/semantics/forms/the-label-element/clicking-noninteractive-unlabelable-content-expected.txt: Source/WebCore: Reviewed by Antti Koivisto. As per whatwg/html#6283, <object usemap> should no longer be supported. IDL support is kept per spec like other obsolete attributes. * html/HTMLObjectElement.cpp: (WebCore::HTMLObjectElement::isURLAttribute const): (WebCore::HTMLObjectElement::addSubresourceAttributeURLs const): (WebCore::HTMLObjectElement::isInteractiveContent const): Deleted. * html/HTMLObjectElement.h: Source/WebKit: Patch by Carlos Garcia Campos <cgarcia@igalia.com> on 2021-11-11 Reviewed by Antti Koivisto. Remove support for usemap attribute in GTK DOM API adding a warning message instead. * WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLObjectElement.cpp: (webkit_dom_html_object_element_get_use_map): (webkit_dom_html_object_element_set_use_map): LayoutTests: Reviewed by Antti Koivisto. As per whatwg/html#6283, <object usemap> should no longer be supported. IDL support is kept per spec like other obsolete attributes. * imported/blink/fast/forms/label/label-contains-other-interactive-content-expected.txt: * imported/blink/fast/forms/label/label-contains-other-interactive-content.html: Canonical link: https://commits.webkit.org/244139@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@285638 268f45cc-cd09-0410-ab3c-d52691b4dbfc
https://bugs.webkit.org/show_bug.cgi?id=222642 LayoutTests/imported/w3c: Reviewed by Antti Koivisto. As per whatwg/html#6283, <object usemap> should no longer be supported. IDL support is kept per spec like other obsolete attributes. * web-platform-tests/html/semantics/forms/the-label-element/clicking-noninteractive-unlabelable-content-expected.txt: Source/WebCore: Reviewed by Antti Koivisto. As per whatwg/html#6283, <object usemap> should no longer be supported. IDL support is kept per spec like other obsolete attributes. * html/HTMLObjectElement.cpp: (WebCore::HTMLObjectElement::isURLAttribute const): (WebCore::HTMLObjectElement::addSubresourceAttributeURLs const): (WebCore::HTMLObjectElement::isInteractiveContent const): Deleted. * html/HTMLObjectElement.h: Source/WebKit: Patch by Carlos Garcia Campos <cgarcia@igalia.com> on 2021-11-11 Reviewed by Antti Koivisto. Remove support for usemap attribute in GTK DOM API adding a warning message instead. * WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLObjectElement.cpp: (webkit_dom_html_object_element_get_use_map): (webkit_dom_html_object_element_set_use_map): LayoutTests: Reviewed by Antti Koivisto. As per whatwg/html#6283, <object usemap> should no longer be supported. IDL support is kept per spec like other obsolete attributes. * imported/blink/fast/forms/label/label-contains-other-interactive-content-expected.txt: * imported/blink/fast/forms/label/label-contains-other-interactive-content.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@285638 268f45cc-cd09-0410-ab3c-d52691b4dbfc
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
It does not appear to be implemented by Chrome or Safari, except for the fact that it makes
object
interactive.(See WHATWG Working Mode: Changes for more details.)
/dom.html ( diff )
/iframe-embed-object.html ( diff )
/image-maps.html ( diff )
/indices.html ( diff )
/obsolete.html ( diff )