Invention Grant
- Patent Title: Performance perception when browser's main thread is busy
-
Application No.: US17464365Application Date: 2021-09-01
-
Publication No.: US11699024B2Publication Date: 2023-07-11
- Inventor: Sembian Mani
- Applicant: Salesforce, Inc.
- Applicant Address: US CA San Francisco
- Assignee: Salesforce, Inc.
- Current Assignee: Salesforce, Inc.
- Current Assignee Address: US CA San Francisco
- Agency: Kwan & Olynick LLP
- Main IPC: G06F40/12
- IPC: G06F40/12 ; G06F40/154 ; G06T13/80 ; G06F40/14 ; G06F9/54

Abstract:
An HTML file transmitted to a client device is configured to call JavaScript code, where the JavaScript code is configured to call a requestAnimationFrame browser application programming interface (API) with an argument identifying a callback function. The callback function is configurable to cause the web browser to: 1) 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 element using a specific set of CSS properties; and 2) call the requestAnimationFrame browser API with the argument identifying the callback function. Thus, the first DOM element remains hidden as long as the browser performs frame refreshes at an optimal rate. However, when the browser's main thread is busy, the first DOM element transitions to a visible state.
Public/Granted literature
- US20230068090A1 PERFORMANCE PERCEPTION WHEN BROWSER'S MAIN THREAD IS BUSY Public/Granted day:2023-03-02
Information query