mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Fix match_refs and let_returns in layout, address review changes
This commit is contained in:
parent
5c24da3e2d
commit
8e2c37a542
12 changed files with 54 additions and 62 deletions
|
@ -627,11 +627,11 @@ impl BlockFlow {
|
|||
// Check if the transform matrix is 2D or 3D
|
||||
if let Some(ref transform_list) = self.fragment.style().get_effects().transform.0 {
|
||||
for transform in transform_list {
|
||||
match transform {
|
||||
&transform::ComputedOperation::Perspective(..) => {
|
||||
match *transform {
|
||||
transform::ComputedOperation::Perspective(..) => {
|
||||
return true;
|
||||
}
|
||||
&transform::ComputedOperation::Matrix(m) => {
|
||||
transform::ComputedOperation::Matrix(m) => {
|
||||
// See http://dev.w3.org/csswg/css-transforms/#2d-matrix
|
||||
if m.m31 != 0.0 || m.m32 != 0.0 ||
|
||||
m.m13 != 0.0 || m.m23 != 0.0 ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue