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

Fix some issues with scrollbars #2018

Merged
merged 1 commit into from Nov 10, 2017
Merged

Conversation

@mrobinson
Copy link
Member

mrobinson commented Nov 9, 2017

Scrollbars would scroll horizontally instead of sticking to the edge of
the frame and were also not visible at all on iframes. This change fixes
those issues by adding them to the containing reference frame. As part
of this change, iframe background colors are also attached to the
reference frame and only painted over the frame rect.


This change is Reviewable

@mrobinson mrobinson requested review from kvark and glennw Nov 9, 2017
@bors-servo
Copy link
Contributor

bors-servo commented Nov 9, 2017

The latest upstream changes (presumably #2016) made this pull request unmergeable. Please resolve the merge conflicts.

@mrobinson mrobinson force-pushed the mrobinson:fix-scrollbars branch from cd9da1b to 751a1a6 Nov 9, 2017
@kvark
kvark approved these changes Nov 9, 2017
use util::{self, pack_as_float, RectHelpers, recycle_vec};
use box_shadow::BLUR_SAMPLE_SCALE;

#[derive(Debug, Copy, Clone)]
pub enum PrimitiveFlags {

This comment has been minimized.

@kvark

kvark Nov 9, 2017

Member

Isn't strictly related to this PR, but I think we should change this to something like Option<ScrollBar>

This comment has been minimized.

@mrobinson

mrobinson Nov 9, 2017

Author Member

Okay. Sounds reasonable to me! The latest version of the PR has this change.

Scrollbars would scroll horizontally instead of sticking to the edge of
the frame and were also not visible at all on iframes. This change fixes
those issues by adding them to the containing reference frame. As part
of this change, iframe background colors are also attached to the
reference frame and only painted over the frame rect.
@mrobinson mrobinson force-pushed the mrobinson:fix-scrollbars branch from 751a1a6 to 9dd1e06 Nov 9, 2017
@mrobinson
Copy link
Member Author

mrobinson commented Nov 9, 2017

@bors-servo
Copy link
Contributor

bors-servo commented Nov 9, 2017

Trying commit 9dd1e06 with merge 249b93e...

bors-servo added a commit that referenced this pull request Nov 9, 2017
Fix some issues with scrollbars

Scrollbars would scroll horizontally instead of sticking to the edge of
the frame and were also not visible at all on iframes. This change fixes
those issues by adding them to the containing reference frame. As part
of this change, iframe background colors are also attached to the
reference frame and only painted over the frame rect.

<!-- 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/2018)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Nov 9, 2017

☀️ Test successful - status-appveyor, status-travis
State: approved= try=True

@mrobinson
Copy link
Member Author

mrobinson commented Nov 9, 2017

@bors-servo r=kvark

@bors-servo
Copy link
Contributor

bors-servo commented Nov 9, 2017

📌 Commit 9dd1e06 has been approved by kvark

@bors-servo
Copy link
Contributor

bors-servo commented Nov 10, 2017

Testing commit 9dd1e06 with merge d256937...

bors-servo added a commit that referenced this pull request Nov 10, 2017
Fix some issues with scrollbars

Scrollbars would scroll horizontally instead of sticking to the edge of
the frame and were also not visible at all on iframes. This change fixes
those issues by adding them to the containing reference frame. As part
of this change, iframe background colors are also attached to the
reference frame and only painted over the frame rect.

<!-- 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/2018)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Nov 10, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: kvark
Pushing d256937 to master...

@bors-servo bors-servo merged commit 9dd1e06 into servo:master Nov 10, 2017
4 checks passed
4 checks passed
Taskcluster (pull_request) TaskGroup: success
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
@mrobinson mrobinson deleted the mrobinson:fix-scrollbars branch Dec 8, 2017
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.

None yet

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