Consistent Scaling of Web-Based Content Across Devices Having Different Screen Metrics
    1.
    发明申请
    Consistent Scaling of Web-Based Content Across Devices Having Different Screen Metrics 审中-公开
    通过具有不同屏幕度量的设备对基于Web的内容进行一致的缩放

    公开(公告)号:US20140325345A1

    公开(公告)日:2014-10-30

    申请号:US13871140

    申请日:2013-04-26

    CPC classification number: G06F17/211

    Abstract: Concepts and technologies are described herein for consistent scaling of web content across devices having different screen metrics. According to some of the concepts and technologies disclosed herein, a computing device may receive web content and select a scaling factor for scaling the web content for presentation on a screen component associated with the computing device. The computing device may select a scaling factor for scaling the web content and utilize the scaling factor and a screen metric of the screen component to calculate a value, which the computing device may then apply to a font size property of a root document object model (“DOM”) node of the web content. The computing device may then scale the web content for presentation on the screen component based upon the value of the font size property and rem units defined in the web content.

    Abstract translation: 本文描述了概念和技术,用于在具有不同屏幕度量的设备之间的Web内容的一致缩放。 根据这里公开的一些概念和技术,计算设备可以接收web内容并且选择缩放因子以缩放web内容以呈现在与计算设备相关联的屏幕组件上。 计算设备可以选择用于缩放网页内容的缩放因子,并且利用缩放因子和屏幕组件的屏幕度量来计算值,计算设备可以将该值应用于根文档对象模型的字体大小属性( “DOM”)节点的Web内容。 计算设备然后可以基于在web内容中定义的字体大小属性和rem单元的值来缩放网页内容以呈现在屏幕组件上。

Patent Agency Ranking