Commit 4ebeb8bf authored by rwlbuis's avatar rwlbuis

Reviewed by Mitz.

        Do not mix up JSSVGPolygonElement and JSSVGPolylineElement.



git-svn-id: svn://svn.chromium.org/blink/trunk@18814 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 0bc2431e
2007-01-12 Rob Buis <buis@kde.org>
Reviewed by Mitz.
Test for poly element identity.
* svg/custom/poly-identify-expected.checksum: Added.
* svg/custom/poly-identify-expected.png: Added.
* svg/custom/poly-identify-expected.txt: Added.
* svg/custom/poly-identify.svg: Added.
2007-01-11 David Hyatt <hyatt@apple.com> 2007-01-11 David Hyatt <hyatt@apple.com>
Force column-width to parse in strict mode so that there is no confusion when it is used in the columns Force column-width to parse in strict mode so that there is no confusion when it is used in the columns
16310588467cfc20d551635abc59b784
\ No newline at end of file
layer at (0,0) size 800x600
RenderView at (0,0) size 800x600
RenderSVGContainer {svg} at (0,0) size 100x100
RenderPath {rect} at (0,0) size 100x100 [fill={[type=SOLID] [color=#008000]}] [data="M0.00,0.00L100.00,0.00L100.00,100.00L0.00,100.00"]
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" onload="init()">
<script type="text/ecmascript"><![CDATA[
function init()
{
var polyline = document.createElementNS("http://www.w3.org/2000/svg", "polyline");
var polygon = document.createElementNS("http://www.w3.org/2000/svg", "polygon");
if (polyline == "[object SVGPolylineElement]" &&
polygon == "[object SVGPolygonElement]") {
document.getElementById("passed").setAttribute("fill", "green");
}
}
]]></script>
<rect id="passed" x="0" y="0" width="100" height="100" fill="red"/>
</svg>
2007-01-12 Rob Buis <buis@kde.org>
Reviewed by Mitz.
Do not mix up JSSVGPolygonElement and JSSVGPolylineElement.
* bindings/js/JSSVGElementWrapperFactory.cpp:
2007-01-12 Kevin Decker <kdecker@apple.com> 2007-01-12 Kevin Decker <kdecker@apple.com>
Reviewed by andersca. Reviewed by andersca.
......
...@@ -200,8 +200,8 @@ typedef DOMNode* (*CreateSVGElementWrapperFunction)(ExecState*, PassRefPtr<SVGEl ...@@ -200,8 +200,8 @@ typedef DOMNode* (*CreateSVGElementWrapperFunction)(ExecState*, PassRefPtr<SVGEl
macro(metadata, Metadata) \ macro(metadata, Metadata) \
macro(path, Path) \ macro(path, Path) \
macro(pattern, Pattern) \ macro(pattern, Pattern) \
macro(polyline, Polygon) \ macro(polyline, Polyline) \
macro(polygon, Polyline) \ macro(polygon, Polygon) \
macro(radialGradient, RadialGradient) \ macro(radialGradient, RadialGradient) \
macro(rect, Rect) \ macro(rect, Rect) \
macro(script, Script) \ macro(script, Script) \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment