Changeset 5278
- Timestamp:
- 11/26/07 18:12:41 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
sandbox/ahocevar/styles/lib/OpenLayers/Renderer/VML.js
r5272 r5278 252 252 * Method: postDraw 253 253 * Some versions of Internet Explorer seem to be unable to set fillcolor 254 * and strokecolor correctly before a node is appended to a visible vml255 * node. This method takes care of that and sets fillcolor and strokecolor256 * a gain if needed.254 * and strokecolor to "none" correctly before the fill node is appended to 255 * a visible vml node. This method takes care of that and sets fillcolor 256 * and strokecolor again if needed. 257 257 * 258 258 * Parameters: … … 262 262 var fillColor = node._style.fillColor; 263 263 var strokeColor = node._style.strokeColor; 264 if ( node.getAttribute("fillcolor") != fillColor) {264 if (fillColor == "none" && node.getAttribute("fillcolor") != "none") { 265 265 node.setAttribute("fillcolor", fillColor); 266 266 } 267 if (node.getAttribute("strokecolor") != strokeColor) { 267 if (strokeColor == "none" && 268 node.getAttribute("strokecolor") != "none") { 268 269 node.setAttribute("strokecolor", strokeColor) 269 270 }
