Add foreignObject to whitelist. Fix some HTML5 validation errors
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1352 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
cb790bc6a0
commit
d5ec300b6b
|
@ -231,7 +231,7 @@ script type="text/javascript" src="locale/locale.min.js"></script-->
|
||||||
|
|
||||||
<div id="image_panel">
|
<div id="image_panel">
|
||||||
<div class="toolset">
|
<div class="toolset">
|
||||||
<label id="iwidthLabel"><span id="iwidthLabel">width:</span>
|
<label><span id="iwidthLabel">width:</span>
|
||||||
<input id="image_width" class="attr_changer" title="Change image width" size="3" data-attr="width"/>
|
<input id="image_width" class="attr_changer" title="Change image width" size="3" data-attr="width"/>
|
||||||
</label>
|
</label>
|
||||||
<label><span id="iheightLabel">height:</span>
|
<label><span id="iheightLabel">height:</span>
|
||||||
|
@ -242,7 +242,7 @@ script type="text/javascript" src="locale/locale.min.js"></script-->
|
||||||
<label id="tool_image_url">url:
|
<label id="tool_image_url">url:
|
||||||
<input id="image_url" type="text" title="Change URL" size="35"/>
|
<input id="image_url" type="text" title="Change URL" size="35"/>
|
||||||
<button id="change_image_url" style="display:none;">Change Image</button>
|
<button id="change_image_url" style="display:none;">Change Image</button>
|
||||||
<div id="url_notice" title="NOTE: This image cannot be embedded. It will depend on this path to be displayed"></div>
|
<span id="url_notice" title="NOTE: This image cannot be embedded. It will depend on this path to be displayed"></span>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -335,7 +335,7 @@ script type="text/javascript" src="locale/locale.min.js"></script-->
|
||||||
<label id="tool_node_x">x:
|
<label id="tool_node_x">x:
|
||||||
<input id="path_node_x" class="attr_changer" title="Change node's x coordinate" size="3" data-attr="x"/>
|
<input id="path_node_x" class="attr_changer" title="Change node's x coordinate" size="3" data-attr="x"/>
|
||||||
</label>
|
</label>
|
||||||
<label id="tool_node_y">y:</label>
|
<label id="tool_node_y">y:
|
||||||
<input id="path_node_y" class="attr_changer" title="Change node's y coordinate" size="3" data-attr="y"/>
|
<input id="path_node_y" class="attr_changer" title="Change node's y coordinate" size="3" data-attr="y"/>
|
||||||
</label>
|
</label>
|
||||||
<select id="seg_type" title="Change Segment type">
|
<select id="seg_type" title="Change Segment type">
|
||||||
|
@ -525,7 +525,7 @@ script type="text/javascript" src="locale/locale.min.js"></script-->
|
||||||
<option id="lang_hi" value="hi">हिन्दी, हिंदी</option>
|
<option id="lang_hi" value="hi">हिन्दी, हिंदी</option>
|
||||||
<option id="lang_nl" value="nl">Nederlands</option>
|
<option id="lang_nl" value="nl">Nederlands</option>
|
||||||
<option id="lang_ro" value="ro">Româneşte</option>
|
<option id="lang_ro" value="ro">Româneşte</option>
|
||||||
<option id="lang_ro" value="ru">Русский</option>
|
<option id="lang_ru" value="ru">Русский</option>
|
||||||
<option id="lang_sk" value="sk">Slovenčina</option>
|
<option id="lang_sk" value="sk">Slovenčina</option>
|
||||||
<option id="lang_zh-TW" value="zh-TW">繁體中文</option>
|
<option id="lang_zh-TW" value="zh-TW">繁體中文</option>
|
||||||
</select>
|
</select>
|
||||||
|
|
|
@ -36,6 +36,7 @@ var isOpera = !!window.opera,
|
||||||
"ellipse": ["class", "clip-path", "clip-rule", "cx", "cy", "fill", "fill-opacity", "fill-rule", "filter", "id", "mask", "opacity", "requiredFeatures", "rx", "ry", "stroke", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke-width", "style", "systemLanguage", "transform"],
|
"ellipse": ["class", "clip-path", "clip-rule", "cx", "cy", "fill", "fill-opacity", "fill-rule", "filter", "id", "mask", "opacity", "requiredFeatures", "rx", "ry", "stroke", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke-width", "style", "systemLanguage", "transform"],
|
||||||
"feGaussianBlur": ["class", "id", "requiredFeatures", "stdDeviation"],
|
"feGaussianBlur": ["class", "id", "requiredFeatures", "stdDeviation"],
|
||||||
"filter": ["class", "filterRes", "filterUnits", "height", "id", "primitiveUnits", "requiredFeatures", "width", "x", "xlink:href", "y"],
|
"filter": ["class", "filterRes", "filterUnits", "height", "id", "primitiveUnits", "requiredFeatures", "width", "x", "xlink:href", "y"],
|
||||||
|
"foreignObject": ["class", "height", "id", "requiredFeatures", "style", "width", "x", "y"],
|
||||||
"g": ["class", "clip-path", "clip-rule", "id", "display", "fill", "fill-opacity", "fill-rule", "filter", "mask", "opacity", "requiredFeatures", "stroke", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke-width", "style", "systemLanguage", "transform"],
|
"g": ["class", "clip-path", "clip-rule", "id", "display", "fill", "fill-opacity", "fill-rule", "filter", "mask", "opacity", "requiredFeatures", "stroke", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke-width", "style", "systemLanguage", "transform"],
|
||||||
"image": ["class", "clip-path", "clip-rule", "filter", "height", "id", "mask", "opacity", "requiredFeatures", "style", "systemLanguage", "transform", "width", "x", "xlink:href", "xlink:title", "y"],
|
"image": ["class", "clip-path", "clip-rule", "filter", "height", "id", "mask", "opacity", "requiredFeatures", "style", "systemLanguage", "transform", "width", "x", "xlink:href", "xlink:title", "y"],
|
||||||
"line": ["class", "clip-path", "clip-rule", "fill", "fill-opacity", "fill-rule", "filter", "id", "marker-end", "marker-mid", "marker-start", "mask", "opacity", "requiredFeatures", "stroke", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke-width", "style", "systemLanguage", "transform", "x1", "x2", "y1", "y2"],
|
"line": ["class", "clip-path", "clip-rule", "fill", "fill-opacity", "fill-rule", "filter", "id", "marker-end", "marker-mid", "marker-start", "mask", "opacity", "requiredFeatures", "stroke", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke-width", "style", "systemLanguage", "transform", "x1", "x2", "y1", "y2"],
|
||||||
|
|
Loading…
Reference in New Issue