OpenLayers OpenLayers

Ticket #1610 (closed bug: fixed)

Opened 5 months ago

Last modified 3 months ago

add a text-align css rule

Reported by: pgiraud Assigned to:
Priority: minor Milestone: 2.7 Release
Component: Layer Version: 2.6
Keywords: Cc:
State: Complete

Description

Some users pulled their hair by trying to find out why they had weird offset problems with vector features on IE. In most case, that problem is due to a specific text-align css rule set on elements on the HTML page.

It has already been discussed on the mailing list, a maybe, there's something about it the FAQ.

Though, I think it could be easy to prevent this issue in OpenLayers by setting our own css rule.

Patch to follow.

Attachments

patch-1610-r7462-A0.diff (1.0 kB) - added by pgiraud on 07/04/08 08:01:47.

Change History

07/04/08 08:01:47 changed by pgiraud

  • attachment patch-1610-r7462-A0.diff added.

07/04/08 08:04:00 changed by pgiraud

  • state set to Review.
  • milestone set to 2.7 Release.

07/04/08 08:04:05 changed by pgiraud

  • type changed from feature to bug.

07/12/08 17:21:11 changed by elemoine

This sounds like a good solution. But I'm not a CSS expert so I'd like that someone else also look at this patch before it makes it into trunk.

07/12/08 22:16:50 changed by pagameba

  • state changed from Review to Commit.

this is fine.

07/17/08 09:21:51 changed by pgiraud

  • status changed from new to closed.
  • state changed from Commit to Complete.
  • resolution set to fixed.

(In [7534]) add a specific text-align css rule so that we don't have weird behavior of vector features in IE, r=elemoine,pagameba (Closes #1610)

07/28/08 16:04:15 changed by euzuro

this is actually the same as #1116

note that the patch for #1116 is essentially reverting the css change that was applied in the fix for this ticket. no hard feelings.

09/05/08 02:31:27 changed by euzuro

  • component changed from general to Layer.