Ticket #1141 (closed feature: fixed)

Opened 6 years ago

Last modified 5 years ago

don't add vml namespace if already done

Reported by: pgiraud Owned by:
Priority: minor Milestone: 2.6 Release
Component: Renderer.VML Version: 2.5
Keywords: Cc:
State:

Description

We shouldn't add the vml namespace to the document if it has already done or if namespace already exists. For example, if we add several vector layer to the map, each will add the "v" namespace and will create a new style sheet rule.

Though, I don't really know what happens if user already set a vml namespace in the HTML document but with no proper or wrong style sheet rules.

Attached patch proposes to test if namespace already exists before adding it with corresponding style sheet rule.

Attachments

vml_initialize.patch Download (1.0 KB) - added by pgiraud 6 years ago.

Change History

Changed 6 years ago by pgiraud

Changed 6 years ago by fredj

  • keywords review added

Changed 5 years ago by crschmidt

  • keywords review removed
  • status changed from new to closed
  • resolution set to fixed

(In [5236]) Only add the VML namespace if we haven't already added it. (Closes #1141)

Note: See TracTickets for help on using tickets.