Test by bzbarsky; reference by dbaron. The test passes with the patch. With the changes to RestyleManagerBase::ProcessRestyledFrames reverted, the test shows the expected mispositioning resulting from not applying the transform. MozReview-Commit-ID: 7oIQFD8QKUn
9 lines
266 B
HTML
9 lines
266 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
The green square below should be centered.
|
|
<div style="width: 400px; height: 400px; position: absolute;
|
|
perspective: 600px; left: calc(50% - 200px);
|
|
top: calc(50% - 200px); background: green;">
|
|
</div>
|
|
</html>
|