Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #10228 (closed defect: invalid)

Opened 2 years ago

Last modified 1 year ago

IE's positionedOffset viewportOffset TR/TD bug (content disappears)

Reported by: pphilipp Assigned to: sam
Priority: normal Milestone: 2.x
Component: Prototype Version: edge
Severity: normal Keywords:
Cc:

Description

Hi there,

I've tried to use positionedOffset to position a div-layer dynamically under a row in a table (event handling on the TR tag). The positioning works without problems, but if I use IE 6 / 7 the content of the TR / TD tags disappears. I've located the error in the implementation of the code which is defined here: http://dev.rubyonrails.org/changeset/7301

The problematic part is this one:

2240    if (position != 'static') return proceed(element);

If I change this to following code, everything works fine (And this code matches to the original changeset):

2240    if (position == 'static') return proceed(element);

Maybe it's just a error with the TR tag, this I haven't tested as yet.

Best regards Peter Philipp

Change History

04/05/08 04:28:02 changed by jdalton

  • summary changed from Wrap for positionedOffset getOffsetParent viewportOffset invalid (?) to IE's positionedOffset viewportOffset TR/TD bug.

04/09/08 02:04:38 changed by jdalton

  • summary changed from IE's positionedOffset viewportOffset TR/TD bug to IE's positionedOffset viewportOffset TR/TD bug (content disappears).

05/18/08 21:35:20 changed by jdalton

  • status changed from new to closed.
  • resolution set to invalid.

Cannot reproduce this error under Prototype 1.6.0.2