MECHANISM FOR SETTING ASCENT AND BASELINE FOR HTML ELEMENTS
    3.
    发明申请
    MECHANISM FOR SETTING ASCENT AND BASELINE FOR HTML ELEMENTS 有权
    用于设置HTML元素的ASCENT和BASELINE的机制

    公开(公告)号:US20150039992A1

    公开(公告)日:2015-02-05

    申请号:US13955307

    申请日:2013-07-31

    Applicant: Google Inc.

    CPC classification number: G06F17/2247 G06F17/211 G06F17/214 G06F17/30899

    Abstract: A method for rendering a document on a web browser includes receiving a portion of text within the document to be rendered on a web browser and determining a maximum height of the portion of text. A spacer element is inserted into the portion of text, where the spacer element has a height greater than the maximum height of the portion of text. A vertical position of the portion of text and the spacer element is adjusted by an offset, where a baseline of the portion of text is determined from the height of the spacer element and the offset. The portion of text is rendered on the web browser based at least in part on the baseline.

    Abstract translation: 用于在web浏览器上呈现文档的方法包括接收要在web浏览器上呈现的文档中的文本的一部分,并确定文本部分的最大高度。 间隔元件插入到文本部分中,其中间隔元件的高度大于文本部分的最大高度。 文本部分和间隔元件的垂直位置通过偏移来调整,其中文本部分的基线从间隔元件的高度和偏移确定。 文本的部分至少部分地基于基线在网络浏览器上呈现。

    Mechanism for setting ascent and baseline for HTML elements
    5.
    发明授权
    Mechanism for setting ascent and baseline for HTML elements 有权
    设置HTML元素的上升和基线的机制

    公开(公告)号:US09275022B2

    公开(公告)日:2016-03-01

    申请号:US13955307

    申请日:2013-07-31

    Applicant: Google Inc.

    CPC classification number: G06F17/2247 G06F17/211 G06F17/214 G06F17/30899

    Abstract: A method for rendering a document on a web browser includes receiving a portion of text within the document to be rendered on a web browser and determining a maximum height of the portion of text. A spacer element is inserted into the portion of text, where the spacer element has a height greater than the maximum height of the portion of text. A vertical position of the portion of text and the spacer element is adjusted by an offset, where a baseline of the portion of text is determined from the height of the spacer element and the offset. The portion of text is rendered on the web browser based at least in part on the baseline.

    Abstract translation: 用于在web浏览器上呈现文档的方法包括接收要在web浏览器上呈现的文档中的文本的一部分,并确定文本部分的最大高度。 间隔元件插入到文本部分中,其中间隔元件的高度大于文本部分的最大高度。 文本部分和间隔元件的垂直位置通过偏移来调整,其中文本部分的基线从间隔元件的高度和偏移确定。 文本的部分至少部分地基于基线在网络浏览器上呈现。

Patent Agency Ranking