Skip to content

Force a reflow after adding a stylesheet - #3633

Closed
mbrubeck wants to merge 1 commit into
servo:masterfrom
mbrubeck:relayout
Closed

mbrubeck wants to merge 1 commit into
servo:masterfrom
mbrubeck:relayout

Conversation

@mbrubeck

Copy link
Copy Markdown
Contributor

This fixes a race (exposed in some reftests by #3563) where the document's
first paint happens before the stylesheet is added, and it never updates
after the stylesheet loads.

r? @jdm

This fixes a race (exposed in some reftests by servo#3563) where the document's
first paint happens before the stylesheet is added, and it never updates
after the stylesheet loads.
@hoppipolla-critic-bot

Copy link
Copy Markdown

Critic review: https://critic.hoppipolla.co.uk/r/2828

This is an external review system which you may optionally use for the code review of your pull request.

In order to help critic track your changes, please do not make in-place history rewrites (e.g. via git rebase -i or git commit --amend) when updating this pull request.

bors-servo pushed a commit that referenced this pull request Oct 10, 2014
This fixes a race (exposed in some reftests by #3563) where the document's
first paint happens before the stylesheet is added, and it never updates
after the stylesheet loads.

r? @jdm
@mbrubeck

Copy link
Copy Markdown
Contributor Author

The test that failed on Linux was the exact one this was intended to fix. So I guess it doesn't have the desired effect. :/ Closing for now, and we should probably disable the test until it can be fixed for real.

@mbrubeck mbrubeck closed this Oct 10, 2014
@mbrubeck
mbrubeck deleted the relayout branch May 11, 2016 03:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants