Bug 217291 - Add non-animated support for the CSS scale property
Summary: Add non-animated support for the CSS scale property
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Antoine Quint
URL:
Keywords: InRadar, WebExposed
Depends on:
Blocks: 178117
  Show dependency treegraph
 
Reported: 2020-10-04 02:20 PDT by Antoine Quint
Modified: 2020-10-05 02:46 PDT (History)
22 users (show)

See Also:


Attachments
Patch (201.51 KB, patch)
2020-10-04 02:24 PDT, Antoine Quint
no flags Details | Formatted Diff | Diff
Patch (206.71 KB, patch)
2020-10-04 11:33 PDT, Antoine Quint
no flags Details | Formatted Diff | Diff
Patch (207.24 KB, patch)
2020-10-05 00:17 PDT, Antoine Quint
no flags Details | Formatted Diff | Diff
Patch (207.81 KB, patch)
2020-10-05 00:29 PDT, Antoine Quint
ews-feeder: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Antoine Quint 2020-10-04 02:20:52 PDT
Add non-animated support for the CSS scale property
Comment 1 Radar WebKit Bug Importer 2020-10-04 02:21:22 PDT
<rdar://problem/69926254>
Comment 2 Antoine Quint 2020-10-04 02:24:52 PDT
Created attachment 410460 [details]
Patch
Comment 3 EWS Watchlist 2020-10-04 02:25:34 PDT
This patch modifies the imported WPT tests. Please ensure that any changes on the tests (not coming from a WPT import) are exported to WPT. Please see https://trac.webkit.org/wiki/WPTExportProcess
Comment 4 Antoine Quint 2020-10-04 11:33:21 PDT
Created attachment 410475 [details]
Patch
Comment 5 Simon Fraser (smfr) 2020-10-04 11:47:45 PDT
Comment on attachment 410475 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=410475&action=review

> Source/WebCore/css/CSSComputedStyleDeclaration.cpp:643
> +    if (!rendererCanBeTransformed(renderer) || is<RenderInline>(*renderer) || !scale)

Doesn't rendererCanBeTransformed() check is<RenderInline>?

> Source/WebCore/css/CSSProperties.json:6497
> +                "url": "https://drafts.csswg.org/css-transforms-2/#propdef-translate"

Wrong url.

> Source/WebCore/rendering/style/StyleRareNonInheritedData.h:182
> +    RefPtr<ScaleTransformOperation> scale;

StyleRareNonInheritedData is growing...
Comment 6 Antoine Quint 2020-10-05 00:17:51 PDT
Created attachment 410506 [details]
Patch
Comment 7 Antoine Quint 2020-10-05 00:29:17 PDT
Created attachment 410507 [details]
Patch
Comment 8 EWS 2020-10-05 01:46:21 PDT
ChangeLog entry in LayoutTests/ChangeLog contains OOPS!.
Comment 9 Antoine Quint 2020-10-05 02:46:50 PDT
Committed r267958: <https://trac.webkit.org/changeset/267958>