Skip to content

Commit

Permalink
Revert "Support offset-path: ray() function <size> and <contain>."
Browse files Browse the repository at this point in the history
This reverts commit 3c01fdf8ab19fe9aa0792dae6626423926f9dd55.

Reason for revert: Speed and security issues.

Original change's description:
> Support offset-path: ray() function <size> and <contain>.
>
> 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 <size> 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 <[email protected]>
> Commit-Queue: Daniil Sakhapov <[email protected]>
> 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 <[email protected]>
Commit-Queue: Daniil Sakhapov <[email protected]>
Bot-Commit: Rubber Stamper <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1102973}
  • Loading branch information
danielsakhapov authored and chromium-wpt-export-bot committed Feb 8, 2023
1 parent d7059c0 commit 68e9d5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion css/motion/offset-path-ray-contain-004-ref.html
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
</style>
</head>
Expand Down

0 comments on commit 68e9d5a

Please sign in to comment.