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

Remove the scroll bar APIs. #3134

Merged
merged 1 commit into from
Sep 28, 2018
Merged

Conversation

gw3583
Copy link
Contributor

@gw3583 gw3583 commented Sep 27, 2018

It's much better if applications draw scrollbars by adding normal
primitives to the display list. This means:

  • Better control of how they look visually.
  • Can make them clickable / draggable.
  • Less code complexity in WR.
  • Better control of scrollbar behavior (where enabled etc).

This change is Reviewable

It's much better if applications draw scrollbars by adding normal
primitives to the display list. This means:

* Better control of how they look visually.
* Can make them clickable / draggable.
* Less code complexity in WR.
* Better control of scrollbar behavior (where enabled etc).
@gw3583
Copy link
Contributor Author

gw3583 commented Sep 27, 2018

This reduces code complexity for some other ongoing work (since scroll bar codes relies on global primitive indices).

However, let's not merge this until we have a resolution to my questions in servo/servo#21817.

@gw3583 gw3583 changed the title [DO NOT MERGE] Remove the scroll bar APIs. Remove the scroll bar APIs. Sep 27, 2018
@gw3583
Copy link
Contributor Author

gw3583 commented Sep 27, 2018

r? @kvark or anyone

@Gankra
Copy link
Contributor

Gankra commented Sep 28, 2018

Seems great, r=me when you're ready to land

@gw3583
Copy link
Contributor Author

gw3583 commented Sep 28, 2018

@bors-servo r=Gankro

@bors-servo
Copy link
Contributor

📌 Commit 6d3338d has been approved by Gankro

@bors-servo
Copy link
Contributor

⌛ Testing commit 6d3338d with merge 9e69ecd...

bors-servo pushed a commit that referenced this pull request Sep 28, 2018
Remove the scroll bar APIs.

It's much better if applications draw scrollbars by adding normal
primitives to the display list. This means:

* Better control of how they look visually.
* Can make them clickable / draggable.
* Less code complexity in WR.
* Better control of scrollbar behavior (where enabled etc).

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

☀️ Test successful - status-appveyor, status-taskcluster
Approved by: Gankro
Pushing 9e69ecd to master...

@bors-servo bors-servo merged commit 6d3338d into servo:master Sep 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants