Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore stripped whitespace before reflowing text fragments #10246

Merged
merged 1 commit into from Mar 29, 2016

Conversation

@mbrubeck
Copy link
Contributor

mbrubeck commented Mar 28, 2016

Fixes #10200. r? @pcwalton

Note: The reftest uses a transition of non-zero duration, because I couldn't find any other way to reproduce the bug. Unfortunately this makes it unreliable in debug builds. I tried to fix this using reftest-wait with setTimeout and requestAnimationFrame, but it still wouldn't complete the animation consistently. To make the test work in debug builds we may need transitionend events (#10245) or a different way to reproduce the bug.


This change is Reviewable

@highfive
Copy link

highfive commented Mar 28, 2016

Heads up! This PR modifies the following files:

  • @jgraham: tests/wpt/mozilla/meta/MANIFEST.json, tests/wpt/mozilla/tests/css/incremental_trailing_whitespace_a.html, tests/wpt/mozilla/tests/css/incremental_trailing_whitespace_ref.html
@mbrubeck mbrubeck force-pushed the mbrubeck:strip-leading branch from c49b1f1 to 99885b1 Mar 28, 2016
@pcwalton
Copy link
Contributor

pcwalton commented Mar 28, 2016

OK, verified that it fixed the bug in Twitter (although there is a script/DOM-related crash and a WebRender serialization bug still preventing it from working).

@pcwalton
Copy link
Contributor

pcwalton commented Mar 28, 2016

@bors-servo
Copy link
Contributor

bors-servo commented Mar 28, 2016

📌 Commit 99885b1 has been approved by pcwalton

@bors-servo
Copy link
Contributor

bors-servo commented Mar 29, 2016

Testing commit 99885b1 with merge 159be44...

bors-servo added a commit that referenced this pull request Mar 29, 2016
Restore stripped whitespace before reflowing text fragments

Fixes #10200. r? @pcwalton

Note: The reftest uses a transition of non-zero duration, because I couldn't find any other way to reproduce the bug.  Unfortunately this makes it unreliable in debug builds. I tried to fix this using reftest-wait with setTimeout and requestAnimationFrame, but it still wouldn't complete the animation consistently.  To make the test work in debug builds we may need `transitionend` events (#10245) or a different way to reproduce the bug.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10246)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Mar 29, 2016

@bors-servo bors-servo merged commit 99885b1 into servo:master Mar 29, 2016
3 checks passed
3 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
@mbrubeck mbrubeck deleted the mbrubeck:strip-leading branch May 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

4 participants
You can’t perform that action at this time.