Opera Bug #270987

offsetTop reported incorrectly in position:fixed; containers when document is scrolled

Affects up to Opera 12.15

This <div> element has the CSS style position:fixed; applied to it.



The button's offsetTop should always be the same since it never moves with respect to its parent element, the fixed <div>.

Instead of keeping the offsetTop values of elements contained in a position:fixed; container constant, Opera adds the document's scrollTop height.

Paragraph 1

Paragraph 2

Paragraph 3

Paragraph 4

Paragraph 5

Paragraph 6

Paragraph 7

Paragraph 8

Paragraph 9

Paragraph 10

Paragraph 11

Paragraph 12

Paragraph 13

Paragraph 14

Paragraph 15

Paragraph 16

Paragraph 17

Paragraph 18

Paragraph 19

Paragraph 20

Paragraph 21

Paragraph 22

Paragraph 23

Paragraph 24

Paragraph 25


Main Bug List