Skip to content

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

Merged
bors-servo merged 1 commit into
servo:masterfrom
glennw:transform-layers
Nov 20, 2015
Merged

bors-servo merged 1 commit into
servo:masterfrom
glennw:transform-layers

Conversation

@glennw

@glennw glennw commented Nov 17, 2015

Copy link
Copy Markdown
Member

Also ensure that 3d translations get layers.

Fixes #8329.

Review on Reviewable

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Nov 17, 2015
@highfive

Copy link
Copy Markdown

warning Warning warning

  • These commits modify layout code, but no reftests are modified. Please consider adding a reftest!

@glennw

glennw commented Nov 17, 2015

Copy link
Copy Markdown
Member Author

r? @pcwalton

@eefriedman

Copy link
Copy Markdown
Contributor

Missing testcase?

@glennw

glennw commented Nov 17, 2015

Copy link
Copy Markdown
Member Author

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

@pcwalton

Copy link
Copy Markdown
Contributor

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

glennw commented Nov 18, 2015

Copy link
Copy Markdown
Member Author

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 servo#8329.
@glennw

glennw commented Nov 18, 2015

Copy link
Copy Markdown
Member Author

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

@pcwalton

Copy link
Copy Markdown
Contributor

@bors-servo: r+

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit f555e38 has been approved by pcwalton

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Nov 20, 2015
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit f555e38 with merge c19b01c...

bors-servo pushed 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
Copy Markdown
Contributor

💔 Test failed - linux-rel

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Nov 20, 2015
@jdm

jdm commented Nov 20, 2015

Copy link
Copy Markdown
Member

@bors-servo

Copy link
Copy Markdown
Contributor

⚡ 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
Copy Markdown
Contributor

☀️ Test successful - android, gonk, linux-dev, linux-rel, mac-dev-ref-unit, mac-rel-css, mac-rel-wpt

@bors-servo
bors-servo merged commit f555e38 into servo:master Nov 20, 2015
@SimonSapin SimonSapin removed the S-tests-failed The changes caused existing tests to fail. label Jan 27, 2016
@glennw
glennw deleted the transform-layers branch December 12, 2016 20:46
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.

8 participants