chromium/third_party/blink/web_tests/platform/mac/svg/zoom/page/zoom-zoom-coords-expected.txt

Test
Test
Test

This test checks getBoundingClientRect() on zoomed HTML and SVG elements

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".

Gray rectangles: 100x50
Green rectangles: 100x50, zoom=200%
Blue rectangles: 200x100, zoom=50%


Checking HTML elements:


PASS div1.left is 0.00
PASS div1.top is 0.00
PASS div1.width is 100.00
PASS div1.height is 50.00
PASS div1.right is 100.00
PASS div1.bottom is 50.00


PASS div2.left is 0.00
PASS div2.top is 50.00
PASS div2.width is 200.00
PASS div2.height is 100.00
PASS div2.right is 200.00
PASS div2.bottom is 150.00


PASS div3.left is 0.00
PASS div3.top is 150.00
PASS div3.width is 100.00
PASS div3.height is 50.00
PASS div3.right is 100.00
PASS div3.bottom is 200.00


Checking SVG elements:


PASS svg1.left is 0.00
PASS svg1.top is 250.00
PASS svg1.width is 150.00
PASS svg1.height is 50.00
PASS svg1.right is 150.00
PASS svg1.bottom is 300.00
PASS rect1.left is 0.00
PASS rect1.top is 250.00
PASS rect1.width is 100.00
PASS rect1.height is 50.00
PASS rect1.right is 100.00
PASS rect1.bottom is 300.00
PASS image1.left is 100.00
PASS image1.top is 250.00
PASS image1.width is 50.00
PASS image1.height is 25.00
PASS image1.right is 150.00
PASS image1.bottom is 275.00
PASS text1.left is 100.00
PASS text1.top is 282.66
PASS text1.width is 47.98
PASS text1.height is 6.16
PASS text1.right is 147.98
PASS text1.bottom is 288.82


PASS svg2.left is 150.00
PASS svg2.top is 200.00
PASS svg2.width is 300.00
PASS svg2.height is 100.00
PASS svg2.right is 450.00
PASS svg2.bottom is 300.00
PASS rect2.left is 150.00
PASS rect2.top is 200.00
PASS rect2.width is 200.00
PASS rect2.height is 100.00
PASS rect2.right is 350.00
PASS rect2.bottom is 300.00
PASS image2.left is 350.00
PASS image2.top is 200.00
PASS image2.width is 100.00
PASS image2.height is 50.00
PASS image2.right is 450.00
PASS image2.bottom is 250.00
PASS text2.left is 350.00
PASS text2.top is 265.33
FAIL text2.width should be 95.74. Was 95.99380493164062.
FAIL text2.height should be 11.85. Was 12.062347412109375.
FAIL text2.right should be 445.74. Was 445.9938049316406.
FAIL text2.bottom should be 277.19. Was 277.3998107910156.


PASS svg3.left is 450.00
PASS svg3.top is 250.00
PASS svg3.width is 150.00
PASS svg3.height is 50.00
PASS svg3.right is 600.00
PASS svg3.bottom is 300.00
PASS rect3.left is 450.00
PASS rect3.top is 250.00
PASS rect3.width is 100.00
PASS rect3.height is 50.00
PASS rect3.right is 550.00
PASS rect3.bottom is 300.00
PASS image3.left is 550.00
PASS image3.top is 250.00
PASS image3.width is 50.00
PASS image3.height is 25.00
PASS image3.right is 600.00
PASS image3.bottom is 275.00
PASS text3.left is 550.00
PASS text3.top is 282.66
FAIL text3.width should be 49.19. Was 47.99690246582031.
PASS text3.height is 6.15
FAIL text3.right should be 599.19. Was 597.9969024658203.
PASS text3.bottom is 288.82


PASS successfullyParsed is true

TEST COMPLETE