Skip to content

Fix insertion point computation when display: contents pseudos are involved. r=mats,bz#8319

Merged
jgraham merged 1 commit intomasterfrom
sync_df0768cf8e32fc213b3100465e58d6a9d63e6107
Nov 20, 2017
Merged

Fix insertion point computation when display: contents pseudos are involved. r=mats,bz#8319
jgraham merged 1 commit intomasterfrom
sync_df0768cf8e32fc213b3100465e58d6a9d63e6107

Conversation

@jgraham
Copy link
Copy Markdown
Contributor

@jgraham jgraham commented Nov 20, 2017

This is a significant rework of how do we compute the insertion point of a
node.

We handle pseudos in the same function instead of out of band, and also recurse
up when the parent has display: contents, which simplifies the code IMO.

MozReview-Commit-ID: 1rSfv1Tq5gO

Upstreamed from https://bugzilla.mozilla.org/show_bug.cgi?id=1413619 [ci skip]


This change is Reviewable

…volved. r=mats,bz

This is a significant rework of how do we compute the insertion point of a
node.

We handle pseudos in the same function instead of out of band, and also recurse
up when the parent has display: contents, which simplifies the code IMO.

MozReview-Commit-ID: 1rSfv1Tq5gO

Upstreamed from https://bugzilla.mozilla.org/show_bug.cgi?id=1413619 [ci skip]
@jgraham
Copy link
Copy Markdown
Contributor Author

jgraham commented Nov 20, 2017

Code reviewed upstream.

@jgraham jgraham merged commit c2c8136 into master Nov 20, 2017
@jgraham jgraham deleted the sync_df0768cf8e32fc213b3100465e58d6a9d63e6107 branch November 20, 2017 14:09
foolip added a commit that referenced this pull request Nov 20, 2017
foolip added a commit that referenced this pull request Nov 20, 2017
These are from these Gecko exports:
#8319
#8335

Also pacify the lint with a spec link.

Part of #7503.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants