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

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

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

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Mar 28, 2016
@pcwalton
Copy link
Contributor

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

@bors-servo: r+

@bors-servo
Copy link
Contributor

📌 Commit 99885b1 has been approved by pcwalton

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Mar 28, 2016
@bors-servo
Copy link
Contributor

⌛ Testing commit 99885b1 with merge 159be44...

bors-servo pushed 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

☀️ Test successful - android, arm32, gonk, linux-dev, linux-rel, mac-dev-unit, mac-rel-css, mac-rel-wpt, status-appveyor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Jumpiness involving transitions on border, inline-block, and whitespace (affects Twitter)
4 participants