Skip to main content

Bug Tracker

Side navigation

#8880 closed bug (wontfix)

Opened April 15, 2011 03:21AM UTC

Closed September 03, 2012 07:02PM UTC

Last modified September 03, 2012 07:36PM UTC

CSS Hook for marginRight causes Flash and Sliverlight to reload in Webkit

Reported by: psayre@sitecrafting.com Owned by: timmywil
Priority: low Milestone: 1.next
Component: css Version: 1.5.2
Keywords: Cc:
Blocked by: Blocking:
Description

When using the Webkit work around on line 5989 (for marginRight), the swap causes both Flash and Silverlight to reload. This happens when you try to get the right margin of a table that has these plugins in it.

Here's a jsFiddle for it. It's missing the plugin because you can't have remove flash or silverlight files. :/

http://jsfiddle.net/S5QKv/2/

The Webkit bug doesn't apply to tables, so I think the fix is to test for a table prior to the swap.

Attachments (0)
Change History (7)

Changed April 15, 2011 05:07AM UTC by timmywil comment:1

component: unfiledcss
owner: → psayre@sitecrafting.com
status: newpending

Interesting. Do you have a page somewhere that demonstrates the reload?

Thanks!

Changed April 15, 2011 06:28PM UTC by psayre@sitecrafting.com comment:2

status: pendingnew

It looks like the real issue is changing the display for a table in both Firefox and Webkit.

I have a working example:

http://rainier.sitecrafting.com/workspace/psayre/sandbox/2011-04-14%20TableInlineBug/

Changed April 16, 2011 09:38PM UTC by timmywil comment:3

owner: psayre@sitecrafting.comtimmywil
priority: undecidedlow
status: newassigned

It seems that changing any css on a table containing a swf has this problem. However, I have confirmed that tables do not have the marginRight problem. View in Safari 5: http://jsfiddle.net/timmywil/XaRQ4/

Changed April 17, 2011 07:55PM UTC by timmywil comment:4

blockedby: → 4872

Changed July 11, 2011 07:51PM UTC by dmethvin comment:5

blockedby: 4872

(In #4872) It sounds like we can't fix this inside jQuery in a reasonable way. The first step would be that we need a test case. Can someone provide one?

Changed September 03, 2012 07:02PM UTC by mikesherov comment:6

resolution: → wontfix
status: assignedclosed

The only browsers still effected by the reliableMarginRight issue is Safari 5.0 and old mobile safari. Mobile Safari does not support Silverlight nor Flash. Safari 5.0 is under 1% of users.

Combine that with Flash inside of a table, and you're in the "dozens of people worldwide" are effected territory.

With that said, I'm resolving as wontfix.

OP or timmywil, please feel free to respond if you think I've made the wrong call here.

Changed September 03, 2012 07:36PM UTC by rwaldron comment:7

+1 to the close