commit 4b3e952402a82030a2efa11a7ee5a72b641d6b93 parent 126d02deb1c131d2a2bae5523e915f3b4e7e857b Author: Chris Cuellar <58723+ChrisC@users.noreply.github.com> Date: Thu, 8 Jan 2026 17:35:34 +0000 Bug 2005121 [wpt PR 56624] - classifies media elements web features, a=testonly Automatic update from web-platform-tests maps isolated img subdirectories - html/rendering/replaced-elements - html/semantics/embedded-content -- maps isolated "object" subdirectory - html/semantics/embedded-content -- maps isolated "video" subdirectories - html/semantics/embedded-content/media-elements - html/semantics/embedded-content/the-video-element -- maps mixed features in `html/rendering/replaced-elements` -- adds list-syncing comments for `img` classifier -- wpt-commits: 642b9894313b7e898601d85cb04a85d17b75cbc3, b66c725f429d2c0581a6498051be6c478fa3b11c, 9a7b3c119f965a239b709751b7301dbfc3ab2d5c, 4e3cdc7d58fae78c7d46a6c02f13924d60a80d86, 7e9460c1cc89376b258dbf653d115b40a713b253 wpt-pr: 56624 Diffstat:
12 files changed, 81 insertions(+), 3 deletions(-)
diff --git a/testing/web-platform/tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/WEB_FEATURES.yml b/testing/web-platform/tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/WEB_FEATURES.yml @@ -0,0 +1,13 @@ +features: +- name: img + files: + - "img-*" +- name: video + files: + - "video-*" +- name: object + files: + - "object_*" +- name: picture + files: + - "picture-*" diff --git a/testing/web-platform/tests/html/rendering/replaced-elements/embedded-content/WEB_FEATURES.yml b/testing/web-platform/tests/html/rendering/replaced-elements/embedded-content/WEB_FEATURES.yml @@ -1,4 +1,10 @@ features: +- name: video + files: + - "video-*" +- name: object + files: + - "object-*" - name: audio files: - audio-controls-intrinsic-size.html diff --git a/testing/web-platform/tests/html/rendering/replaced-elements/images/WEB_FEATURES.yml b/testing/web-platform/tests/html/rendering/replaced-elements/images/WEB_FEATURES.yml @@ -0,0 +1,4 @@ +features: +- name: img + files: + - "img-*" diff --git a/testing/web-platform/tests/html/rendering/the-css-user-agent-style-sheet-and-presentational-hints/WEB_FEATURES.yml b/testing/web-platform/tests/html/rendering/the-css-user-agent-style-sheet-and-presentational-hints/WEB_FEATURES.yml @@ -0,0 +1,4 @@ +features: +- name: image-maps + files: + - mouse-cursor-imagemap.html diff --git a/testing/web-platform/tests/html/semantics/embedded-content/image-maps/WEB_FEATURES.yml b/testing/web-platform/tests/html/semantics/embedded-content/image-maps/WEB_FEATURES.yml @@ -0,0 +1,3 @@ +features: +- name: image-maps + files: '**' diff --git a/testing/web-platform/tests/html/semantics/embedded-content/media-elements/WEB_FEATURES.yml b/testing/web-platform/tests/html/semantics/embedded-content/media-elements/WEB_FEATURES.yml @@ -1,4 +1,7 @@ features: +- name: video + files: + - video_* - name: preserves-pitch files: - preserves-pitch.html diff --git a/testing/web-platform/tests/html/semantics/embedded-content/the-area-element/WEB_FEATURES.yml b/testing/web-platform/tests/html/semantics/embedded-content/the-area-element/WEB_FEATURES.yml @@ -1,4 +1,10 @@ features: - - name: download - files: - - 'area-download-click.html' +- name: image-maps + files: + - '*' + # Keep exclusions synced with mappings below + - '!area-download-click.html' +- name: download + files: + # Keep in sync with `image-maps` mapping + - 'area-download-click.html' diff --git a/testing/web-platform/tests/html/semantics/embedded-content/the-img-element/WEB_FEATURES.yml b/testing/web-platform/tests/html/semantics/embedded-content/the-img-element/WEB_FEATURES.yml @@ -1,6 +1,26 @@ features: +- name: img + files: + - "*" + # Exclude `loading-lazy`. Keep in sync with `loading-lazy` mappings below. + - "!*loading-lazy*" + - "!image-loading-subpixel-clip.html" + - "!move-element-and-scroll.html" + - "!relevant-mutations-lazy.html" + - "!remove-element-and-scroll.html" + - "!scrolling-below-viewport-image-lazy-loading-in-iframe.html" + # Exclude `base`. Keep in sync with `base` mappings below. + - "!document-adopt-base-url.html" + - "!document-base-url.html" + - "!image-base-url.html" + - "!image-loading-lazy-base-url.html" + # Exclude `srcset`. Keep in sync with `srcset mappings below. + - "!responsive-image-select-print.html" + - "!update-the-source-set.html" + - "!null-image-source.html" - name: loading-lazy files: + # Keep in sync with `img` mappings. - "*loading-lazy*" - image-loading-subpixel-clip.html - move-element-and-scroll.html @@ -9,12 +29,17 @@ features: - scrolling-below-viewport-image-lazy-loading-in-iframe.html - name: base files: + # Keep in sync with `img` mappings. - document-adopt-base-url.html - document-base-url.html - image-base-url.html - image-loading-lazy-base-url.html - name: srcset files: + # Keep in sync with `img` mappings. - responsive-image-select-print.html - update-the-source-set.html - null-image-source.html +- name: image-maps + files: + - usemap-casing.html diff --git a/testing/web-platform/tests/html/semantics/embedded-content/the-img-element/ismap/WEB_FEATURES.yml b/testing/web-platform/tests/html/semantics/embedded-content/the-img-element/ismap/WEB_FEATURES.yml @@ -0,0 +1,3 @@ +features: +- name: image-maps + files: '**' diff --git a/testing/web-platform/tests/html/semantics/embedded-content/the-object-element/WEB_FEATURES.yml b/testing/web-platform/tests/html/semantics/embedded-content/the-object-element/WEB_FEATURES.yml @@ -1,4 +1,8 @@ features: +- name: object + files: + - "*" + - "!object-setcustomvalidity.html" - name: constraint-validation files: - object-setcustomvalidity.html diff --git a/testing/web-platform/tests/html/semantics/embedded-content/the-video-element/WEB_FEATURES.yml b/testing/web-platform/tests/html/semantics/embedded-content/the-video-element/WEB_FEATURES.yml @@ -0,0 +1,3 @@ +features: +- name: video + files: "**" diff --git a/testing/web-platform/tests/uievents/mouse/WEB_FEATURES.yml b/testing/web-platform/tests/uievents/mouse/WEB_FEATURES.yml @@ -0,0 +1,4 @@ +features: +- name: image-maps + files: + - mouse_boundary_events_on_image_map.html