+2012-03-23 Dave Tharp <dtharp@codeaurora.org>
+
+ Integrate IETC CSS : textshadow tests
+ https://bugs.webkit.org/show_bug.cgi?id=81936
+
+ Reviewed by Adam Barth.
+
+ * ietestcenter/TestSupport/FeatureDetection.js: Added.
+ * ietestcenter/css3/support/TahomaNarrow.ttf: Added.
+ * ietestcenter/css3/support/TahomaNormal.ttf: Added.
+ * ietestcenter/css3/support/TahomaT.ttf: Added.
+ * ietestcenter/css3/support/ahem.ttf: Added.
+ * ietestcenter/css3/support/black_color.png: Added.
+ * ietestcenter/css3/support/black_red.png: Added.
+ * ietestcenter/css3/support/blue_color.png: Added.
+ * ietestcenter/css3/support/cat.png: Added.
+ * ietestcenter/css3/support/flexbox_100r_50g_100r_50g_100g.png: Added.
+ * ietestcenter/css3/support/flexbox_100x100_green.png: Added.
+ * ietestcenter/css3/support/flexbox_100x100_red.png: Added.
+ * ietestcenter/css3/support/flexbox_100x100g_red.png: Added.
+ * ietestcenter/css3/support/flexbox_200x100_red.png: Added.
+ * ietestcenter/css3/support/flexbox_200x100g_red.png: Added.
+ * ietestcenter/css3/support/flexbox_300x100_red.png: Added.
+ * ietestcenter/css3/support/flexbox_300x150_100red.png: Added.
+ * ietestcenter/css3/support/flexbox_300x200_red.png: Added.
+ * ietestcenter/css3/support/flexbox_300x50_100_80_baseline_red.png: Added.
+ * ietestcenter/css3/support/flexbox_300x50_100_80_red.png: Added.
+ * ietestcenter/css3/support/green_color.png: Added.
+ * ietestcenter/css3/support/red_color.png: Added.
+ * ietestcenter/css3/support/red_space_pb.png: Added.
+ * ietestcenter/css3/support/scope-003.css: Added.
+ * ietestcenter/css3/support/space_border_box.png: Added.
+ * ietestcenter/css3/support/syntax-018.css: Added.
+ * ietestcenter/css3/support/syntax-019.css: Added.
+ * ietestcenter/css3/support/white_color.png: Added.
+ * ietestcenter/css3/text/textshadow-001.htm: Added.
+ * ietestcenter/css3/text/textshadow-002.htm: Added.
+ * ietestcenter/css3/text/textshadow-003.htm: Added.
+ * ietestcenter/css3/text/textshadow-004.htm: Added.
+ * ietestcenter/css3/text/textshadow-005.htm: Added.
+ * ietestcenter/css3/text/textshadow-006.htm: Added.
+ * ietestcenter/css3/text/textshadow-007.htm: Added.
+ * ietestcenter/css3/text/textshadow-008.htm: Added.
+ * ietestcenter/css3/text/textshadow-009.htm: Added.
+ * ietestcenter/css3/text/textshadow-010.htm: Added.
+ * platform/chromium/test_expectations.txt:
+ * platform/efl/test_expectations.txt:
+ * platform/gtk/test_expectations.txt:
+ * platform/mac/test_expectations.txt:
+ * platform/qt/test_expectations.txt:
+
2012-03-23 Dan Bernstein <mitz@apple.com>
Added all tests that crashed more than once on the Lion WebKit2 bots between r111885
--- /dev/null
+// Internet Explorer Test Pages Copyright © 2012 Microsoft Corporation. All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without modification,
+// are permitted provided that the following conditions are met:
+//
+// Redistributions of source code must retain the above copyright notice, this list of
+// conditions and the following disclaimer.
+//
+// Redistributions in binary form must reproduce the above copyright notice, this list of
+// conditions and the following disclaimer in the documentation and/or other materials
+// provided with the distribution.
+//
+// Neither the name of the Microsoft Corporation nor the names of its contributors may be
+// used to endorse or promote products derived from this software without specific prior
+// written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY MICROSOFT CORPORATION "AS IS" AND ANY EXPRESS OR IMPLIED
+// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+// FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL MICROSOFT CORPORATION
+// BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+// OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+// OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+// POSSIBILITY OF SUCH DAMAGE.
+
+
+// This function returns the value of an API feature if it is defined with one of
+// the known ventor prefixes.
+//
+// Parameters:
+// parent: the object containing the API feature
+// feature: the name of the API feature, this should be a string value
+// isAttribute: set this to true to indicate that this is a constant attribute
+// as opposed to a variable
+function BrowserHasFeature(parent, feature, isAttribute)
+{
+ if (parent[feature] !== undefined)
+ {
+ //feature is defined without a vendor prefix, no further checks necessary
+ return parent[feature];
+ }
+
+ // the feature is not defined without a vendor prefix, so find the vendor prefix, if any,
+ // that it is defined with
+ var prefix = GetVendorPrefix(parent, feature, isAttribute);
+
+ // if prefix is not undefined, then the feature has been found to exist with this prefix
+ if (prefix !== undefined)
+ {
+ var prefixedFeatureName = AppendPrefix(prefix, feature, isAttribute);
+ return parent[prefixedFeatureName];
+ }
+
+ //The feature does not exist.
+ //Callers should check for !==undefined as the feature itself could return
+ //a Bool which would fail a typical if(feature) check
+ return undefined;
+}
+
+// This function returns the vendor prefix found if a certain feature is defined with it.
+// It takes the same parameters at BrowserHasFeature().
+function GetVendorPrefix(parent, feature, isAttribute)
+{
+ //Known vendor prefixes
+ var VendorPrefixes = ["moz", "ms", "o", "webkit"];
+ for (vendor in VendorPrefixes)
+ {
+ //Build up the new feature name with the vendor prefix
+ var prefixedFeatureName = AppendPrefix(VendorPrefixes[vendor], feature, isAttribute);
+ if (parent[prefixedFeatureName] !== undefined)
+ {
+ //Vendor prefix version exists, return a pointer to the feature
+ return VendorPrefixes[vendor];
+ }
+ }
+
+ // if no version of the feature with a vendor prefix has been found, return undefined
+ return undefined;
+}
+
+// This will properly capitalize the feature name and then return the feature name preceded
+// with the provided vendor prefix. If the prefix given is undefined, this function will
+// return the feature name given as is. The output of this function should not be used
+// as an indicator of whether or not a feature exists as it will return the same thing if
+// the inputted feature is undefined or is defined without a vendor prefix. It takes the
+// same parameters at BrowserHasFeature().
+function AppendPrefix(prefix, feature, isAttribute)
+{
+ if (prefix !== undefined)
+ {
+ if (isAttribute)
+ {
+ // if a certain feature is an attribute, then it follows a different naming standard
+ // where it must be completely capitalized and have words split with an underscore
+ return prefix.toUpperCase() + "_" + feature.toUpperCase();
+ }
+ else
+ {
+ //Vendor prefixing should follow the standard convention: vendorprefixFeature
+ //Note that the feature is capitalized after the vendor prefix
+ //Therefore if the feature is window.feature, the vendor prefix version is:
+ //window.[vp]Feature where vp is the vendor prefix:
+ //window.msFeature, window.webkitFeature, window.mozFeature, window.oFeature
+ var newFeature = feature[0].toUpperCase() + feature.substr(1, feature.length);
+
+ //Build up the new feature name with the vendor prefix
+ return prefix + newFeature;
+ }
+ }
+ else
+ {
+ return feature;
+ }
+}
--- /dev/null
+t { background: lime }
+Foo|t { background: red }
\ No newline at end of file
--- /dev/null
+@namespace A "test-a";
+A|t1 { background: lime }
\ No newline at end of file
--- /dev/null
+@namespace B "test-b";
+B|t2 { background: lime }
+B|t3 { background: red }
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!--
+ Internet Explorer Test Pages Copyright © 2012 Microsoft Corporation. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without modification,
+ are permitted provided that the following conditions are met:
+
+ Redistributions of source code must retain the above copyright notice, this list of
+ conditions and the following disclaimer.
+
+ Redistributions in binary form must reproduce the above copyright notice, this list of
+ conditions and the following disclaimer in the documentation and/or other materials
+ provided with the distribution.
+
+ Neither the name of the Microsoft Corporation nor the names of its contributors may be
+ used to endorse or promote products derived from this software without specific prior
+ written permission.
+
+ THIS SOFTWARE IS PROVIDED BY MICROSOFT CORPORATION "AS IS" AND ANY EXPRESS OR IMPLIED
+ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+ FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL MICROSOFT CORPORATION
+ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+ OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+-->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: The 'text-shadow' property applied with a comma-separated list of values</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/css3-text/#text-shadow" />
+ <meta name="flags" content="" />
+ <meta name="assert" content="The 'text-shadow' property accepts a comma-separated list of shadow effects applied to a text element." />
+ <style type="text/css">
+ #test
+ {
+ font-size: 30px;
+ font-family: Ahem;
+ margin: 25px;
+ text-shadow: blue 10px 25px 3px, yellow 10px 50px 5px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test pasees if there is a black, blue and yellow rectangle on the page.</p>
+ <div id="test">FillerText</div>
+ </body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!--
+ Internet Explorer Test Pages Copyright © 2012 Microsoft Corporation. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without modification,
+ are permitted provided that the following conditions are met:
+
+ Redistributions of source code must retain the above copyright notice, this list of
+ conditions and the following disclaimer.
+
+ Redistributions in binary form must reproduce the above copyright notice, this list of
+ conditions and the following disclaimer in the documentation and/or other materials
+ provided with the distribution.
+
+ Neither the name of the Microsoft Corporation nor the names of its contributors may be
+ used to endorse or promote products derived from this software without specific prior
+ written permission.
+
+ THIS SOFTWARE IS PROVIDED BY MICROSOFT CORPORATION "AS IS" AND ANY EXPRESS OR IMPLIED
+ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+ FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL MICROSOFT CORPORATION
+ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+ OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+-->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Using 'text-shadow' along with 'text-decoration' value set to 'overline'
+ </title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/css3-text/#text-shadow" />
+ <meta name="flags" content="" />
+ <meta name="assert" content="Setting 'text-decoration' value to 'overline' along with 'text-shadow' property is supported." />
+ <style type="text/css">
+ #test
+ {
+ font-family: Arial;
+ font-size: 30pt;
+ margin: 25px;
+ text-decoration: overline;
+ text-shadow: blue 20px 39px 2.5px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there are three black and three blue instances of 'Filler Text' such that all text has a line above it.</p>
+ <div id="test">Filler Text Filler Text Filler Text</div>
+ <div></div>
+ </body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!--
+ Internet Explorer Test Pages Copyright © 2012 Microsoft Corporation. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without modification,
+ are permitted provided that the following conditions are met:
+
+ Redistributions of source code must retain the above copyright notice, this list of
+ conditions and the following disclaimer.
+
+ Redistributions in binary form must reproduce the above copyright notice, this list of
+ conditions and the following disclaimer in the documentation and/or other materials
+ provided with the distribution.
+
+ Neither the name of the Microsoft Corporation nor the names of its contributors may be
+ used to endorse or promote products derived from this software without specific prior
+ written permission.
+
+ THIS SOFTWARE IS PROVIDED BY MICROSOFT CORPORATION "AS IS" AND ANY EXPRESS OR IMPLIED
+ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+ FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL MICROSOFT CORPORATION
+ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+ OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+-->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: The 'text-shadow' property applied to '::first-line'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/css3-text/#text-shadow" />
+ <meta name="flags" content="" />
+ <meta name="assert" content="The 'text-shadow' property applies to the '::first-line' pseudo-element." />
+ <style type="text/css">
+ div::first-line
+ {
+ text-shadow: green 10px 20px 3px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is green visible on the page.</p>
+ <div>Filler Text Filler Text</div>
+ <div></div>
+ </body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!--
+ Internet Explorer Test Pages Copyright © 2012 Microsoft Corporation. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without modification,
+ are permitted provided that the following conditions are met:
+
+ Redistributions of source code must retain the above copyright notice, this list of
+ conditions and the following disclaimer.
+
+ Redistributions in binary form must reproduce the above copyright notice, this list of
+ conditions and the following disclaimer in the documentation and/or other materials
+ provided with the distribution.
+
+ Neither the name of the Microsoft Corporation nor the names of its contributors may be
+ used to endorse or promote products derived from this software without specific prior
+ written permission.
+
+ THIS SOFTWARE IS PROVIDED BY MICROSOFT CORPORATION "AS IS" AND ANY EXPRESS OR IMPLIED
+ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+ FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL MICROSOFT CORPORATION
+ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+ OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+-->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: The 'text-shadow' property applied to '::first-letter'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/css3-text/#text-shadow" />
+ <meta name="flags" content="" />
+ <meta name="assert" content="The 'text-shadow' property applies to the '::first-letter' pseudo-element." />
+ <style type="text/css">
+ div::first-letter
+ {
+ text-shadow: green 10px 20px 3px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is green visible on the page.</p>
+ <div>Filler Text</div>
+ <div></div>
+ </body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!--
+ Internet Explorer Test Pages Copyright © 2012 Microsoft Corporation. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without modification,
+ are permitted provided that the following conditions are met:
+
+ Redistributions of source code must retain the above copyright notice, this list of
+ conditions and the following disclaimer.
+
+ Redistributions in binary form must reproduce the above copyright notice, this list of
+ conditions and the following disclaimer in the documentation and/or other materials
+ provided with the distribution.
+
+ Neither the name of the Microsoft Corporation nor the names of its contributors may be
+ used to endorse or promote products derived from this software without specific prior
+ written permission.
+
+ THIS SOFTWARE IS PROVIDED BY MICROSOFT CORPORATION "AS IS" AND ANY EXPRESS OR IMPLIED
+ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+ FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL MICROSOFT CORPORATION
+ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+ OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+-->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: The 'text-shadow' property with spread setting of '96px'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/css3-text/#text-shadow" />
+ <meta name="flags" content="" />
+ <meta name="assert" content="The 'text-shadow' property supports a spread setting set to '96px'." />
+ <style type="text/css">
+ div
+ {
+ font-family: Ahem;
+ }
+ #test
+ {
+ left: 0;
+ position: absolute;
+ text-shadow: black 96px 96px 0px 96px;
+ top: 96px;
+ }
+ #base
+ {
+ background: white;
+ border: 1px solid orange;
+ height: 1em;
+ left: 48px;
+ padding: 48px;
+ position: absolute;
+ top: 144px;
+ width: 6em;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a black shape completely contained in the orange box on the page.</p>
+ <div id="base"></div>
+ <div id="test"> Filler</div>
+ <div></div>
+ </body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!--
+ Internet Explorer Test Pages Copyright © 2012 Microsoft Corporation. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without modification,
+ are permitted provided that the following conditions are met:
+
+ Redistributions of source code must retain the above copyright notice, this list of
+ conditions and the following disclaimer.
+
+ Redistributions in binary form must reproduce the above copyright notice, this list of
+ conditions and the following disclaimer in the documentation and/or other materials
+ provided with the distribution.
+
+ Neither the name of the Microsoft Corporation nor the names of its contributors may be
+ used to endorse or promote products derived from this software without specific prior
+ written permission.
+
+ THIS SOFTWARE IS PROVIDED BY MICROSOFT CORPORATION "AS IS" AND ANY EXPRESS OR IMPLIED
+ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+ FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL MICROSOFT CORPORATION
+ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+ OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+-->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: The 'text-shadow' property set via OM</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/css3-text/#text-shadow" />
+ <meta name="flags" content="" />
+ <meta name="assert" content="Setting the 'text-shadow' property via the OM is supported." />
+ <style type="text/css">
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is green visible on the page.</p>
+ <div id="test">Filler Text</div>
+ <div>
+ </div>
+ <script type="text/javascript">
+ try
+ {
+ var elem = document.getElementById("test");
+ elem.style.textShadow = "green 96px 96px";
+ }
+ catch (ex)
+ {
+ alert("FAIL", " ERROR: " + ex.message);
+ }
+ </script>
+ </body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!--
+ Internet Explorer Test Pages Copyright © 2012 Microsoft Corporation. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without modification,
+ are permitted provided that the following conditions are met:
+
+ Redistributions of source code must retain the above copyright notice, this list of
+ conditions and the following disclaimer.
+
+ Redistributions in binary form must reproduce the above copyright notice, this list of
+ conditions and the following disclaimer in the documentation and/or other materials
+ provided with the distribution.
+
+ Neither the name of the Microsoft Corporation nor the names of its contributors may be
+ used to endorse or promote products derived from this software without specific prior
+ written permission.
+
+ THIS SOFTWARE IS PROVIDED BY MICROSOFT CORPORATION "AS IS" AND ANY EXPRESS OR IMPLIED
+ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+ FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL MICROSOFT CORPORATION
+ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+ OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+-->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: The 'text-shadow' property with blur setting of '+0'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/css3-text/#text-shadow" />
+ <meta name="flags" content="" />
+ <meta name="assert" content="The 'text-shadow' property supports a blur setting set to '+0'." />
+ <style type="text/css">
+ div
+ {
+ font-family: Ahem;
+ }
+ #test
+ {
+ left: 0;
+ position: absolute;
+ text-shadow: black 96px 96px +0;
+ top: 96px;
+ }
+ #base
+ {
+ background: red;
+ height: 1em;
+ left: 96px;
+ position: absolute;
+ top: 192px;
+ width: 6em;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is no red visible on the page.</p>
+ <div id="base"></div>
+ <div id="test">Filler</div>
+ </body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!--
+ Internet Explorer Test Pages Copyright © 2012 Microsoft Corporation. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without modification,
+ are permitted provided that the following conditions are met:
+
+ Redistributions of source code must retain the above copyright notice, this list of
+ conditions and the following disclaimer.
+
+ Redistributions in binary form must reproduce the above copyright notice, this list of
+ conditions and the following disclaimer in the documentation and/or other materials
+ provided with the distribution.
+
+ Neither the name of the Microsoft Corporation nor the names of its contributors may be
+ used to endorse or promote products derived from this software without specific prior
+ written permission.
+
+ THIS SOFTWARE IS PROVIDED BY MICROSOFT CORPORATION "AS IS" AND ANY EXPRESS OR IMPLIED
+ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+ FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL MICROSOFT CORPORATION
+ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+ OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+-->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: The 'text-shadow' property with spread setting of '+0'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/css3-text/#text-shadow" />
+ <meta name="flags" content="" />
+ <meta name="assert" content="The 'text-shadow' property supports a spread setting set to '+0'" />
+ <style type="text/css">
+ div
+ {
+ font-family: Ahem;
+ }
+ #test
+ {
+ left: 0;
+ position: absolute;
+ text-shadow: black 96px 96px 0 +0;
+ top: 96px;
+ }
+ #base
+ {
+ background: red;
+ height: 1em;
+ left: 96px;
+ position: absolute;
+ top: 192px;
+ width: 6em;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is no red visible on the page.</p>
+ <div id="base"></div>
+ <div id="test"> Filler</div>
+ </body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!--
+ Internet Explorer Test Pages Copyright © 2012 Microsoft Corporation. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without modification,
+ are permitted provided that the following conditions are met:
+
+ Redistributions of source code must retain the above copyright notice, this list of
+ conditions and the following disclaimer.
+
+ Redistributions in binary form must reproduce the above copyright notice, this list of
+ conditions and the following disclaimer in the documentation and/or other materials
+ provided with the distribution.
+
+ Neither the name of the Microsoft Corporation nor the names of its contributors may be
+ used to endorse or promote products derived from this software without specific prior
+ written permission.
+
+ THIS SOFTWARE IS PROVIDED BY MICROSOFT CORPORATION "AS IS" AND ANY EXPRESS OR IMPLIED
+ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+ FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL MICROSOFT CORPORATION
+ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+ OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+-->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Default inheritance of the 'text-shadow' property via DOM</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/css3-text/#text-shadow" />
+ <meta name="flags" content="dom" />
+ <meta name="assert" content="Retrieving the 'text-shadow' property value inherited from the parent element is supported." />
+ <style type="text/css">
+ div
+ {
+ font-size: 60px;
+ }
+ #failText
+ {
+ color: red;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is no red visible on the page.</p>
+ <div style="text-shadow: 5px 22.5px blue;">FillerText
+ <div id="test">FillerText</div>
+ FillerText
+ </div>
+ <div id="failText">FAIL</div>
+ <script type="text/javascript">
+ var elem = document.getElementById("test");
+ var expected = "";
+ var actual = elem.style.textShadow;
+ if (actual == expected)
+ {
+ var failElement = document.getElementById("failText");
+ failElement.style.display = "none";
+ }
+ </script>
+ </body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!--
+ Internet Explorer Test Pages Copyright © 2012 Microsoft Corporation. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without modification,
+ are permitted provided that the following conditions are met:
+
+ Redistributions of source code must retain the above copyright notice, this list of
+ conditions and the following disclaimer.
+
+ Redistributions in binary form must reproduce the above copyright notice, this list of
+ conditions and the following disclaimer in the documentation and/or other materials
+ provided with the distribution.
+
+ Neither the name of the Microsoft Corporation nor the names of its contributors may be
+ used to endorse or promote products derived from this software without specific prior
+ written permission.
+
+ THIS SOFTWARE IS PROVIDED BY MICROSOFT CORPORATION "AS IS" AND ANY EXPRESS OR IMPLIED
+ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+ FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL MICROSOFT CORPORATION
+ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+ OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+-->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Applying 'text-shadow' to 'direction' property</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="" />
+ <meta name="flags" content="" />
+ <meta name="assert" content="Applying 'text-shadow' to 'direction' property is supported." />
+ <style type="text/css">
+ #test1
+ {
+ direction: rtl;
+ text-shadow: -480px 60px 5px 2px blue;
+ }
+ #test2
+ {
+ direction: rtl;
+ text-shadow: -480px 60px 1px blue;
+ }
+ div
+ {
+ display: block;
+ font-size: 25px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there are two pairs of black and blue 'Filler Text' instances on page.</p>
+ <div id="test1">Filler Text</div>
+ <div id="test2">Filler Text</div>
+ </body>
+</html>
// Need rebaselining.
BUGWK37244 : tables/mozilla/bugs/bug27038-1.html = IMAGE+TEXT
BUGWK37244 : tables/mozilla/bugs/bug27038-2.html = IMAGE+TEXT
+
+// Temporary: generate platform specific IETestCenter results, then
+// remove when bots produce reference.
+BUGWK81936 : ietestcenter/css3/text/textshadow-001.htm = FAIL MISSING
+BUGWK81936 : ietestcenter/css3/text/textshadow-002.htm = FAIL MISSING
+BUGWK81936 : ietestcenter/css3/text/textshadow-003.htm = FAIL MISSING
+BUGWK81936 : ietestcenter/css3/text/textshadow-004.htm = FAIL MISSING
+BUGWK81936 : ietestcenter/css3/text/textshadow-005.htm = FAIL MISSING
+BUGWK81936 : ietestcenter/css3/text/textshadow-006.htm = FAIL MISSING
+BUGWK81936 : ietestcenter/css3/text/textshadow-007.htm = FAIL MISSING
+BUGWK81936 : ietestcenter/css3/text/textshadow-008.htm = FAIL MISSING
+BUGWK81936 : ietestcenter/css3/text/textshadow-009.htm = FAIL MISSING
+BUGWK81936 : ietestcenter/css3/text/textshadow-010.htm = FAIL MISSING
+
BUGWK75568 : tables/mozilla/bugs/bug1188.html = TEXT
BUGWK80531 : fast/forms/textfield-overflow.html = IMAGE+TEXT
+
+// Temporary: generate platform specific IETestCenter results, then
+// remove when bots produce reference.
+BUGWK81936 : ietestcenter/css3/text/textshadow-001.htm = FAIL MISSING
+BUGWK81936 : ietestcenter/css3/text/textshadow-002.htm = FAIL MISSING
+BUGWK81936 : ietestcenter/css3/text/textshadow-003.htm = FAIL MISSING
+BUGWK81936 : ietestcenter/css3/text/textshadow-004.htm = FAIL MISSING
+BUGWK81936 : ietestcenter/css3/text/textshadow-005.htm = FAIL MISSING
+BUGWK81936 : ietestcenter/css3/text/textshadow-006.htm = FAIL MISSING
+BUGWK81936 : ietestcenter/css3/text/textshadow-007.htm = FAIL MISSING
+BUGWK81936 : ietestcenter/css3/text/textshadow-008.htm = FAIL MISSING
+BUGWK81936 : ietestcenter/css3/text/textshadow-009.htm = FAIL MISSING
+BUGWK81936 : ietestcenter/css3/text/textshadow-010.htm = FAIL MISSING
+
BUGWK78412 : tables/mozilla_expected_failures/bugs/bug7243.html = TEXT
BUGWK78412 : fast/table/cell-pref-width-invalidation.html = TEXT
+
+// Temporary: generate platform specific IETestCenter results, then
+// remove when bots produce reference.
+BUGWK81936 : ietestcenter/css3/text/textshadow-001.htm = FAIL MISSING
+BUGWK81936 : ietestcenter/css3/text/textshadow-002.htm = FAIL MISSING
+BUGWK81936 : ietestcenter/css3/text/textshadow-003.htm = FAIL MISSING
+BUGWK81936 : ietestcenter/css3/text/textshadow-004.htm = FAIL MISSING
+BUGWK81936 : ietestcenter/css3/text/textshadow-005.htm = FAIL MISSING
+BUGWK81936 : ietestcenter/css3/text/textshadow-006.htm = FAIL MISSING
+BUGWK81936 : ietestcenter/css3/text/textshadow-007.htm = FAIL MISSING
+BUGWK81936 : ietestcenter/css3/text/textshadow-008.htm = FAIL MISSING
+BUGWK81936 : ietestcenter/css3/text/textshadow-009.htm = FAIL MISSING
+BUGWK81936 : ietestcenter/css3/text/textshadow-010.htm = FAIL MISSING
+
BUGWK80630: css3/filters/nested-filter.html = IMAGE
BUGWK80630: css3/filters/regions-expanding.html = IMAGE
BUGWK80630: css3/filters/simple-filter-rendering.html = IMAGE
+
+// Temporary: generate platform specific IETestCenter results, then
+// remove when bots produce reference.
+BUGWK81936 : ietestcenter/css3/text/textshadow-001.htm = FAIL MISSING
+BUGWK81936 : ietestcenter/css3/text/textshadow-002.htm = FAIL MISSING
+BUGWK81936 : ietestcenter/css3/text/textshadow-003.htm = FAIL MISSING
+BUGWK81936 : ietestcenter/css3/text/textshadow-004.htm = FAIL MISSING
+BUGWK81936 : ietestcenter/css3/text/textshadow-005.htm = FAIL MISSING
+BUGWK81936 : ietestcenter/css3/text/textshadow-006.htm = FAIL MISSING
+BUGWK81936 : ietestcenter/css3/text/textshadow-007.htm = FAIL MISSING
+BUGWK81936 : ietestcenter/css3/text/textshadow-008.htm = FAIL MISSING
+BUGWK81936 : ietestcenter/css3/text/textshadow-009.htm = FAIL MISSING
+BUGWK81936 : ietestcenter/css3/text/textshadow-010.htm = FAIL MISSING
+
BUGWK78412 : tables/mozilla/bugs/bug44505.html = TEXT
BUGWK78412 : tables/mozilla_expected_failures/bugs/bug59252.html = TEXT
BUGWK78412 : tables/mozilla_expected_failures/bugs/bug7243.html = TEXT
+
+// Temporary: generate platform specific IETestCenter results, then
+// remove when bots produce reference.
+BUGWK81936 : ietestcenter/css3/text/textshadow-001.htm = FAIL MISSING
+BUGWK81936 : ietestcenter/css3/text/textshadow-002.htm = FAIL MISSING
+BUGWK81936 : ietestcenter/css3/text/textshadow-003.htm = FAIL MISSING
+BUGWK81936 : ietestcenter/css3/text/textshadow-004.htm = FAIL MISSING
+BUGWK81936 : ietestcenter/css3/text/textshadow-005.htm = FAIL MISSING
+BUGWK81936 : ietestcenter/css3/text/textshadow-006.htm = FAIL MISSING
+BUGWK81936 : ietestcenter/css3/text/textshadow-007.htm = FAIL MISSING
+BUGWK81936 : ietestcenter/css3/text/textshadow-008.htm = FAIL MISSING
+BUGWK81936 : ietestcenter/css3/text/textshadow-009.htm = FAIL MISSING
+BUGWK81936 : ietestcenter/css3/text/textshadow-010.htm = FAIL MISSING
+