Bug 180733 - Specific CSS styles thrashing the CPU
Summary: Specific CSS styles thrashing the CPU
Status: RESOLVED DUPLICATE of bug 179982
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Safari 11
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-12 18:52 PST by Sean Curtis
Modified: 2017-12-14 01:58 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sean Curtis 2017-12-12 18:52:38 PST
Reduced test case here:

https://codepen.io/seancurtis/pen/ypLwwq

Changing the calc to calc(100vh - 20px) solves it, as does removing things like the transition or position. Might be revealing something more critical though.

Does not happen on 10.x. Still happens on tech preview (11.1 at the time of raising this).
Comment 1 Simon Fraser (smfr) 2017-12-13 09:55:59 PST
Antti, didn't you fix something like this recently?
Comment 2 Simon Fraser (smfr) 2017-12-13 09:57:52 PST
I was thinking of bug 179982.
Comment 3 Antti Koivisto 2017-12-14 01:58:30 PST
Yes, this looks like 179982.

*** This bug has been marked as a duplicate of bug 179982 ***