From 1b68d50ea5a93c0fa4cf5e656795d89fc810e30e Mon Sep 17 00:00:00 2001 From: Kunihiko Sakamoto Date: Fri, 30 Nov 2018 18:02:49 +0000 Subject: [PATCH] Bug 1509775 [wpt PR 14229] - Rename srcset/imgsizes link attributes to imagesrcset/imagesizes, a=testonly Automatic update from web-platform-tests Rename srcset/imgsizes link attributes to imagesrcset/imagesizes This patch renames "srcset" and "imgsizes" attributes on link to "imagesrcset" and "imagesizes" respectively, to match the latest spec PR [1]. Note: this feature is behind experimental-web-platform-features flag. [1] https://github.com/whatwg/html/pull/4048 Bug: 813452 Change-Id: I8eabfbd734e2f29e36b7f7a3c4a32f1237b042b1 Reviewed-on: https://chromium-review.googlesource.com/c/1350414 Reviewed-by: Kouhei Ueno Reviewed-by: Kinuko Yasuda Commit-Queue: Kunihiko Sakamoto Cr-Commit-Position: refs/heads/master@{#610782} -- wpt-commits: a990dff8729c18279154f66650e83f01911216a4 wpt-pr: 14229 --- .../tests/preload/link-header-preload-srcset.tentative.html | 2 +- .../link-header-preload-srcset.tentative.html.headers | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/testing/web-platform/tests/preload/link-header-preload-srcset.tentative.html b/testing/web-platform/tests/preload/link-header-preload-srcset.tentative.html index 0a364b25a00b..70d34e525c1f 100644 --- a/testing/web-platform/tests/preload/link-header-preload-srcset.tentative.html +++ b/testing/web-platform/tests/preload/link-header-preload-srcset.tentative.html @@ -4,7 +4,7 @@ diff --git a/testing/web-platform/tests/preload/link-header-preload-srcset.tentative.html.headers b/testing/web-platform/tests/preload/link-header-preload-srcset.tentative.html.headers index b29f725c804c..1e4e9b85cac9 100644 --- a/testing/web-platform/tests/preload/link-header-preload-srcset.tentative.html.headers +++ b/testing/web-platform/tests/preload/link-header-preload-srcset.tentative.html.headers @@ -1,3 +1,3 @@ -Link: ; rel=preload; as=image; srcset="resources/square.png?2x 2x, resources/square.png?3x 3x" -Link: ; rel=preload; as=image; srcset="resources/square.png?200 200w, resources/square.png?400 400w, resources/square.png?800 800w"; imgsizes=400px -Link: ; rel=preload; as=image; srcset="resources/square.png?150 150w, resources/square.png?300 300w, resources/square.png?600 600w"; imgsizes="(min-width: 300px) 300px, 150px" +Link: ; rel=preload; as=image; imagesrcset="resources/square.png?2x 2x, resources/square.png?3x 3x" +Link: ; rel=preload; as=image; imagesrcset="resources/square.png?200 200w, resources/square.png?400 400w, resources/square.png?800 800w"; imagesizes=400px +Link: ; rel=preload; as=image; imagesrcset="resources/square.png?150 150w, resources/square.png?300 300w, resources/square.png?600 600w"; imagesizes="(min-width: 300px) 300px, 150px"