Bug 210732 - Content disappears on CSS parallax example
Summary: Content disappears on CSS parallax example
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Simon Fraser (smfr)
URL: https://googlechromelabs.github.io/ui...
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-04-19 22:09 PDT by Simon Fraser (smfr)
Modified: 2020-05-13 12:10 PDT (History)
3 users (show)

See Also:


Attachments
Patch (9.30 KB, patch)
2020-04-19 22:14 PDT, Simon Fraser (smfr)
darin: review+
Details | Formatted Diff | Diff
Patch (27.42 KB, patch)
2020-04-19 22:28 PDT, Simon Fraser (smfr)
no flags Details | Formatted Diff | Diff
Patch (15.29 KB, patch)
2020-04-19 23:11 PDT, Simon Fraser (smfr)
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 Simon Fraser (smfr) 2020-04-19 22:09:58 PDT
Content disappears on CSS parallax example
Comment 1 Simon Fraser (smfr) 2020-04-19 22:14:13 PDT
Created attachment 396942 [details]
Patch
Comment 2 Simon Fraser (smfr) 2020-04-19 22:14:15 PDT
<rdar://problem/61997636>
Comment 3 Simon Fraser (smfr) 2020-04-19 22:28:28 PDT
Created attachment 396943 [details]
Patch
Comment 4 Darin Adler 2020-04-19 22:49:46 PDT
That new patch is a two-for-one!
Comment 5 Simon Fraser (smfr) 2020-04-19 23:10:37 PDT
Oh whoops. I wish webkit-patch supported --git-index like prepare-Changelogs does.
Comment 6 Simon Fraser (smfr) 2020-04-19 23:11:04 PDT
Created attachment 396945 [details]
Patch
Comment 7 EWS 2020-04-20 09:27:39 PDT
Found 2 new test failures: compositing/tiling/coverage-adjustment-secondary-quad-mapping.html, fast/layoutformattingcontext/simple-absolute-positioned-replaced-inline-element-with-percentage-height.html
Comment 8 Simon Fraser (smfr) 2020-04-20 10:15:31 PDT
https://trac.webkit.org/changeset/260371/webkit
Comment 9 Darin Adler 2020-04-20 10:31:48 PDT
Comment on attachment 396942 [details]
Patch

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

> Source/WebCore/platform/graphics/transforms/TransformState.cpp:223
> +    if (direction == ApplyTransformDirection) {
>          quad = m_accumulatedTransform->mapQuad(quad);
> +        return;
> +    }
>  
>      quad = m_accumulatedTransform->inverse().valueOr(TransformationMatrix()).projectQuad(quad, wasClamped);

I should have suggested else instead of return.
Comment 10 Simon Fraser (smfr) 2020-04-20 11:46:24 PDT
I used return to mirror the mapPoint() code above.
Comment 11 Darin Adler 2020-04-20 12:03:23 PDT
(In reply to Simon Fraser (smfr) from comment #10)
> I used return to mirror the mapPoint() code above.

I suggested else to mirror translateTransform above. We just happened to look at different functions.