From 68e9d5a78d5ef823e37acbf4659eae9ea873ca3b Mon Sep 17 00:00:00 2001 From: Daniil Sakhapov Date: Wed, 8 Feb 2023 15:04:50 -0800 Subject: [PATCH] Revert "Support offset-path: ray() function and ." MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 3c01fdf8ab19fe9aa0792dae6626423926f9dd55. Reason for revert: Speed and security issues. Original change's description: > Support offset-path: ray() function and . > > As per https://drafts.fxtf.org/motion/#offset-path-property > when offset-path is specified with ray() function and offset-distance > is expressed as a percentage, the part of the property should > define the path length. > > The contain param makes the box be enclosed by circle with the radius > equal to path length. > > Fixed: 641245 > Change-Id: Ia0687fb012b2bee2eafeb6d160542e455e816e66 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4219014 > Reviewed-by: Fredrik Söderquist > Commit-Queue: Daniil Sakhapov > Cr-Commit-Position: refs/heads/main@{#1101601} Change-Id: Ib71f43fb75946b81b808f84e3627d6de3b65ef33 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4234498 Reviewed-by: Ian Kilpatrick Commit-Queue: Daniil Sakhapov Bot-Commit: Rubber Stamper Cr-Commit-Position: refs/heads/main@{#1102973} --- css/motion/offset-path-ray-contain-004-ref.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/css/motion/offset-path-ray-contain-004-ref.html b/css/motion/offset-path-ray-contain-004-ref.html index 2d624457afabe2..38b0d44fb1f002 100644 --- a/css/motion/offset-path-ray-contain-004-ref.html +++ b/css/motion/offset-path-ray-contain-004-ref.html @@ -15,7 +15,7 @@ height: 100px; background-color: lime; /* The movement is about sqrt(150^2 - 50^2) - 50 */ - transform: rotate(-45deg) translate(91.4214px); + transform: rotate(-45deg) translate(91.42px); }