-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Background color is lost if moved to a non-attributed line due to deletes. #12
Comments
I'm still seeing the issue after pulling this code. Are you sure 332ecf0 fixed it? |
Think so... did you rebuild? This should have affected any span formatting so font family/size and it's working on beta. |
I did rebuild... Did you explicitly test background color? Experimenting a bit more I see that font family/size works in my dev environment, but background color does not. We don't have background color hooked up on beta but I'd guess it fails there too. |
Interesting yeah it's actually only affecting background color now for some reason. Color, font family and font size should be fixed now though. |
I've had a number of fuzzer runs where an attribute other than background color is lost. I've seen size and font-family get dropped, for example. I don't know how to reproduce making a specific attribute get lost, but I have observed that only one attribute from the collection is dropped. |
To reproduce font-family being lost:
Expected: "c" having the previously listed formatting. Note that both the order the attributes are applied in and the deletion of the \n before the formatted character are necessary to reproduce the bug. |
No longer reproducible |
Fix two typos in README.md
Browser: Chrome 26
Steps to reproduce:
Expected Result
"ef" with the previously applied background color.
Actual Result
"ef" with no background color.
The text was updated successfully, but these errors were encountered: