Bug 1513487 [wpt PR 14475] - Revert "Fix SVG-As-Background sizing", a=testonly
authorShuotao Gao <stgao@chromium.org>
Wed, 19 Dec 2018 11:05:21 +0000
changeset 515000 39b4f64875f6f5e721202a13fdfc000bdd2b02e7
parent 514999 82efdb2446a2f4d154c641a9d0aa99ff6a7d2d47
child 515001 b9180576fd4f5e7e1dc20fd0ac638b4b83e575b3
push id1953
push userffxbld-merge
push dateMon, 11 Mar 2019 12:10:20 +0000
treeherdermozilla-release@9c35dcbaa899 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1513487, 14475, 59554, 855882, 1370486, 615798, 1373285, 615831
milestone66.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1513487 [wpt PR 14475] - Revert "Fix SVG-As-Background sizing", a=testonly Automatic update from web-platform-tests Revert "Fix SVG-As-Background sizing" This reverts commit aed99d7e12bd036ab3ebb4fe522ce8faf347a32f. Reason for revert: Speculative revert for the compile failure on Android and ChromeOS, because this CL is the single CL that shows up in the blamelist of both failed builds. https://ci.chromium.org/p/chromium/builders/luci.chromium.ci/android-rel/5507 https://ci.chromium.org/buildbot/chromium.chrome/Google%20Chrome%20ChromeOS/59554 Original change's description: > Fix SVG-As-Background sizing > > Addresses a TODO where we were snapping the intrinsic size of an SVG image, > even when that is no longer useful. This was posing issues with operations > using aspect ratio, because the computed aspect ratio on the snapped value > was wrong when then used on un-snapped values. > > R=​fs@opera.com > BUG=855882 > > Change-Id: I0c14c0109da4c5ca5e52aebf408e9b702eda799c > Reviewed-on: https://chromium-review.googlesource.com/c/1370486 > Commit-Queue: Stephen Chenney <schenney@chromium.org> > Reviewed-by: Fredrik Söderquist <fs@opera.com> > Cr-Commit-Position: refs/heads/master@{#615798} TBR=fs@opera.com,schenney@chromium.org Change-Id: I6bd43ac3ad23393be353249657566e9080cd69c0 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 855882 Reviewed-on: https://chromium-review.googlesource.com/c/1373285 Reviewed-by: Shuotao Gao <stgao@chromium.org> Commit-Queue: Shuotao Gao <stgao@chromium.org> Cr-Commit-Position: refs/heads/master@{#615831} -- wpt-commits: 05ccfd80aefd912218d2c6d0de94b1e5c4af9804 wpt-pr: 14475
testing/web-platform/tests/css/css-backgrounds/background-size/background-size-cover-svg.html
testing/web-platform/tests/css/css-backgrounds/background-size/reference/background-size-cover-svg-ref.html
testing/web-platform/tests/css/css-backgrounds/background-size/support/rectangle-2560x208.svg
deleted file mode 100644
--- a/testing/web-platform/tests/css/css-backgrounds/background-size/background-size-cover-svg.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-  <title>CSS Background Test: A SVG background should fully cover the positioning area</title>
-  <link rel="author" title="schenney" href="mailto:schenney@chromium.org">
-  <link rel="help" href="http://www.w3.org/TR/css3-background">
-  <link rel="match" href="reference/background-size-cover-svg-ref.html">
-  <style>
-    div {
-      height: 400px;
-      width: 600px;
-      position: relative;
-      background-color: red;
-      background-size: cover;
-      background-repeat: no-repeat;
-      background-position: bottom center;
-      background-image: url("support/rectangle-2560x208.svg");
-    }
-  </style>
-</head>
-
-<body>
-  <div></div>
-</body>
-</html>
deleted file mode 100644
--- a/testing/web-platform/tests/css/css-backgrounds/background-size/reference/background-size-cover-svg-ref.html
+++ /dev/null
@@ -1,22 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-  <title>CSS Background Test Reference</title>
-  <link rel="author" title="schenney" href="mailto:schenney@chromium.org">
-  <style>
-    div {
-      height: 400px;
-      width: 600px;
-      position: relative;
-      background-color: red;
-      background-repeat: repeat;
-      background-position: bottom center;
-      background-image: url("../support/50x50-green.png");
-    }
-  </style>
-</head>
-
-<body>
-  <div></div>
-</body>
-</html>
deleted file mode 100644
--- a/testing/web-platform/tests/css/css-backgrounds/background-size/support/rectangle-2560x208.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2560 208">
-    <rect fill="green" width="2560" height="208"/>
-</svg>