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

Include transform changes in list that cause incremental reflows. #8559

Merged
merged 1 commit into from Nov 20, 2015

Conversation

@glennw
Copy link
Member

glennw commented Nov 17, 2015

Also ensure that 3d translations get layers.

Fixes #8329.

Review on Reviewable

@highfive
Copy link

highfive commented Nov 17, 2015

warning Warning warning

  • These commits modify layout code, but no reftests are modified. Please consider adding a reftest!
@glennw
Copy link
Member Author

glennw commented Nov 17, 2015

@eefriedman
Copy link
Contributor

eefriedman commented Nov 17, 2015

Missing testcase?

@glennw
Copy link
Member Author

glennw commented Nov 17, 2015

We don't have a way to reliably test incremental layout bugs at the moment.

@pcwalton
Copy link
Contributor

pcwalton commented Nov 18, 2015

Hmm, this looks pretty suboptimal (and not what other browsers do). We shouldn't be reflowing when transforms change. In fact, that's much of the purpose of CSS transforms existing…

@glennw
Copy link
Member Author

glennw commented Nov 18, 2015

The problem is that the value of the transform variable affects whether it needs a layer - which is only calculated during reflow. I'll update the PR to only trigger a reflow when those special case changes of transform occur.

Also ensure that 3d translations get layers.

Fixes #8329.
@glennw glennw force-pushed the glennw:transform-layers branch from f35bc25 to f555e38 Nov 18, 2015
@glennw
Copy link
Member Author

glennw commented Nov 18, 2015

@pcwalton Updated to include that change - good catch :)

@pcwalton
Copy link
Contributor

pcwalton commented Nov 20, 2015

@bors-servo
Copy link
Contributor

bors-servo commented Nov 20, 2015

📌 Commit f555e38 has been approved by pcwalton

@bors-servo
Copy link
Contributor

bors-servo commented Nov 20, 2015

Testing commit f555e38 with merge c19b01c...

bors-servo added a commit that referenced this pull request Nov 20, 2015
Include transform changes in list that cause incremental reflows.

Also ensure that 3d translations get layers.

Fixes #8329.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8559)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Nov 20, 2015

💔 Test failed - linux-rel

@jdm
Copy link
Member

jdm commented Nov 20, 2015

@bors-servo
Copy link
Contributor

bors-servo commented Nov 20, 2015

Previous build results for android, gonk, linux-dev, mac-dev-ref-unit, mac-rel-css, mac-rel-wpt are reusable. Rebuilding only linux-rel...

@bors-servo
Copy link
Contributor

bors-servo commented Nov 20, 2015

@bors-servo bors-servo merged commit f555e38 into servo:master Nov 20, 2015
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
@glennw glennw deleted the glennw:transform-layers branch Dec 12, 2016
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

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