Skip to main content

Search and Top Navigation

#7083 closed bug (notabug)

Opened March 08, 2011 08:22AM UTC

Closed March 08, 2011 01:01PM UTC

ui-helper-hidden-accessible not working correctly in IE6 or IE7

Reported by: Necroman Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.css-framework Version: 1.8.10
Keywords: Cc:
Blocked by: Blocking:

When I use this class on a <button> element, in IE6 and IE7 the button is still visible like before.

I modified the style and it is working now, but I'm not sure, if this can break usage od ui-helper-hidden-accessible elsewhere.

Original style:

.ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); }

Note also the duplicate clip: rect(1px 1px 1px 1px); - that's a bug I guess

My version, working in IE6 and IE7:

.ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px,1px,1px,1px); left: 999999px; }
Attachments (0)
Change History (3)

Changed March 08, 2011 09:28AM UTC by Necroman comment:1

It actually works, I've just tried to isolate the problem and when using the original code, it is hidden in IE6 and IE7 too

clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px);

Please add at least some comment to the jqueryUI code why we need double declaration of clip: rect;

Changed March 08, 2011 12:47PM UTC by scottgonzalez comment:2

component: ui.coreCSS Framework

The duplicate clip is not a bug, it's required for cross-browser support.

Changed March 08, 2011 01:01PM UTC by scottgonzalez comment:3

resolution: → invalid
status: newclosed

Closing since the original reporter said it works.