<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[209497] trunk/LayoutTests</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/209497">209497</a></dd>
<dt>Author</dt> <dd>hyatt@apple.com</dd>
<dt>Date</dt> <dd>2016-12-07 16:42:29 -0800 (Wed, 07 Dec 2016)</dd>
</dl>
<h3>Log Message</h3>
<pre>[CSS Parser] Remove tests that depend on SVG CSS OM that has been removed
https://bugs.webkit.org/show_bug.cgi?id=165565
Reviewed by Jon Lee.
* TestExpectations:
* svg/dom/SVGColor-expected.txt: Removed.
* svg/dom/SVGColor.html: Removed.
* svg/dom/SVGPaint-expected.txt: Removed.
* svg/dom/SVGPaint.html: Removed.
* svg/dom/rgb-color-parser-expected.txt: Removed.
* svg/dom/rgb-color-parser.html: Removed.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsTestExpectations">trunk/LayoutTests/TestExpectations</a></li>
</ul>
<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkLayoutTestssvgdomSVGColorexpectedtxt">trunk/LayoutTests/svg/dom/SVGColor-expected.txt</a></li>
<li><a href="#trunkLayoutTestssvgdomSVGColorhtml">trunk/LayoutTests/svg/dom/SVGColor.html</a></li>
<li><a href="#trunkLayoutTestssvgdomSVGPaintexpectedtxt">trunk/LayoutTests/svg/dom/SVGPaint-expected.txt</a></li>
<li><a href="#trunkLayoutTestssvgdomSVGPainthtml">trunk/LayoutTests/svg/dom/SVGPaint.html</a></li>
<li><a href="#trunkLayoutTestssvgdomrgbcolorparserexpectedtxt">trunk/LayoutTests/svg/dom/rgb-color-parser-expected.txt</a></li>
<li><a href="#trunkLayoutTestssvgdomrgbcolorparserhtml">trunk/LayoutTests/svg/dom/rgb-color-parser.html</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (209496 => 209497)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2016-12-08 00:37:28 UTC (rev 209496)
+++ trunk/LayoutTests/ChangeLog        2016-12-08 00:42:29 UTC (rev 209497)
</span><span class="lines">@@ -1,3 +1,18 @@
</span><ins>+2016-12-07 Dave Hyatt <hyatt@apple.com>
+
+ [CSS Parser] Remove tests that depend on SVG CSS OM that has been removed
+ https://bugs.webkit.org/show_bug.cgi?id=165565
+
+ Reviewed by Jon Lee.
+
+ * TestExpectations:
+ * svg/dom/SVGColor-expected.txt: Removed.
+ * svg/dom/SVGColor.html: Removed.
+ * svg/dom/SVGPaint-expected.txt: Removed.
+ * svg/dom/SVGPaint.html: Removed.
+ * svg/dom/rgb-color-parser-expected.txt: Removed.
+ * svg/dom/rgb-color-parser.html: Removed.
+
</ins><span class="cx"> 2016-12-07 Ryan Haddad <ryanhaddad@apple.com>
</span><span class="cx">
</span><span class="cx"> Marking compositing/layer-creation/fixed-overlap-extent-rtl.html as failing on mac-wk1.
</span></span></pre></div>
<a id="trunkLayoutTestsTestExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/TestExpectations (209496 => 209497)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/TestExpectations        2016-12-08 00:37:28 UTC (rev 209496)
+++ trunk/LayoutTests/TestExpectations        2016-12-08 00:42:29 UTC (rev 209497)
</span><span class="lines">@@ -1058,12 +1058,6 @@
</span><span class="cx"> webkit.org/b/165195 fast/css/parse-color-int-or-percent-crash.html [ Pass Failure ]
</span><span class="cx"> webkit.org/b/165195 fast/css/string-quote-binary.html [ Pass Failure ]
</span><span class="cx">
</span><del>-# The following tests should probably just be removed, since they will never pass. Do this once
-# the new CSS Parser turns on.
-webkit.org/b/165195 svg/dom/SVGColor.html [ Pass Failure ]
-webkit.org/b/165195 svg/dom/SVGPaint.html [ Pass Failure ]
-webkit.org/b/165195 svg/dom/rgb-color-parser.html [ Pass Failure ]
-
</del><span class="cx"> # Visual viewports
</span><span class="cx"> webkit.org/b/165460 compositing/repaint/scroll-fixed-layer-no-content.html [ Failure ]
</span><span class="cx"> webkit.org/b/165460 compositing/repaint/scroll-fixed-layer-out-of-view.html [ Failure ]
</span></span></pre></div>
<a id="trunkLayoutTestssvgdomSVGColorexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/svg/dom/SVGColor-expected.txt (209496 => 209497)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/dom/SVGColor-expected.txt        2016-12-08 00:37:28 UTC (rev 209496)
+++ trunk/LayoutTests/svg/dom/SVGColor-expected.txt        2016-12-08 00:42:29 UTC (rev 209497)
</span><span class="lines">@@ -1,71 +0,0 @@
</span><del>-This test checks the SVGColor API
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-
-Check initial color values
-PASS (stopColor = stopElement.style.getPropertyCSSValue('stop-color')).toString() is "[object SVGColor]"
-PASS stopColor.colorType is SVGColor.SVG_COLORTYPE_RGBCOLOR
-PASS (rgbColor = stopColor.rgbColor).toString() is "[object RGBColor]"
-PASS rgbColor.red.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 255
-PASS rgbColor.green.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
-PASS rgbColor.blue.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
-PASS stopElement.style.stopColor is "rgb(255, 0, 0)"
-PASS document.defaultView.getComputedStyle(stopElement).stopColor is "rgb(255, 0, 0)"
-
-Try invalid arguments for setColor()
-PASS stopColor.setColor(null, null, null) threw exception NoModificationAllowedError (DOM Exception 7): The object can not be modified..
-PASS stopColor.setColor(SVGColor.SVG_COLORTYPE_RGBCOLOR, svgElement, ''); threw exception NoModificationAllowedError (DOM Exception 7): The object can not be modified..
-PASS stopColor.setColor(SVGColor.SVG_COLORTYPE_RGBCOLOR, '', '') threw exception NoModificationAllowedError (DOM Exception 7): The object can not be modified..
-PASS stopColor.setColor(SVGColor.SVG_COLORTYPE_CURRENTCOLOR + 1, '', ''); threw exception NoModificationAllowedError (DOM Exception 7): The object can not be modified..
-PASS stopColor.setColor() threw exception TypeError: Not enough arguments.
-PASS stopColor.setColor(stopColor) threw exception TypeError: Not enough arguments.
-
-Try assigning to the readonly colorType property, which silently fails
-PASS stopColor.colorType = SVGColor.SVG_COLORTYPE_UNKKNOWN; is undefined.
-PASS stopColor.colorType is SVGColor.SVG_COLORTYPE_RGBCOLOR
-PASS stopElement.style.stopColor is "rgb(255, 0, 0)"
-PASS document.defaultView.getComputedStyle(stopElement).stopColor is "rgb(255, 0, 0)"
-
-Test using setColor() and SVG_COLORTYPE_UNKNOWN
-PASS stopColor.setColor(SVGColor.SVG_COLORTYPE_UNKKNOWN, '', '') threw exception NoModificationAllowedError (DOM Exception 7): The object can not be modified..
-PASS stopColor.setColor(SVGColor.SVG_COLORTYPE_UNKKNOWN, 'rgb(0,128,128)', '') threw exception NoModificationAllowedError (DOM Exception 7): The object can not be modified..
-PASS stopColor.setColor(SVGColor.SVG_COLORTYPE_UNKKNOWN, '', 'icc-color(myRGB, 0, 1, 2)') threw exception NoModificationAllowedError (DOM Exception 7): The object can not be modified..
-PASS stopColor.setColor(SVGColor.SVG_COLORTYPE_UNKKNOWN, 'rgb(0,0,0)', 'icc-color(myRGB, 0, 1, 2)') threw exception NoModificationAllowedError (DOM Exception 7): The object can not be modified..
-
-Test using setColor() and SVG_COLORTYPE_RGBCOLOR_ICCCOLOR
-PASS stopColor.setColor(SVGColor.SVG_COLORTYPE_RGBCOLOR_ICCCOLOR, 'rgb(77,0,77)', 'icc-color(myRGB, 0, 1, 2)') threw exception NoModificationAllowedError (DOM Exception 7): The object can not be modified..
-PASS stopColor.colorType is SVGColor.SVG_COLORTYPE_RGBCOLOR
-PASS stopColor.colorType is SVGColor.SVG_COLORTYPE_RGBCOLOR
-PASS (rgbColor = stopColor.rgbColor).toString() is "[object RGBColor]"
-PASS rgbColor.red.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 255
-PASS rgbColor.green.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
-PASS rgbColor.blue.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
-PASS stopElement.style.stopColor is "rgb(255, 0, 0)"
-PASS document.defaultView.getComputedStyle(stopElement).stopColor is "rgb(255, 0, 0)"
-
-Test using setColor() and SVG_COLORTYPE_CURRENTCOLOR
-PASS stopColor.setColor(SVGColor.SVG_COLORTYPE_CURRENTCOLOR, 'rgb(77,0,77)', 'icc-color(myRGB, 0, 1, 2)') threw exception NoModificationAllowedError (DOM Exception 7): The object can not be modified..
-PASS stopColor.colorType is SVGColor.SVG_COLORTYPE_RGBCOLOR
-PASS stopColor.colorType is SVGColor.SVG_COLORTYPE_RGBCOLOR
-PASS (rgbColor = stopColor.rgbColor).toString() is "[object RGBColor]"
-PASS rgbColor.red.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 255
-PASS rgbColor.green.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
-PASS rgbColor.blue.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
-PASS stopElement.style.stopColor is "rgb(255, 0, 0)"
-PASS document.defaultView.getComputedStyle(stopElement).stopColor is "rgb(255, 0, 0)"
-
-Test using setColor() and SVG_COLORTYPE_RGBCOLOR
-PASS stopColor.setColor(SVGColor.SVG_COLORTYPE_RGBCOLOR, 'rgb(0,77,0)', 'icc-color(myRGB, 0, 1, 2)') threw exception NoModificationAllowedError (DOM Exception 7): The object can not be modified..
-PASS stopColor.colorType is SVGColor.SVG_COLORTYPE_RGBCOLOR
-PASS stopColor.colorType is SVGColor.SVG_COLORTYPE_RGBCOLOR
-PASS (rgbColor = stopColor.rgbColor).toString() is "[object RGBColor]"
-PASS rgbColor.red.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 255
-PASS rgbColor.green.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
-PASS rgbColor.blue.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
-PASS document.defaultView.getComputedStyle(stopElement).stopColor is "rgb(255, 0, 0)"
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
</del></span></pre></div>
<a id="trunkLayoutTestssvgdomSVGColorhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/svg/dom/SVGColor.html (209496 => 209497)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/dom/SVGColor.html        2016-12-08 00:37:28 UTC (rev 209496)
+++ trunk/LayoutTests/svg/dom/SVGColor.html        2016-12-08 00:42:29 UTC (rev 209497)
</span><span class="lines">@@ -1,12 +0,0 @@
</span><del>-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html>
-<head>
-<script src="../../resources/js-test-pre.js"></script>
-</head>
-<body>
-<p id="description"></p>
-<div id="console"></div>
-<script src="script-tests/SVGColor.js"></script>
-<script src="../../resources/js-test-post.js"></script>
-</body>
-</html>
</del></span></pre></div>
<a id="trunkLayoutTestssvgdomSVGPaintexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/svg/dom/SVGPaint-expected.txt (209496 => 209497)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/dom/SVGPaint-expected.txt        2016-12-08 00:37:28 UTC (rev 209496)
+++ trunk/LayoutTests/svg/dom/SVGPaint-expected.txt        2016-12-08 00:42:29 UTC (rev 209497)
</span><span class="lines">@@ -1,244 +0,0 @@
</span><del>-This test checks the SVGPaint API
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-
-Check initial paint values
-PASS (fillPaint = rectElement.style.getPropertyCSSValue('fill')).toString() is "[object SVGPaint]"
-PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_RGBCOLOR
-PASS fillPaint.uri is ""
-PASS fillPaint.colorType is SVGColor.SVG_COLORTYPE_RGBCOLOR
-PASS (fillColor = fillPaint.rgbColor).toString() is "[object RGBColor]"
-PASS fillColor.red.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
-PASS fillColor.green.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 128
-PASS fillColor.blue.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
-PASS rectElement.style.fill is "rgb(0, 128, 0)"
-PASS document.defaultView.getComputedStyle(rectElement).fill is "rgb(0, 128, 0)"
-
-Try invalid arguments for setPaint()
-PASS fillPaint.setPaint(null, null, null, null) threw exception NoModificationAllowedError (DOM Exception 7): The object can not be modified..
-PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_RGBCOLOR, svgElement, '', ''); threw exception NoModificationAllowedError (DOM Exception 7): The object can not be modified..
-PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_RGBCOLOR, '', '') threw exception TypeError: Not enough arguments.
-PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR + 1, '', '', ''); threw exception NoModificationAllowedError (DOM Exception 7): The object can not be modified..
-PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_NONE - 1, '', '', ''); threw exception NoModificationAllowedError (DOM Exception 7): The object can not be modified..
-PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_URI + 1, '', '', ''); threw exception NoModificationAllowedError (DOM Exception 7): The object can not be modified..
-PASS fillPaint.setPaint() threw exception TypeError: Not enough arguments.
-PASS fillPaint.setPaint(fillPaint) threw exception TypeError: Not enough arguments.
-
-Try invalid arguments for setUri()
-PASS fillPaint.setUri() threw exception TypeError: Not enough arguments.
-
-Try assigning to the readonly paintType property, which silently fails
-PASS fillPaint.paintType = SVGPaint.SVG_PAINTTYPE_UNKKNOWN; is undefined.
-PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_RGBCOLOR
-PASS rectElement.style.fill is "rgb(0, 128, 0)"
-PASS document.defaultView.getComputedStyle(rectElement).fill is "rgb(0, 128, 0)"
-
-Test using setPaint() and SVG_PAINTTYPE_UNKNOWN
-PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_UNKKNOWN, '', '', '') threw exception NoModificationAllowedError (DOM Exception 7): The object can not be modified..
-PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_UNKKNOWN, 'url(#foo)', '', '') threw exception NoModificationAllowedError (DOM Exception 7): The object can not be modified..
-PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_UNKKNOWN, '', 'rgb(0,128,128)', '') threw exception NoModificationAllowedError (DOM Exception 7): The object can not be modified..
-PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_UNKKNOWN, '', '', 'icc-color(myRGB, 0, 1, 2)') threw exception NoModificationAllowedError (DOM Exception 7): The object can not be modified..
-PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_UNKKNOWN, 'url(#foo)', 'rgb(0,0,0)', 'icc-color(myRGB, 0, 1, 2)') threw exception NoModificationAllowedError (DOM Exception 7): The object can not be modified..
-
-Test using setPaint() and SVG_PAINTTYPE_NONE - a
-PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_NONE, '', '', '') threw exception NoModificationAllowedError (DOM Exception 7): The object can not be modified..
-PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_RGBCOLOR
-PASS rectElement.style.fill is "rgb(0, 128, 0)"
-PASS document.defaultView.getComputedStyle(rectElement).fill is "rgb(0, 128, 0)"
-
-Reset style to initial value
-PASS (fillPaint = rectElement.style.getPropertyCSSValue('fill')).toString() is "[object SVGPaint]"
-PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_RGBCOLOR
-PASS rectElement.style.fill is "rgb(0, 128, 0)"
-PASS document.defaultView.getComputedStyle(rectElement).fill is "rgb(0, 128, 0)"
-
-Test using setPaint() and SVG_PAINTTYPE_NONE - b
-PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_NONE, 'url(#foo)', '', '') threw exception NoModificationAllowedError (DOM Exception 7): The object can not be modified..
-PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_RGBCOLOR
-PASS rectElement.style.fill is "rgb(0, 128, 0)"
-PASS document.defaultView.getComputedStyle(rectElement).fill is "rgb(0, 128, 0)"
-
-Reset style to initial value
-PASS (fillPaint = rectElement.style.getPropertyCSSValue('fill')).toString() is "[object SVGPaint]"
-PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_RGBCOLOR
-PASS rectElement.style.fill is "rgb(0, 128, 0)"
-PASS document.defaultView.getComputedStyle(rectElement).fill is "rgb(0, 128, 0)"
-
-Test using setPaint() and SVG_PAINTTYPE_NONE - c
-PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_NONE, '', 'rgb(0,128,128)', '') threw exception NoModificationAllowedError (DOM Exception 7): The object can not be modified..
-PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_RGBCOLOR
-PASS rectElement.style.fill is "rgb(0, 128, 0)"
-PASS document.defaultView.getComputedStyle(rectElement).fill is "rgb(0, 128, 0)"
-
-Reset style to initial value
-PASS (fillPaint = rectElement.style.getPropertyCSSValue('fill')).toString() is "[object SVGPaint]"
-PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_RGBCOLOR
-PASS rectElement.style.fill is "rgb(0, 128, 0)"
-PASS document.defaultView.getComputedStyle(rectElement).fill is "rgb(0, 128, 0)"
-
-Test using setPaint() and SVG_PAINTTYPE_NONE - d
-PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_NONE, '', '', 'icc-color(myRGB, 0, 1, 2)') threw exception NoModificationAllowedError (DOM Exception 7): The object can not be modified..
-PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_RGBCOLOR
-PASS rectElement.style.fill is "rgb(0, 128, 0)"
-PASS document.defaultView.getComputedStyle(rectElement).fill is "rgb(0, 128, 0)"
-
-Reset style to initial value
-PASS (fillPaint = rectElement.style.getPropertyCSSValue('fill')).toString() is "[object SVGPaint]"
-PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_RGBCOLOR
-PASS rectElement.style.fill is "rgb(0, 128, 0)"
-PASS document.defaultView.getComputedStyle(rectElement).fill is "rgb(0, 128, 0)"
-
-Test using setPaint() and SVG_PAINTTYPE_NONE - e
-PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_NONE, 'url(#foo)', 'rgb(0,0,0)', 'icc-color(myRGB, 0, 1, 2)') threw exception NoModificationAllowedError (DOM Exception 7): The object can not be modified..
-PASS rectElement.style.fill is "rgb(0, 128, 0)"
-PASS document.defaultView.getComputedStyle(rectElement).fill is "rgb(0, 128, 0)"
-
-Test using setPaint() and SVG_PAINTTYPE_URI - a
-PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_URI, '', '', '') threw exception NoModificationAllowedError (DOM Exception 7): The object can not be modified..
-PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_RGBCOLOR
-PASS rectElement.style.fill is "rgb(0, 128, 0)"
-PASS document.defaultView.getComputedStyle(rectElement).fill is "rgb(0, 128, 0)"
-
-Test using setPaint() and SVG_PAINTTYPE_URI - b
-PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_URI, '', 'rgb(0,128,128)', '') threw exception NoModificationAllowedError (DOM Exception 7): The object can not be modified..
-PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_RGBCOLOR
-PASS rectElement.style.fill is "rgb(0, 128, 0)"
-PASS document.defaultView.getComputedStyle(rectElement).fill is "rgb(0, 128, 0)"
-
-Test using setPaint() and SVG_PAINTTYPE_URI - c
-PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_URI, '', '', 'icc-color(myRGB, 0, 1, 2)') threw exception NoModificationAllowedError (DOM Exception 7): The object can not be modified..
-PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_RGBCOLOR
-PASS rectElement.style.fill is "rgb(0, 128, 0)"
-PASS document.defaultView.getComputedStyle(rectElement).fill is "rgb(0, 128, 0)"
-
-Test using setPaint() and SVG_PAINTTYPE_URI - d
-PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_URI, 'url(#test)', '', '') threw exception NoModificationAllowedError (DOM Exception 7): The object can not be modified..
-PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_RGBCOLOR
-PASS fillPaint.uri is ""
-PASS fillPaint.colorType is SVGColor.SVG_COLORTYPE_RGBCOLOR
-PASS (fillColor = fillPaint.rgbColor).toString() is "[object RGBColor]"
-PASS fillColor.red.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
-PASS fillColor.green.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 128
-PASS fillColor.blue.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
-PASS rectElement.style.fill is "rgb(0, 128, 0)"
-PASS document.defaultView.getComputedStyle(rectElement).fill is "rgb(0, 128, 0)"
-
-Reset style to initial value
-PASS (fillPaint = rectElement.style.getPropertyCSSValue('fill')).toString() is "[object SVGPaint]"
-PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_RGBCOLOR
-PASS rectElement.style.fill is "rgb(0, 128, 0)"
-PASS document.defaultView.getComputedStyle(rectElement).fill is "rgb(0, 128, 0)"
-
-Test using setPaint() and SVG_PAINTTYPE_URI - e
-PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_URI, 'url(#foo)', 'rgb(0,0,0)', 'icc-color(myRGB, 0, 1, 2)') threw exception NoModificationAllowedError (DOM Exception 7): The object can not be modified..
-PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_RGBCOLOR
-PASS fillPaint.uri is ""
-PASS fillPaint.colorType is SVGColor.SVG_COLORTYPE_RGBCOLOR
-PASS (fillColor = fillPaint.rgbColor).toString() is "[object RGBColor]"
-PASS fillColor.red.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
-PASS fillColor.green.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 128
-PASS fillColor.blue.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
-PASS rectElement.style.fill is "rgb(0, 128, 0)"
-PASS document.defaultView.getComputedStyle(rectElement).fill is "rgb(0, 128, 0)"
-
-Test using setPaint() and SVG_PAINTTYPE_URI_NONE
-PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_URI_NONE, 'url(#test)', 'rgb(0,0,0)', 'icc-color(myRGB, 0, 1, 2)') threw exception NoModificationAllowedError (DOM Exception 7): The object can not be modified..
-PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_RGBCOLOR
-PASS fillPaint.uri is ""
-PASS fillPaint.colorType is SVGColor.SVG_COLORTYPE_RGBCOLOR
-PASS (fillColor = fillPaint.rgbColor).toString() is "[object RGBColor]"
-PASS fillColor.red.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
-PASS fillColor.green.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 128
-PASS fillColor.blue.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
-PASS rectElement.style.fill is "rgb(0, 128, 0)"
-PASS document.defaultView.getComputedStyle(rectElement).fill is "rgb(0, 128, 0)"
-
-Test using setPaint() and SVG_PAINTTYPE_URI_CURRENTCOLOR
-PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_URI_CURRENTCOLOR, 'url(#foo)', 'rgb(0,0,0)', 'icc-color(myRGB, 0, 1, 2)') threw exception NoModificationAllowedError (DOM Exception 7): The object can not be modified..
-PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_RGBCOLOR
-PASS fillPaint.uri is ""
-PASS fillPaint.colorType is SVGColor.SVG_COLORTYPE_RGBCOLOR
-PASS (fillColor = fillPaint.rgbColor).toString() is "[object RGBColor]"
-PASS fillColor.red.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
-PASS fillColor.green.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 128
-PASS fillColor.blue.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
-PASS rectElement.style.fill is "rgb(0, 128, 0)"
-PASS document.defaultView.getComputedStyle(rectElement).fill is "rgb(0, 128, 0)"
-
-Test using setPaint() and SVG_PAINTTYPE_URI_RGBCOLOR
-PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_URI_RGBCOLOR, 'url(#test)', 'rgb(77,0,77)', 'icc-color(myRGB, 0, 1, 2)') threw exception NoModificationAllowedError (DOM Exception 7): The object can not be modified..
-PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_RGBCOLOR
-PASS fillPaint.uri is ""
-PASS fillPaint.colorType is SVGColor.SVG_COLORTYPE_RGBCOLOR
-PASS (fillColor = fillPaint.rgbColor).toString() is "[object RGBColor]"
-PASS fillColor.red.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
-PASS fillColor.green.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 128
-PASS fillColor.blue.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
-PASS rectElement.style.fill is "rgb(0, 128, 0)"
-PASS document.defaultView.getComputedStyle(rectElement).fill is "rgb(0, 128, 0)"
-
-Test using setPaint() and SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR
-PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR, 'url(#foo)', 'rgb(77,0,77)', 'icc-color(myRGB, 0, 1, 2)') threw exception NoModificationAllowedError (DOM Exception 7): The object can not be modified..
-PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_RGBCOLOR
-PASS fillPaint.uri is ""
-PASS fillPaint.colorType is SVGColor.SVG_COLORTYPE_RGBCOLOR
-PASS (fillColor = fillPaint.rgbColor).toString() is "[object RGBColor]"
-PASS fillColor.red.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
-PASS fillColor.green.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 128
-PASS fillColor.blue.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
-PASS rectElement.style.fill is "rgb(0, 128, 0)"
-PASS document.defaultView.getComputedStyle(rectElement).fill is "rgb(0, 128, 0)"
-
-Test using setPaint() and SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR
-PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR, 'url(#test)', 'rgb(77,0,77)', 'icc-color(myRGB, 0, 1, 2)') threw exception NoModificationAllowedError (DOM Exception 7): The object can not be modified..
-PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_RGBCOLOR
-PASS fillPaint.uri is ""
-PASS fillPaint.colorType is SVGColor.SVG_COLORTYPE_RGBCOLOR
-PASS (fillColor = fillPaint.rgbColor).toString() is "[object RGBColor]"
-PASS fillColor.red.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
-PASS fillColor.green.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 128
-PASS fillColor.blue.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
-PASS rectElement.style.fill is "rgb(0, 128, 0)"
-PASS document.defaultView.getComputedStyle(rectElement).fill is "rgb(0, 128, 0)"
-
-Test using setPaint() and SVG_PAINTTYPE_CURRENTCOLOR
-PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_CURRENTCOLOR, 'url(#foo)', 'rgb(77,0,77)', 'icc-color(myRGB, 0, 1, 2)') threw exception NoModificationAllowedError (DOM Exception 7): The object can not be modified..
-PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_RGBCOLOR
-PASS fillPaint.uri is ""
-PASS fillPaint.colorType is SVGColor.SVG_COLORTYPE_RGBCOLOR
-PASS (fillColor = fillPaint.rgbColor).toString() is "[object RGBColor]"
-PASS fillColor.red.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
-PASS fillColor.green.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 128
-PASS fillColor.blue.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
-PASS rectElement.style.fill is "rgb(0, 128, 0)"
-PASS document.defaultView.getComputedStyle(rectElement).fill is "rgb(0, 128, 0)"
-
-Test using setPaint() and SVG_PAINTTYPE_RGBCOLOR
-PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_RGBCOLOR, 'url(#test)', 'rgb(0,77,0)', 'icc-color(myRGB, 0, 1, 2)') threw exception NoModificationAllowedError (DOM Exception 7): The object can not be modified..
-PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_RGBCOLOR
-PASS fillPaint.uri is ""
-PASS fillPaint.colorType is SVGColor.SVG_COLORTYPE_RGBCOLOR
-PASS (fillColor = fillPaint.rgbColor).toString() is "[object RGBColor]"
-PASS fillColor.red.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
-PASS fillColor.green.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 128
-PASS fillColor.blue.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
-PASS rectElement.style.fill is "rgb(0, 128, 0)"
-PASS document.defaultView.getComputedStyle(rectElement).fill is "rgb(0, 128, 0)"
-
-Test using setUri()
-PASS fillPaint.setUri('url(#foobar)'); is undefined.
-PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_RGBCOLOR
-PASS fillPaint.uri is ""
-PASS fillPaint.colorType is SVGColor.SVG_COLORTYPE_RGBCOLOR
-PASS (fillColor = fillPaint.rgbColor).toString() is "[object RGBColor]"
-PASS fillColor.red.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
-PASS fillColor.green.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 128
-PASS fillColor.blue.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
-PASS rectElement.style.fill is "rgb(0, 128, 0)"
-PASS document.defaultView.getComputedStyle(rectElement).fill is "rgb(0, 128, 0)"
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
</del></span></pre></div>
<a id="trunkLayoutTestssvgdomSVGPainthtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/svg/dom/SVGPaint.html (209496 => 209497)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/dom/SVGPaint.html        2016-12-08 00:37:28 UTC (rev 209496)
+++ trunk/LayoutTests/svg/dom/SVGPaint.html        2016-12-08 00:42:29 UTC (rev 209497)
</span><span class="lines">@@ -1,12 +0,0 @@
</span><del>-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html>
-<head>
-<script src="../../resources/js-test-pre.js"></script>
-</head>
-<body>
-<p id="description"></p>
-<div id="console"></div>
-<script src="script-tests/SVGPaint.js"></script>
-<script src="../../resources/js-test-post.js"></script>
-</body>
-</html>
</del></span></pre></div>
<a id="trunkLayoutTestssvgdomrgbcolorparserexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/svg/dom/rgb-color-parser-expected.txt (209496 => 209497)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/dom/rgb-color-parser-expected.txt        2016-12-08 00:37:28 UTC (rev 209496)
+++ trunk/LayoutTests/svg/dom/rgb-color-parser-expected.txt        2016-12-08 00:42:29 UTC (rev 209497)
</span><span class="lines">@@ -1,444 +0,0 @@
</span><del>-This test fuzzes the color parser with semi-random attribute values and dumps the results of any values that parse successfully.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-Parsed as rgb(0,0,255): blue
-Parsed as rgb(0,255,0): rgb(0, 255, 0)
-Parsed as rgb(240,248,255): aliceblue
-Parsed as rgb(250,235,215): antiquewhite
-Parsed as rgb(0,255,255): aqua
-Parsed as rgb(127,255,212): aquamarine
-Parsed as rgb(240,255,255): azure
-Parsed as rgb(245,245,220): beige
-Parsed as rgb(255,228,196): bisque
-Parsed as rgb(0,0,0): black
-Parsed as rgb(255,235,205): blanchedalmond
-Parsed as rgb(0,0,255): blue
-Parsed as rgb(138,43,226): blueviolet
-Parsed as rgb(165,42,42): brown
-Parsed as rgb(222,184,135): burlywood
-Parsed as rgb(95,158,160): cadetblue
-Parsed as rgb(127,255,0): chartreuse
-Parsed as rgb(210,105,30): chocolate
-Parsed as rgb(255,127,80): coral
-Parsed as rgb(100,149,237): cornflowerblue
-Parsed as rgb(255,248,220): cornsilk
-Parsed as rgb(220,20,60): crimson
-Parsed as rgb(0,255,255): cyan
-Parsed as rgb(0,0,139): darkblue
-Parsed as rgb(0,139,139): darkcyan
-Parsed as rgb(184,134,11): darkgoldenrod
-Parsed as rgb(169,169,169): darkgray
-Parsed as rgb(0,100,0): darkgreen
-Parsed as rgb(169,169,169): darkgrey
-Parsed as rgb(189,183,107): darkkhaki
-Parsed as rgb(139,0,139): darkmagenta
-Parsed as rgb(85,107,47): darkolivegreen
-Parsed as rgb(255,140,0): darkorange
-Parsed as rgb(153,50,204): darkorchid
-Parsed as rgb(139,0,0): darkred
-Parsed as rgb(233,150,122): darksalmon
-Parsed as rgb(143,188,143): darkseagreen
-Parsed as rgb(72,61,139): darkslateblue
-Parsed as rgb(47,79,79): darkslategray
-Parsed as rgb(47,79,79): darkslategrey
-Parsed as rgb(0,206,209): darkturquoise
-Parsed as rgb(148,0,211): darkviolet
-Parsed as rgb(255,20,147): deeppink
-Parsed as rgb(0,191,255): deepskyblue
-Parsed as rgb(105,105,105): dimgray
-Parsed as rgb(105,105,105): dimgrey
-Parsed as rgb(30,144,255): dodgerblue
-Parsed as rgb(178,34,34): firebrick
-Parsed as rgb(255,250,240): floralwhite
-Parsed as rgb(34,139,34): forestgreen
-Parsed as rgb(255,0,255): fuchsia
-Parsed as rgb(220,220,220): gainsboro
-Parsed as rgb(248,248,255): ghostwhite
-Parsed as rgb(255,215,0): gold
-Parsed as rgb(218,165,32): goldenrod
-Parsed as rgb(128,128,128): gray
-Parsed as rgb(0,128,0): green
-Parsed as rgb(173,255,47): greenyellow
-Parsed as rgb(128,128,128): grey
-Parsed as rgb(240,255,240): honeydew
-Parsed as rgb(255,105,180): hotpink
-Parsed as rgb(205,92,92): indianred
-Parsed as rgb(75,0,130): indigo
-Parsed as rgb(255,255,240): ivory
-Parsed as rgb(240,230,140): khaki
-Parsed as rgb(230,230,250): lavender
-Parsed as rgb(255,240,245): lavenderblush
-Parsed as rgb(124,252,0): lawngreen
-Parsed as rgb(255,250,205): lemonchiffon
-Parsed as rgb(173,216,230): lightblue
-Parsed as rgb(240,128,128): lightcoral
-Parsed as rgb(224,255,255): lightcyan
-Parsed as rgb(250,250,210): lightgoldenrodyellow
-Parsed as rgb(211,211,211): lightgray
-Parsed as rgb(144,238,144): lightgreen
-Parsed as rgb(211,211,211): lightgrey
-Parsed as rgb(255,182,193): lightpink
-Parsed as rgb(255,160,122): lightsalmon
-Parsed as rgb(32,178,170): lightseagreen
-Parsed as rgb(135,206,250): lightskyblue
-Parsed as rgb(119,136,153): lightslategray
-Parsed as rgb(119,136,153): lightslategrey
-Parsed as rgb(176,196,222): lightsteelblue
-Parsed as rgb(255,255,224): lightyellow
-Parsed as rgb(0,255,0): lime
-Parsed as rgb(50,205,50): limegreen
-Parsed as rgb(250,240,230): linen
-Parsed as rgb(255,0,255): magenta
-Parsed as rgb(128,0,0): maroon
-Parsed as rgb(102,205,170): mediumaquamarine
-Parsed as rgb(0,0,205): mediumblue
-Parsed as rgb(186,85,211): mediumorchid
-Parsed as rgb(147,112,219): mediumpurple
-Parsed as rgb(60,179,113): mediumseagreen
-Parsed as rgb(123,104,238): mediumslateblue
-Parsed as rgb(0,250,154): mediumspringgreen
-Parsed as rgb(72,209,204): mediumturquoise
-Parsed as rgb(199,21,133): mediumvioletred
-Parsed as rgb(25,25,112): midnightblue
-Parsed as rgb(245,255,250): mintcream
-Parsed as rgb(255,228,225): mistyrose
-Parsed as rgb(255,228,181): moccasin
-Parsed as rgb(255,222,173): navajowhite
-Parsed as rgb(0,0,128): navy
-Parsed as rgb(253,245,230): oldlace
-Parsed as rgb(128,128,0): olive
-Parsed as rgb(107,142,35): olivedrab
-Parsed as rgb(255,165,0): orange
-Parsed as rgb(255,69,0): orangered
-Parsed as rgb(218,112,214): orchid
-Parsed as rgb(238,232,170): palegoldenrod
-Parsed as rgb(152,251,152): palegreen
-Parsed as rgb(175,238,238): paleturquoise
-Parsed as rgb(219,112,147): palevioletred
-Parsed as rgb(255,239,213): papayawhip
-Parsed as rgb(255,218,185): peachpuff
-Parsed as rgb(205,133,63): peru
-Parsed as rgb(255,192,203): pink
-Parsed as rgb(221,160,221): plum
-Parsed as rgb(176,224,230): powderblue
-Parsed as rgb(128,0,128): purple
-Parsed as rgb(188,143,143): rosybrown
-Parsed as rgb(65,105,225): royalblue
-Parsed as rgb(139,69,19): saddlebrown
-Parsed as rgb(250,128,114): salmon
-Parsed as rgb(244,164,96): sandybrown
-Parsed as rgb(46,139,87): seagreen
-Parsed as rgb(255,245,238): seashell
-Parsed as rgb(160,82,45): sienna
-Parsed as rgb(192,192,192): silver
-Parsed as rgb(135,206,235): skyblue
-Parsed as rgb(106,90,205): slateblue
-Parsed as rgb(112,128,144): slategray
-Parsed as rgb(112,128,144): slategrey
-Parsed as rgb(255,250,250): snow
-Parsed as rgb(0,255,127): springgreen
-Parsed as rgb(70,130,180): steelblue
-Parsed as rgb(210,180,140): tan
-Parsed as rgb(0,128,128): teal
-Parsed as rgb(216,191,216): thistle
-Parsed as rgb(255,99,71): tomato
-Parsed as rgb(64,224,208): turquoise
-Parsed as rgb(238,130,238): violet
-Parsed as rgb(245,222,179): wheat
-Parsed as rgb(255,255,255): white
-Parsed as rgb(245,245,245): whitesmoke
-Parsed as rgb(255,255,0): yellow
-Parsed as rgb(154,205,50): yellowgreen
-Failed to parse: rgb(100%,100%,0%
-Failed to parse: rgba(100%,100%,0%
-Failed to parse: rgb(100%,100%,r)
-Failed to parse: rgb (100%,100%,r)
-Failed to parse: rgb(100%, 1, 1)
-Failed to parse: hsl(100%,100%,100%)
-Failed to parse: yello
-Failed to parse: !#fff
-Failed to parse: #sdf
-Failed to parse: #
-Failed to parse: #f
-Failed to parse: #ff
-Failed to parse: #fffff
-Failed to parse: #fffffff
-Failed to parse: green,
-Failed to parse: 'left'
-Failed to parse: 'right'
-Failed to parse: 'center'
-Failed to parse: 'border'
-Failed to parse: 'border-
-Failed to parse: 'content'
-Failed to parse: 'logical'
-Failed to parse: 'visual'
-Parsed as rgb(0,10,20): rgb(0, 10, 20)
-Parsed as rgb(255,255,255): #fff
-Parsed as rgb(255,255,255): #ffff
-Parsed as rgb(255,255,255): #ffffff
-Parsed as rgb(255,255,255): #ffffffff
-Parsed as rgb(255,255,255): #FFF
-Parsed as rgb(255,255,255): #FFFFFF
-Parsed as rgb(0,128,0): green
-Parsed as rgb(0,128,0): green
-Parsed as rgb(0,128,0): green
-Failed to parse: rgb(.78-2e8e
-Failed to parse: rgb(%
-Failed to parse: rgb(7
-Failed to parse: rgb(e+
-Failed to parse: rgb(
-Failed to parse: rgb( -2e9%0.795e0,).        
-Failed to parse: rgb(%,4+7).-(%+        8
-Failed to parse: rgb(74).9 +(.% 0        635
-Failed to parse: rgb()9,- 8        7%4%9%%.
-Failed to parse: rgb(49),,4-30378 052
-Failed to parse: rgb(%7863        
-Failed to parse: rgb(e0
-Failed to parse: rgb(%72+e%e,49 7
-Failed to parse: rgb(        55,.
-Failed to parse: rgb(263,%        1-74)e
-Failed to parse: rgb( 64110, (1
-Failed to parse: rgb( 59%3 725)
-Failed to parse: rgb(6e)-2- 180
-Failed to parse: rgb(,        .579e((
-Failed to parse: rgb()(
-Failed to parse: rgb(74        e)e6e)-29e7
-Failed to parse: rgb(221% (e(77
-Failed to parse: rgb(--4        e1%- )        8378
-Failed to parse: rgb(e4(01.e        
-Failed to parse: rgb(
-Failed to parse: rgb()6((9((.9 3-6438
-Failed to parse: rgb(),15%-+)(,).6
-Failed to parse: rgb(3        (-085932
-Failed to parse: rgb((
-Failed to parse: rgb()
-Failed to parse: rgb(e0944 6)
-Failed to parse: rgb(
-Failed to parse: rgb(e5
-Failed to parse: rgb(3%+)2%3%
-Failed to parse: rgb(
-Failed to parse: rgb(6e5%.3        e+ e1.69e16
-Failed to parse: rgb(1                5.56,+8 5e%,3
-Failed to parse: rgb(        )ee.%)
-Failed to parse: rgb(-%0%-
-Failed to parse: rgb(231293 16%
-Failed to parse: rgb(+-2+37)888580+9        (
-Failed to parse: rgb(18        805
-Failed to parse: rgb(0
-Failed to parse: rgb(63-.693+
-Failed to parse: rgb(80,2-(.4                ,
-Failed to parse: rgb(5%(59%2        5
-Failed to parse: rgb(5e3%,9
-Failed to parse: rgb(%7e-++59e
-Failed to parse: rgb(963 (8)%73)        ee(-
-Failed to parse: rgb(71+1+()3382 3
-Failed to parse: rgb(.27+
-Failed to parse: rgb(
-Failed to parse: rgb((
-Failed to parse: rgb(88
-Failed to parse: rgb(9.43,(6.87 -
-Failed to parse: rgb(e)e. 5997
-Failed to parse: rgb(5 9-557
-Failed to parse: rgb((65-%-0,e217
-Failed to parse: rgb( 2
-Failed to parse: rgb((e
-Failed to parse: rgb(        8(+((e%52, .73
-Failed to parse: rgb(,0(e
-Failed to parse: rgb()59)62159544,8,e3e
-Failed to parse: rgb(0857-.5
-Failed to parse: rgb(6,71(5        .-%.
-Failed to parse: rgb(2        5e
-Failed to parse: rgb(1        2-7        +-e90
-Failed to parse: rgb(9 )-7
-Failed to parse: rgb(8        759 6,
-Failed to parse: rgb(2+65e 59%0(8)5
-Failed to parse: rgb( 0712
-Failed to parse: rgb(        97,        33)-6,+%0)1e(
-Failed to parse: rgb( .3.6         ,-57%7 e+6
-Failed to parse: rgb(1)7 +%+8         )-         -.63e
-Failed to parse: rgb(6786).(8912%
-Failed to parse: rgb(-        %8-,)886+- 9e))e
-Failed to parse: rgb( ,        5732
-Failed to parse: rgb(18)(
-Failed to parse: rgb(3,+13%(711%9%        %0 -
-Failed to parse: rgb(6e
-Failed to parse: rgb(-e(69
-Failed to parse: rgb(,.19%e-2-(0)+9-2
-Failed to parse: rgb(1%,))(810-5 %37
-Failed to parse: rgb(35.-(%
-Failed to parse: rgb(362020+-8347081%78
-Failed to parse: rgb(-(
-Failed to parse: rgb(%) 54+(006e3141%
-Failed to parse: rgb(        -e 1(9         0-7
-Failed to parse: rgb(61-2        
-Failed to parse: rgb(7075)5+        67-(+)7-7-
-Failed to parse: rgb(        ..
-Failed to parse: rgb(88-+3%21
-Failed to parse: rgb(3%)003+4
-Failed to parse: rgb(682).e19)0-4642
-Failed to parse: rgb(6.7
-Failed to parse: rgb( 9        1 %6(,%0)e20%e-9
-Failed to parse: rgb(        (
-Failed to parse: rgb(96,        2e0.1%2)5-
-Failed to parse: rgb(.8)7+3
-Failed to parse: rgb(
-Failed to parse: rgb(8.78
-Failed to parse: rgb(2e8e2% 172e+0. -
-Failed to parse: rgb(e9
-Failed to parse: rgb(0.795e0,).        %%,
-Failed to parse: rgb(+7).
-Failed to parse: rgb((%+        8 -74).9 +(.
-Failed to parse: rgb( 0        635+)9,- 8        
-Failed to parse: rgb(%4%9%%.
-Failed to parse: rgb(49),,4-30378 052
-Failed to parse: rgb(%7863        
-Failed to parse: rgb(e0
-Failed to parse: rgb(%72+e%e,49 7
-Failed to parse: rgb(        55,.
-Failed to parse: rgb(263,%        1-74)e
-Failed to parse: rgb( 64110, (1
-Failed to parse: rgb( 59%3 725)
-Failed to parse: rgb(6e)-2- 180
-Failed to parse: rgb(,        .579e((
-Failed to parse: rgb()(
-Failed to parse: rgb(74        e)e6e)-29e7
-Failed to parse: rgb(221% (e(77
-Failed to parse: rgb(--4        e1%- )        8378
-Failed to parse: rgb(e4(01.e        
-Failed to parse: rgb(
-Failed to parse: rgb()6((9((.9 3-6438
-Failed to parse: rgb(),15%-+)(,).6
-Failed to parse: rgb(3        (-085932
-Failed to parse: rgb((
-Failed to parse: rgb()
-Failed to parse: rgb(e0944 6)
-Failed to parse: rgb(
-Failed to parse: rgb(e5
-Failed to parse: rgb(3%+)2%3%
-Failed to parse: rgb(
-Failed to parse: rgb(6e5%.3        e+ e1.69e16
-Failed to parse: rgb(1                5.56,+8 5e%,3
-Failed to parse: rgb(        )ee.%)
-Failed to parse: rgb(-%0%-
-Failed to parse: rgb(231293 16%
-Failed to parse: rgb(+-2+37)888580+9        (
-Failed to parse: rgb(18        805
-Failed to parse: rgb(0
-Failed to parse: rgb(63-.693+
-Failed to parse: rgb(80,2-(.4                ,
-Failed to parse: rgb(5%(59%2        5
-Failed to parse: rgb(5e3%,9
-Failed to parse: rgb(%7e-++59e
-Failed to parse: rgb(963 (8)%73)        ee(-
-Failed to parse: rgb(71+1+()3382 3
-Failed to parse: rgb(.27+
-Failed to parse: rgb(
-Failed to parse: rgb((
-Failed to parse: rgb(88
-Failed to parse: rgb(9.43,(6.87 -
-Failed to parse: rgb(e)e. 5997
-Failed to parse: rgb(5 9-557
-Failed to parse: rgb((65-%-0,e217
-Failed to parse: rgb( 2
-Failed to parse: rgb((e
-Failed to parse: rgb(        8(+((e%52, .73
-Failed to parse: rgb(,0(e
-Failed to parse: rgb()59)62159544,8,e3e
-Failed to parse: rgb(0857-.5
-Failed to parse: rgb(6,71(5        .-%.
-Failed to parse: rgb(2        5e
-Failed to parse: rgb(1        2-7        +-e90
-Failed to parse: rgb(9 )-7
-Failed to parse: rgb(8        759 6,
-Failed to parse: rgb(2+65e 59%0(8)5
-Failed to parse: rgb( 0712
-Failed to parse: rgb(        97,        33)-6,+%0)1e(
-Failed to parse: rgb( .3.6         ,-57%7 e+6
-Failed to parse: rgb(1)7 +%+8         )-         -.63e
-Failed to parse: rgb(6786).(8912%
-Failed to parse: rgb(-        %8-,)886+- 9e))e
-Failed to parse: rgb( ,        5732
-Failed to parse: rgb(18)(
-Failed to parse: rgb(3,+13%(711%9%        %0 -
-Failed to parse: rgb(6e
-Failed to parse: rgb(-e(69
-Failed to parse: rgb(,.19%e-2-(0)+9-2
-Failed to parse: rgb(1%,))(810-5 %37
-Failed to parse: rgb(35.-(%
-Failed to parse: rgb(362020+-8347081%78
-Failed to parse: rgb(-(
-Failed to parse: rgb(%) 54+(006e3141%
-Failed to parse: rgb(        -e 1(9         0-7
-Failed to parse: rgb(61-2        
-Failed to parse: rgb(7075)5+        67-(+)7-7-
-Failed to parse: rgb(        ..
-Failed to parse: rgb(88-+3%21
-Failed to parse: rgb(3%)003+4
-Failed to parse: rgb(682).e19)0-4642
-Failed to parse: rgb(6.7
-Failed to parse: rgb( 9        1 %6(,%0)e20%e-9
-Failed to parse: rgb(        (
-Failed to parse: rgb(96,        2e0.1%2)5-
-Failed to parse: rgb(.8)7+3
-Failed to parse: rgb(
-Failed to parse: rgb(8.78
-Failed to parse: rgb(2e8e2% 172e+0. -
-Failed to parse: rgb(e9
-Failed to parse: rgb(0.795e0,).        %%,
-Failed to parse: rgb(+7).
-Failed to parse: rgb((%+        8 -74).9 +(.
-Failed to parse: rgb( 0        635+)9,- 8        
-Failed to parse: rgb(%4%9%%.
-Failed to parse: rgb(49),,4-30378 052
-Failed to parse: rgb(%7863        
-Failed to parse: rgb(e0
-Failed to parse: rgb(%72+e%e,49 7
-Failed to parse: rgb(        55,.
-Failed to parse: rgb(263,%        1-74)e
-Failed to parse: rgb( 64110, (1
-Failed to parse: rgb( 59%3 725)
-Failed to parse: rgb(6e)-2- 180
-Failed to parse: rgb(,        .579e((
-Failed to parse: rgb()(
-Failed to parse: rgb(74        e)e6e)-29e7
-Failed to parse: rgb(221% (e(77
-Failed to parse: rgb(--4        e1%- )        8378
-Failed to parse: rgb(e4(01.e        
-Failed to parse: rgb(
-Failed to parse: rgb()6((9((.9 3-6438
-Failed to parse: rgb(),15%-+)(,).6
-Failed to parse: rgb(3        (-085932
-Failed to parse: rgb((
-Failed to parse: rgb()
-Failed to parse: rgb(e0944 6)
-Failed to parse: rgb(
-Failed to parse: rgb(e5
-Failed to parse: rgb(3%+)2%3%
-Failed to parse: rgb(
-Failed to parse: rgb(6e5%.3        e+ e1.69e16
-Failed to parse: rgb(1                5.56,+8 5e%,3
-Failed to parse: rgb(        )ee.%)
-Failed to parse: rgb(-%0%-
-Failed to parse: rgb(231293 16%
-Failed to parse: rgb(+-2+37)888580+9        (
-Failed to parse: rgb(18        805
-Failed to parse: rgb(0
-Failed to parse: rgb(63-.693+
-Failed to parse: rgb(80,2-(.4                ,
-Failed to parse: rgb(5%(59%2        5
-Failed to parse: rgb(5e3%,9
-Failed to parse: rgb(%7e-++59e
-Failed to parse: rgb(963 (8)%73)        ee(-
-Failed to parse: rgb(71+1+()3382 3
-Failed to parse: rgb(.27+
-Failed to parse: rgb(
-Failed to parse:
-Failed to parse:
-Failed to parse: rgb()
-Parsed as rgb(0,255,0): #0f0
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
</del></span></pre></div>
<a id="trunkLayoutTestssvgdomrgbcolorparserhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/svg/dom/rgb-color-parser.html (209496 => 209497)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/dom/rgb-color-parser.html        2016-12-08 00:37:28 UTC (rev 209496)
+++ trunk/LayoutTests/svg/dom/rgb-color-parser.html        2016-12-08 00:42:29 UTC (rev 209497)
</span><span class="lines">@@ -1,276 +0,0 @@
</span><del>-<html>
-<head>
-<script src="../../resources/js-test-pre.js"></script>
-<script src="resources/scripted-random.js"></script>
-</head>
-<body>
-<p id="description"></p>
-<div id="console"></div>
-<script>
- description("This test fuzzes the color parser with semi-random attribute values and dumps the results of any values that parse successfully.");
-
- var characters = [
- "0",
- "1",
- "2",
- "3",
- "4",
- "5",
- "6",
- "7",
- "8",
- "9",
- " ",
- "\t",
- "(",
- ")",
- "%",
- "+",
- "-",
- ".",
- "e",
- ","
- ];
-
- var stopElement = document.createElementNS("http://www.w3.org/2000/svg", "stop");
- function parseRGBColor(string)
- {
- try {
- stopElement.style.removeProperty("stop-color");
- stopElement.style.stopColor = string;
- var stopColor = stopElement.style.getPropertyCSSValue("stop-color");
- if (!stopColor) {
- debug("Failed to parse: " + string);
- return;
- }
- var rgbColor = stopColor.rgbColor;
- var red = rgbColor.red.getFloatValue(CSSPrimitiveValue.CSS_NUMBER);
- var green = rgbColor.green.getFloatValue(CSSPrimitiveValue.CSS_NUMBER);
- var blue = rgbColor.blue.getFloatValue(CSSPrimitiveValue.CSS_NUMBER);
- var rgbColorString = "rgb(" + red + "," + green + "," + blue + ")";
- debug("Parsed as " + rgbColorString + ": " + string);
- } catch(e) {
- debug("Threw exception " + e + ": " + string);
- }
- }
-
- // Taken from CSS 3 color.
- var svgColors = [
- "aliceblue",
- "antiquewhite",
- "aqua",
- "aquamarine",
- "azure",
- "beige",
- "bisque",
- "black",
- "blanchedalmond",
- "blue",
- "blueviolet",
- "brown",
- "burlywood",
- "cadetblue",
- "chartreuse",
- "chocolate",
- "coral",
- "cornflowerblue",
- "cornsilk",
- "crimson",
- "cyan",
- "darkblue",
- "darkcyan",
- "darkgoldenrod",
- "darkgray",
- "darkgreen",
- "darkgrey",
- "darkkhaki",
- "darkmagenta",
- "darkolivegreen",
- "darkorange",
- "darkorchid",
- "darkred",
- "darksalmon",
- "darkseagreen",
- "darkslateblue",
- "darkslategray",
- "darkslategrey",
- "darkturquoise",
- "darkviolet",
- "deeppink",
- "deepskyblue",
- "dimgray",
- "dimgrey",
- "dodgerblue",
- "firebrick",
- "floralwhite",
- "forestgreen",
- "fuchsia",
- "gainsboro",
- "ghostwhite",
- "gold",
- "goldenrod",
- "gray",
- "green",
- "greenyellow",
- "grey",
- "honeydew",
- "hotpink",
- "indianred",
- "indigo",
- "ivory",
- "khaki",
- "lavender",
- "lavenderblush",
- "lawngreen",
- "lemonchiffon",
- "lightblue",
- "lightcoral",
- "lightcyan",
- "lightgoldenrodyellow",
- "lightgray",
- "lightgreen",
- "lightgrey",
- "lightpink",
- "lightsalmon",
- "lightseagreen",
- "lightskyblue",
- "lightslategray",
- "lightslategrey",
- "lightsteelblue",
- "lightyellow",
- "lime",
- "limegreen",
- "linen",
- "magenta",
- "maroon",
- "mediumaquamarine",
- "mediumblue",
- "mediumorchid",
- "mediumpurple",
- "mediumseagreen",
- "mediumslateblue",
- "mediumspringgreen",
- "mediumturquoise",
- "mediumvioletred",
- "midnightblue",
- "mintcream",
- "mistyrose",
- "moccasin",
- "navajowhite",
- "navy",
- "oldlace",
- "olive",
- "olivedrab",
- "orange",
- "orangered",
- "orchid",
- "palegoldenrod",
- "palegreen",
- "paleturquoise",
- "palevioletred",
- "papayawhip",
- "peachpuff",
- "peru",
- "pink",
- "plum",
- "powderblue",
- "purple",
- // We do not test red.
- "rosybrown",
- "royalblue",
- "saddlebrown",
- "salmon",
- "sandybrown",
- "seagreen",
- "seashell",
- "sienna",
- "silver",
- "skyblue",
- "slateblue",
- "slategray",
- "slategrey",
- "snow",
- "springgreen",
- "steelblue",
- "tan",
- "teal",
- "thistle",
- "tomato",
- "turquoise",
- "violet",
- "wheat",
- "white",
- "whitesmoke",
- "yellow",
- "yellowgreen"
- ];
-
- function fuzz()
- {
- // Some valid values.
- parseRGBColor("blue");
- parseRGBColor("rgb(0, 255, 0)");
- for (var i = 0; i < svgColors.length; ++i)
- parseRGBColor(svgColors[i]);
-
- // Some invalid ones.
- parseRGBColor("rgb(100%,100%,0%");
- parseRGBColor("rgba(100%,100%,0%");
- parseRGBColor("rgb(100%,100%,r)");
- parseRGBColor("rgb (100%,100%,r)");
- parseRGBColor("rgb(100%, 1, 1)");
- parseRGBColor("hsl(100%,100%,100%)");
- parseRGBColor("yello");
- parseRGBColor("!#fff");
- parseRGBColor("#sdf");
- parseRGBColor("#");
- parseRGBColor("#f");
- parseRGBColor("#ff");
- parseRGBColor("#fffff");
- parseRGBColor("#fffffff");
- parseRGBColor("green,");
- parseRGBColor("'left'");
- parseRGBColor("'right'");
- parseRGBColor("'center'");
- parseRGBColor("'border'");
- parseRGBColor("'border-");
- parseRGBColor("'content'");
- parseRGBColor("'logical'");
- parseRGBColor("'visual'");
-
- // Some more valid ones.
- parseRGBColor("rgb(0, 10, 20)");
- parseRGBColor("#fff");
- parseRGBColor("#ffff");
- parseRGBColor("#ffffff");
- parseRGBColor("#ffffffff");
- parseRGBColor("#FFF");
- parseRGBColor("#FFFFFF");
- parseRGBColor(" green");
- parseRGBColor("green ");
- parseRGBColor("green");
-
- // Random assortments of valid characters
- for (var i = 0; i < 250; i++) { //>
- var colorString = "rgb(";
- var count = Math.scriptedRandomInt(20);
- for (var j = 0; j < count; j++) { //>
- colorString += characters[Math.scriptedRandomInt(characters.length)];
- }
- parseRGBColor(colorString);
- }
-
- // Empty-ish colors
- parseRGBColor("");
- parseRGBColor(String.fromCharCode(0));
- parseRGBColor("rgb(" + String.fromCharCode(0) + ")");
-
- // One more valid value.
- parseRGBColor("#0f0");
- }
-
- fuzz();
-
-</script>
-<script src="../../resources/js-test-post.js"></script>
-</html>
</del></span></pre>
</div>
</div>
</body>
</html>