Skip to content

Commit 7446676

Browse files
committedOct 2, 2023
Bug 1855763 - Automatic fixes to avoid using prefixed transforms in tests. r=layout-reviewers,jfkthame
Using the script in comment 5, excluding third-party directories. Differential Revision: https://phabricator.services.mozilla.com/D189760
1 parent 06a6a4d commit 7446676

File tree

338 files changed

+619
-619
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

338 files changed

+619
-619
lines changed
 

‎dom/tests/mochitest/chrome/489127.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@
191191

192192
#transf {
193193
margin-top: 60px;
194-
-moz-transform: rotate(-45deg);
194+
transform: rotate(-45deg);
195195
}
196196

197197
#opacity {

‎dom/tests/mochitest/general/test_clientRects.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
<!-- No boxes -->
6262
<div id="d3" style="display:none"></div>
6363
<!-- Element in transform -->
64-
<div style="-moz-transform:translate(50px, 50px); transform:translate(50px,50px); position:absolute; left:0; top:200px">
64+
<div style="transform:translate(50px, 50px); transform:translate(50px,50px); position:absolute; left:0; top:200px">
6565
<div id="d4" style="width:50px; height:50px; background:blue;"></div>
6666
</div>
6767
<svg style="position:absolute; left:50px; top:300px; width:100px; height:100px;">
@@ -73,12 +73,12 @@
7373
<circle id="s1" cx="60" cy="60" r="10" fill="yellow"/>
7474
</svg>
7575
<!-- Element in transform with bounding-box -->
76-
<div style="-moz-transform:rotate(45deg); transform:rotate(45deg); position:absolute; left:50px; top:450px; width:100px; height:100px;">
76+
<div style="transform:rotate(45deg); transform:rotate(45deg); position:absolute; left:50px; top:450px; width:100px; height:100px;">
7777
<div id="d6" style="width:100px; height:100px; background:orange;"></div>
7878
</div>
7979
<!-- Element in two transforms; we should combine transforms instead of taking bounding-box twice -->
80-
<div style="-moz-transform:rotate(45deg); transform:rotate(45deg); position:absolute; left:50px; top:550px; width:100px; height:100px;">
81-
<div style="-moz-transform:rotate(-45deg); transform:rotate(-45deg); width:100px; height:100px;">
80+
<div style="transform:rotate(45deg); transform:rotate(45deg); position:absolute; left:50px; top:550px; width:100px; height:100px;">
81+
<div style="transform:rotate(-45deg); transform:rotate(-45deg); width:100px; height:100px;">
8282
<div id="d7" style="width:100px; height:100px; background:lime;"></div>
8383
</div>
8484
</div>

0 commit comments

Comments
 (0)
Failed to load comments.