Skip to content

Ensure that parsing HTML doesn't trigger a reflow for each child appended #1269

Closed

Description

@jdm

Since we now call AppendChild in the parser, it's possible that this is the case.

Activity

  1. bzbarsky commented on Nov 17, 2013

    @bzbarsky
    Contributor

    AppendChild shoudn't be triggering reflow on its own in any case, right?

  2. jdm commented on Nov 17, 2013

    @jdm
    MemberAuthor

    Well, it calls content_changed on the document, which could do anything it wanted but right now requests a reflow unconditionally.

  3. bzbarsky commented on Nov 17, 2013

    @bzbarsky
    Contributor

    That seems wrong, sure, but nothing is special about the parser there, right?

  4. jdm commented on Nov 17, 2013

    @jdm
    MemberAuthor

    Correct.

  5. self-assigned this
    on Oct 17, 2014
  6. added
    I-perf-slow
    on Oct 17, 2014
  7. added 4 commits that reference this issue on Oct 17, 2014
    1e256f1
    ee2a61a
    cb5c186
    a978e40
  8. brunoabinader commented on Oct 23, 2014

    @brunoabinader
    Contributor

    @jdm, this seems to be a good use case for specializing content_changed :)

  9. added 4 commits that reference this issue on Oct 27, 2014
    6d30e20
    45a753c
    dc31aa7
    f39e01b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

A-content/domA-content/parsersI-perf-slow

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions