US 11,699,024 B2
Performance perception when browser's main thread is busy
Sembian Mani, San Francisco, CA (US)
Assigned to Salesforce, Inc., San Francisco, CA (US)
Filed by Salesforce, Inc., San Francisco, CA (US)
Filed on Sep. 1, 2021, as Appl. No. 17/464,365.
Prior Publication US 2023/0068090 A1, Mar. 2, 2023
Int. Cl. G06F 40/12 (2020.01); G06F 40/154 (2020.01); G06T 13/80 (2011.01); G06F 40/14 (2020.01); G06F 9/54 (2006.01)
CPC G06F 40/154 (2020.01) [G06F 9/541 (2013.01); G06F 40/14 (2020.01); G06T 13/80 (2013.01)] 17 Claims
OG exemplary drawing
 
1. A system comprising:
a server including at least one processor;
a database system implemented using a server system, the database system configured to cause:
processing, by the server, a request received from a client device;
responsive to the request, transmitting, by the server to the client device, a response including a HyperText Markup Language (HTML) file, the HTML file configured to call JavaScript code, the JavaScript code configured to call a requestAnimationFrame bowser application programming interface (API) with an argument identifying a callback function, the callback function being configured to cause a web browser of the client device to:
reset a first Cascading Style Sheets (CSS) animation of a first DOM element, the first CSS animation being configured to cause the first DOM element to transition from a hidden state to a visible state during a first time duration specified by a first animation-duration property of the first DOM element; and
call the requestAnimationFrame browser API with the argument identifying the callback function;
wherein the first DOM element is defined by a first class having a CSS animation-name property specifying an animation name of the first animation, the first animation being controlled by a @keyframes rule, the @keyframes rule defining an animation sequence from the hidden state to the visible state.