Skip to main content

Bug Tracker

Side navigation

#8323 closed bug (invalid)

Opened February 18, 2011 09:29PM UTC

Closed February 18, 2011 10:27PM UTC

position() is broken on Chrome

Reported by: dlee Owned by:
Priority: low Milestone: 1.next
Component: offset Version: 1.5
Keywords: Cc:
Blocked by: Blocking:
Description

Example HTML:

<html>
  <script src=http://code.jquery.com/jquery-1.5.1rc1.js></script>
  <body>
    <p>Example</p>
  </body>
  <script>
    alert("$('p').position().top: " + $('p').position().top);
  </script>
</html>
Attachments (0)
Change History (1)

Changed February 18, 2011 10:27PM UTC by jitter comment:1

component: unfiledoffset
priority: undecidedlow
resolution: → invalid
status: newclosed

Your code sample is invalid HTML in so many ways that I won't even list them.

When reproducing your code with at least valid html as in this test case I can't see anything wrong.


In order to provide a most useful bug report read: How to report bugs