Skip to content

[css-display-3] Clarify the term "contiguous sequence of sibling text nodes" #4860

Closed
@SelenIT

Description

@SelenIT

In the introduction section of [css-display-3], the "text run" concept is introduced in the following paragraph:

...each contiguous sequence of sibling text nodes generates a text run containing their text contents, which is assigned the same styles as the generating text nodes.

As far as I understand, several contiguous sibling text nodes in the same element can occur only as a result of DOM operations like appendChild(). But what about sibling text nodes separated only by the HTML comment node? Technically, they hardly can be called "a contiguous sequence", but the intent of the "text run" concept seems to suggest that they should form a single text run rather than two separate ones. Doesn't this need clarifying?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions