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 upDuplicate rendering when changing viewport coordinates #20847
Comments
|
/cc @gw3583 |
|
I don't think you should have to change any layout coordinates. Any ideas @kvark ? |
|
I believe I need to set the document dimension in |
Less content is rendered in the bottom part, but still, there's still a red square there. |
|
Document scissoring appears to be broken right now (in our own "document" example). I'm looking into it. |
Fix document placement and scissoring This PR fixes our document example. r? @gw3583 Edit: actually, still working on getting servo/servo#20847 fixed by this <!-- 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/2770) <!-- Reviewable:end -->
|
@kvark Updating WR doesn't look trivial (few changes in the API). Are you planning an update soon? |
|
Tomorrow, according to @gw3583 |
|
This is fixed now. Thanks! |
STR:
HTML:
Change this in servo:
Result:
@glennw any idea why the content doesn't stay in the top square? When we add a document (via
add_document), are we supposed to use the size of the framebuffer of the size of the document?