Skip to content

innerText issues #1679

Open
Open
@zcorpan

Description

@zcorpan

When working on #1678 I found the following issues.

cc @rocallahan

Getter

  • What should non-CSS UAs do? (45253f9)

  • Is "content order" for CSS boxes defined? (Step 2.5.) (Issue moved to [css-text] Define "content order" for innerText w3c/csswg-drafts#421 )

  • The rp check only works for direct children of rp, not descendants (e.g. <ruby><rp><span>(</span></rp>...).
    Do we want that to work? Or change the content model or rp to "text"?
    (Change <rp>'s content model to Text #1690)

  • Issue inline in the spec:

    This algorithm is amenable to being generalized to work on a ranges. Then we can use it as the basis for Selection's stringifier and maybe expose it directly on ranges. See Bugzilla bug 10583.

  • @annevk said:

    The only thing I'd consider changing further is making the recursion less declarative. Have that be some algorithm that is invoked for each child and also put the result in a variable of some kind the rest of the algorithm uses.

    @zcorpan said:

    Yeah, it could use some more cleanup. Possibly also switch to iterative traversal instead of recursive?

    2202c6c

Setter

(Filed chromium bug 639064, webkit bug 160971, edge bug 8536472 for some of the above bullet points)

Other known issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    compatStandard is not web compatible or proprietary feature needs standardizing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions