Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(134)

Side by Side Diff: LayoutTests/fast/css/computed-offset-with-zoom-expected.txt

Issue 82083002: Move viewport unit resolution to style recalc time (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebased Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 PASS window.getComputedStyle(fixedElement).top is '100px' 1 PASS window.getComputedStyle(fixedElement).top is '100px'
2 PASS window.getComputedStyle(fixedElement).right is '100px' 2 PASS window.getComputedStyle(fixedElement).right is '100px'
3 PASS window.getComputedStyle(fixedElement).bottom is '100px' 3 PASS window.getComputedStyle(fixedElement).bottom is '100px'
4 PASS window.getComputedStyle(fixedElement).left is '100px' 4 PASS window.getComputedStyle(fixedElement).left is '100px'
5 PASS window.getComputedStyle(percentageElement).top is '50px' 5 PASS window.getComputedStyle(percentageElement).top is '50px'
6 PASS window.getComputedStyle(percentageElement).right is '100px' 6 PASS window.getComputedStyle(percentageElement).right is '100px'
7 PASS window.getComputedStyle(percentageElement).bottom is '50px' 7 PASS window.getComputedStyle(percentageElement).bottom is '50px'
8 PASS window.getComputedStyle(percentageElement).left is '100px' 8 PASS window.getComputedStyle(percentageElement).left is '100px'
9 PASS window.getComputedStyle(viewportElement).top is '120px' 9 PASS window.getComputedStyle(viewportElement).top is '60px'
10 PASS window.getComputedStyle(viewportElement).right is '160px' 10 PASS window.getComputedStyle(viewportElement).right is '80px'
11 PASS window.getComputedStyle(viewportElement).bottom is '120px' 11 PASS window.getComputedStyle(viewportElement).bottom is '60px'
12 PASS window.getComputedStyle(viewportElement).left is '160px' 12 PASS window.getComputedStyle(viewportElement).left is '80px'
13 PASS window.getComputedStyle(fixedElement).top is '100px' 13 PASS window.getComputedStyle(fixedElement).top is '100px'
14 PASS window.getComputedStyle(fixedElement).right is '100px' 14 PASS window.getComputedStyle(fixedElement).right is '100px'
15 PASS window.getComputedStyle(fixedElement).bottom is '100px' 15 PASS window.getComputedStyle(fixedElement).bottom is '100px'
16 PASS window.getComputedStyle(fixedElement).left is '100px' 16 PASS window.getComputedStyle(fixedElement).left is '100px'
17 PASS window.getComputedStyle(percentageElement).top is '50px' 17 PASS window.getComputedStyle(percentageElement).top is '50px'
18 PASS window.getComputedStyle(percentageElement).right is '100px' 18 PASS window.getComputedStyle(percentageElement).right is '100px'
19 PASS window.getComputedStyle(percentageElement).bottom is '50px' 19 PASS window.getComputedStyle(percentageElement).bottom is '50px'
20 PASS window.getComputedStyle(percentageElement).left is '100px' 20 PASS window.getComputedStyle(percentageElement).left is '100px'
21 PASS window.getComputedStyle(viewportElement).top is '48px' 21 PASS window.getComputedStyle(viewportElement).top is '60px'
22 PASS window.getComputedStyle(viewportElement).right is '64px' 22 PASS window.getComputedStyle(viewportElement).right is '80px'
23 PASS window.getComputedStyle(viewportElement).bottom is '48px' 23 PASS window.getComputedStyle(viewportElement).bottom is '60px'
24 PASS window.getComputedStyle(viewportElement).left is '64px' 24 PASS window.getComputedStyle(viewportElement).left is '80px'
25 PASS window.getComputedStyle(fixedElement).top is '100px' 25 PASS window.getComputedStyle(fixedElement).top is '100px'
26 PASS window.getComputedStyle(fixedElement).right is '100px' 26 PASS window.getComputedStyle(fixedElement).right is '100px'
27 PASS window.getComputedStyle(fixedElement).bottom is '100px' 27 PASS window.getComputedStyle(fixedElement).bottom is '100px'
28 PASS window.getComputedStyle(fixedElement).left is '100px' 28 PASS window.getComputedStyle(fixedElement).left is '100px'
29 PASS window.getComputedStyle(percentageElement).top is '50px' 29 PASS window.getComputedStyle(percentageElement).top is '50px'
30 PASS window.getComputedStyle(percentageElement).right is '100px' 30 PASS window.getComputedStyle(percentageElement).right is '100px'
31 PASS window.getComputedStyle(percentageElement).bottom is '50px' 31 PASS window.getComputedStyle(percentageElement).bottom is '50px'
32 PASS window.getComputedStyle(percentageElement).left is '100px' 32 PASS window.getComputedStyle(percentageElement).left is '100px'
33 PASS window.getComputedStyle(viewportElement).top is '60px' 33 PASS window.getComputedStyle(viewportElement).top is '60px'
34 PASS window.getComputedStyle(viewportElement).right is '80px' 34 PASS window.getComputedStyle(viewportElement).right is '80px'
35 PASS window.getComputedStyle(viewportElement).bottom is '60px' 35 PASS window.getComputedStyle(viewportElement).bottom is '60px'
36 PASS window.getComputedStyle(viewportElement).left is '80px' 36 PASS window.getComputedStyle(viewportElement).left is '80px'
37 PASS successfullyParsed is true 37 PASS successfullyParsed is true
38 38
39 TEST COMPLETE 39 TEST COMPLETE
40 Reported computed offset should not change with zoom level. 40 Reported computed offset should not change with zoom level.
41 41
42 42
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698