Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upOutput gradientstops in serialization and debug output #2709
Conversation
|
r? @kvark Does this fix up the serialization issue mentioned earlier? |
|
Thank you for addressing this promptly! |
| return None; | ||
| self.next_raw(); | ||
| if let SetGradientStops = self.cur_item.item { | ||
| // SetGradientStops is a dummy item that most consumers should ignore |
This comment has been minimized.
This comment has been minimized.
kvark
May 1, 2018
Member
can we leave this decision to the clients, given that they do know which items they need and which they don't?
This comment has been minimized.
This comment has been minimized.
Gankra
May 1, 2018
Author
Contributor
They can just use _raw if they want to make that decision, right? This method is for the "intended" case, where SetGradientStops is really just a quirk of our encoding.
|
I do confirm the PR fixes the issue with capturing gradients |
|
@bors-servo r+ |
|
|
Output gradientstops in serialization and debug output Fixes #2328 (I think?) <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/webrender/2709) <!-- Reviewable:end -->
|
|
Gracefully handle invalid gradient stops This is not strictly required, just something I found useful when investigating captures on WR versions prior to #2709 I still think that the PR is an improvement, since the errors are recoverable. r? anyone <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/webrender/2719) <!-- Reviewable:end -->
Revert "Output gradientstops in serialization and debug output" This reverts #2709 (commit 4c187c2) due to https://bugzilla.mozilla.org/show_bug.cgi?id=1459102 We'll need to investigate and do it again. r? @staktrace <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/webrender/2730) <!-- Reviewable:end -->
Revert "Output gradientstops in serialization and debug output" This reverts #2709 (commit 4c187c2) due to https://bugzilla.mozilla.org/show_bug.cgi?id=1459102 We'll need to investigate and do it again. r? @staktrace <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/webrender/2730) <!-- Reviewable:end -->
Gankra commentedApr 30, 2018
•
edited by larsbergstrom
Fixes #2328 (I think?)
This change is