Skip to content

Commit

Permalink
Bug 1559276 - Part 1: Avoid using 3 valued syntax for position. r=emilio
Browse files Browse the repository at this point in the history
Update the existing reftests to not use 3 valued syntax.

I run the script to update the syntax in
`layout/reftests/w3c-css/submitted/images3/*`,
`layout/reftests/w3c-css/submitted/masking/*`,
`layout/reftests/xul/*`, and
`layout/reftests/webm-video/*`:
```
function rename() {
    find layout/reftests/\
         -type f\
         ! -path "./obj*"\
         ! -path "./.git"\
         ! -path "./.hg"\
         \( -name "*.html" -or\
            -name "*.xul" \)\
            -exec sed -i -e "s/$1/$2/g" "{}" \;
}

rename "object-position: top 3px center" "object-position: top 3px left 50%"
rename "object-position: center right 25%" "object-position: top 50% right 25%"
```

For `layout/reftests/svg/svg-integration/clip-path/*`, I just manually
update them.

Differential Revision: https://phabricator.services.mozilla.com/D37125

UltraBlame original commit: 7018488ca120836111db492baf8fc852d0b699e3
  • Loading branch information
marco-c committed Oct 4, 2019
1 parent fead63d commit b423b55
Show file tree
Hide file tree
Showing 234 changed files with 1,370 additions and 452 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,9 @@
at
top
100px
center
left
50
%
)
;
"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,9 @@
at
bottom
100px
center
left
50
%
)
;
"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,9 @@
at
left
100px
center
top
50
%
)
;
"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,9 @@
at
right
100px
center
top
50
%
)
;
"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,9 @@
left
-
100px
center
top
50
%
)
content
-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,9 @@
right
-
100px
center
top
50
%
)
content
-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,9 @@
top
-
100px
center
left
50
%
)
content
-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,9 @@
bottom
-
100px
center
left
50
%
)
content
-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,9 @@
top
-
100px
center
left
50
%
)
content
-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,9 @@
:
top
3px
center
left
50
%
}
.
cr
Expand All @@ -389,7 +391,9 @@
-
position
:
center
top
50
%
right
25
%
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,9 @@
:
top
3px
center
left
50
%
}
.
cr
Expand All @@ -382,7 +384,9 @@
-
position
:
center
top
50
%
right
25
%
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,9 @@
:
top
3px
center
left
50
%
}
.
cr
Expand All @@ -382,7 +384,9 @@
-
position
:
center
top
50
%
right
25
%
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,9 @@
:
top
3px
center
left
50
%
}
.
cr
Expand All @@ -382,7 +384,9 @@
-
position
:
center
top
50
%
right
25
%
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,9 @@
:
top
3px
center
left
50
%
}
.
cr
Expand All @@ -382,7 +384,9 @@
-
position
:
center
top
50
%
right
25
%
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,9 @@
:
top
3px
center
left
50
%
}
.
cr
Expand All @@ -389,7 +391,9 @@
-
position
:
center
top
50
%
right
25
%
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,9 @@
:
top
3px
center
left
50
%
}
.
cr
Expand All @@ -382,7 +384,9 @@
-
position
:
center
top
50
%
right
25
%
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,9 @@
:
top
3px
center
left
50
%
}
.
cr
Expand All @@ -382,7 +384,9 @@
-
position
:
center
top
50
%
right
25
%
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,9 @@
:
top
3px
center
left
50
%
}
.
cr
Expand All @@ -382,7 +384,9 @@
-
position
:
center
top
50
%
right
25
%
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,9 @@
:
top
3px
center
left
50
%
}
.
cr
Expand All @@ -382,7 +384,9 @@
-
position
:
center
top
50
%
right
25
%
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,9 @@
:
top
3px
center
left
50
%
}
.
cr
Expand All @@ -371,7 +373,9 @@
-
position
:
center
top
50
%
right
25
%
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,9 @@
:
top
3px
center
left
50
%
}
.
cr
Expand All @@ -371,7 +373,9 @@
-
position
:
center
top
50
%
right
25
%
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,9 @@
:
top
3px
center
left
50
%
}
.
cr
Expand All @@ -371,7 +373,9 @@
-
position
:
center
top
50
%
right
25
%
Expand Down
Loading

0 comments on commit b423b55

Please sign in to comment.