Repository navigation
Include transform changes in list that cause incremental reflows. - #8559
Conversation
|
r? @pcwalton |
|
Missing testcase? |
|
We don't have a way to reliably test incremental layout bugs at the moment. |
|
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… |
|
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.
f35bc25 to
f555e38
Compare
|
@pcwalton Updated to include that change - good catch :) |
|
@bors-servo: r+ |
|
📌 Commit f555e38 has been approved by |
|
⌛ Testing commit f555e38 with merge c19b01c... |
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 -->
|
💔 Test failed - linux-rel |
|
⚡ Previous build results for android, gonk, linux-dev, mac-dev-ref-unit, mac-rel-css, mac-rel-wpt are reusable. Rebuilding only linux-rel... |
|
☀️ Test successful - android, gonk, linux-dev, linux-rel, mac-dev-ref-unit, mac-rel-css, mac-rel-wpt |
Also ensure that 3d translations get layers.
Fixes #8329.