Bug 210732

Summary: Content disappears on CSS parallax example
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: New BugsAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: darin, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
URL: https://googlechromelabs.github.io/ui-element-samples/parallax/
Attachments:
Description Flags
Patch
darin: review+
Patch
none
Patch ews-feeder: commit-queue-

Simon Fraser (smfr)
Reported 2020-04-19 22:09:58 PDT
Content disappears on CSS parallax example
Attachments
Patch (9.30 KB, patch)
2020-04-19 22:14 PDT, Simon Fraser (smfr)
darin: review+
Patch (27.42 KB, patch)
2020-04-19 22:28 PDT, Simon Fraser (smfr)
no flags
Patch (15.29 KB, patch)
2020-04-19 23:11 PDT, Simon Fraser (smfr)
ews-feeder: commit-queue-
Simon Fraser (smfr)
Comment 1 2020-04-19 22:14:13 PDT
Simon Fraser (smfr)
Comment 2 2020-04-19 22:14:15 PDT
Simon Fraser (smfr)
Comment 3 2020-04-19 22:28:28 PDT
Darin Adler
Comment 4 2020-04-19 22:49:46 PDT
That new patch is a two-for-one!
Simon Fraser (smfr)
Comment 5 2020-04-19 23:10:37 PDT
Oh whoops. I wish webkit-patch supported --git-index like prepare-Changelogs does.
Simon Fraser (smfr)
Comment 6 2020-04-19 23:11:04 PDT
EWS
Comment 7 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
Simon Fraser (smfr)
Comment 8 2020-04-20 10:15:31 PDT
Darin Adler
Comment 9 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.
Simon Fraser (smfr)
Comment 10 2020-04-20 11:46:24 PDT
I used return to mirror the mapPoint() code above.
Darin Adler
Comment 11 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.
Note You need to log in before you can comment on or make changes to this bug.