-
公开(公告)号:US20240338513A1
公开(公告)日:2024-10-10
申请号:US18749453
申请日:2024-06-20
Inventor: Baiping LI , Guixiu ZENG , Congpeng ZHANG , Futeng NIU
IPC: G06F40/106 , G06F40/109 , G06F40/221
CPC classification number: G06F40/106 , G06F40/109 , G06F40/221
Abstract: A display apparatus and a method for processing a web page are disclosed. The method includes: in response to a first command for opening a first browser application in the display apparatus input from a user, starting to load a first web page of the first browser application; parsing the first web page downloaded, to obtain a first document object model tree; in response to a web page head of the first document object model tree including a first meta viewport tag, determining a first resolution of the first web page according to the first meta viewport tag; determining a first web page scale factor according to a physical resolution of the display apparatus and the first resolution; relayouting, redrawing, and rearranging an element on the first web page based on the first web page scale factor to determine a second web page; and presenting the second web page.