Integrate IETC CSS : textshadow tests
authortomz@codeaurora.org <tomz@codeaurora.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 23 Mar 2012 21:47:24 +0000 (21:47 +0000)
committertomz@codeaurora.org <tomz@codeaurora.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 23 Mar 2012 21:47:24 +0000 (21:47 +0000)
https://bugs.webkit.org/show_bug.cgi?id=81936

Patch by Dave Tharp <dtharp@codeaurora.org> on 2012-03-23
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:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@111910 268f45cc-cd09-0410-ab3c-d52691b4dbfc

44 files changed:
LayoutTests/ChangeLog
LayoutTests/ietestcenter/TestSupport/FeatureDetection.js [new file with mode: 0644]
LayoutTests/ietestcenter/css3/support/TahomaNarrow.ttf [new file with mode: 0644]
LayoutTests/ietestcenter/css3/support/TahomaNormal.ttf [new file with mode: 0644]
LayoutTests/ietestcenter/css3/support/TahomaT.ttf [new file with mode: 0644]
LayoutTests/ietestcenter/css3/support/ahem.ttf [new file with mode: 0644]
LayoutTests/ietestcenter/css3/support/black_color.png [new file with mode: 0644]
LayoutTests/ietestcenter/css3/support/black_red.png [new file with mode: 0644]
LayoutTests/ietestcenter/css3/support/blue_color.png [new file with mode: 0644]
LayoutTests/ietestcenter/css3/support/cat.png [new file with mode: 0644]
LayoutTests/ietestcenter/css3/support/flexbox_100r_50g_100r_50g_100g.png [new file with mode: 0644]
LayoutTests/ietestcenter/css3/support/flexbox_100x100_green.png [new file with mode: 0644]
LayoutTests/ietestcenter/css3/support/flexbox_100x100_red.png [new file with mode: 0644]
LayoutTests/ietestcenter/css3/support/flexbox_100x100g_red.png [new file with mode: 0644]
LayoutTests/ietestcenter/css3/support/flexbox_200x100_red.png [new file with mode: 0644]
LayoutTests/ietestcenter/css3/support/flexbox_200x100g_red.png [new file with mode: 0644]
LayoutTests/ietestcenter/css3/support/flexbox_300x100_red.png [new file with mode: 0644]
LayoutTests/ietestcenter/css3/support/flexbox_300x150_100red.png [new file with mode: 0644]
LayoutTests/ietestcenter/css3/support/flexbox_300x200_red.png [new file with mode: 0644]
LayoutTests/ietestcenter/css3/support/flexbox_300x50_100_80_baseline_red.png [new file with mode: 0644]
LayoutTests/ietestcenter/css3/support/flexbox_300x50_100_80_red.png [new file with mode: 0644]
LayoutTests/ietestcenter/css3/support/green_color.png [new file with mode: 0644]
LayoutTests/ietestcenter/css3/support/red_color.png [new file with mode: 0644]
LayoutTests/ietestcenter/css3/support/red_space_pb.png [new file with mode: 0644]
LayoutTests/ietestcenter/css3/support/scope-003.css [new file with mode: 0644]
LayoutTests/ietestcenter/css3/support/space_border_box.png [new file with mode: 0644]
LayoutTests/ietestcenter/css3/support/syntax-018.css [new file with mode: 0644]
LayoutTests/ietestcenter/css3/support/syntax-019.css [new file with mode: 0644]
LayoutTests/ietestcenter/css3/support/white_color.png [new file with mode: 0644]
LayoutTests/ietestcenter/css3/text/textshadow-001.htm [new file with mode: 0644]
LayoutTests/ietestcenter/css3/text/textshadow-002.htm [new file with mode: 0644]
LayoutTests/ietestcenter/css3/text/textshadow-003.htm [new file with mode: 0644]
LayoutTests/ietestcenter/css3/text/textshadow-004.htm [new file with mode: 0644]
LayoutTests/ietestcenter/css3/text/textshadow-005.htm [new file with mode: 0644]
LayoutTests/ietestcenter/css3/text/textshadow-006.htm [new file with mode: 0644]
LayoutTests/ietestcenter/css3/text/textshadow-007.htm [new file with mode: 0644]
LayoutTests/ietestcenter/css3/text/textshadow-008.htm [new file with mode: 0644]
LayoutTests/ietestcenter/css3/text/textshadow-009.htm [new file with mode: 0644]
LayoutTests/ietestcenter/css3/text/textshadow-010.htm [new file with mode: 0644]
LayoutTests/platform/chromium/test_expectations.txt
LayoutTests/platform/efl/test_expectations.txt
LayoutTests/platform/gtk/test_expectations.txt
LayoutTests/platform/mac/test_expectations.txt
LayoutTests/platform/qt/test_expectations.txt

index 80c7040267916c8e69446714caf98bf5c3e460f8..428519efeaec552dc7a63dbbc626b140e2c211c9 100644 (file)
@@ -1,3 +1,54 @@
+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
diff --git a/LayoutTests/ietestcenter/TestSupport/FeatureDetection.js b/LayoutTests/ietestcenter/TestSupport/FeatureDetection.js
new file mode 100644 (file)
index 0000000..00def60
--- /dev/null
@@ -0,0 +1,115 @@
+// 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;
+    }
+}
diff --git a/LayoutTests/ietestcenter/css3/support/TahomaNarrow.ttf b/LayoutTests/ietestcenter/css3/support/TahomaNarrow.ttf
new file mode 100644 (file)
index 0000000..6df6355
Binary files /dev/null and b/LayoutTests/ietestcenter/css3/support/TahomaNarrow.ttf differ
diff --git a/LayoutTests/ietestcenter/css3/support/TahomaNormal.ttf b/LayoutTests/ietestcenter/css3/support/TahomaNormal.ttf
new file mode 100644 (file)
index 0000000..7296e4b
Binary files /dev/null and b/LayoutTests/ietestcenter/css3/support/TahomaNormal.ttf differ
diff --git a/LayoutTests/ietestcenter/css3/support/TahomaT.ttf b/LayoutTests/ietestcenter/css3/support/TahomaT.ttf
new file mode 100644 (file)
index 0000000..14e38d7
Binary files /dev/null and b/LayoutTests/ietestcenter/css3/support/TahomaT.ttf differ
diff --git a/LayoutTests/ietestcenter/css3/support/ahem.ttf b/LayoutTests/ietestcenter/css3/support/ahem.ttf
new file mode 100644 (file)
index 0000000..ac81cb0
Binary files /dev/null and b/LayoutTests/ietestcenter/css3/support/ahem.ttf differ
diff --git a/LayoutTests/ietestcenter/css3/support/black_color.png b/LayoutTests/ietestcenter/css3/support/black_color.png
new file mode 100644 (file)
index 0000000..6283423
Binary files /dev/null and b/LayoutTests/ietestcenter/css3/support/black_color.png differ
diff --git a/LayoutTests/ietestcenter/css3/support/black_red.png b/LayoutTests/ietestcenter/css3/support/black_red.png
new file mode 100644 (file)
index 0000000..00acc4c
Binary files /dev/null and b/LayoutTests/ietestcenter/css3/support/black_red.png differ
diff --git a/LayoutTests/ietestcenter/css3/support/blue_color.png b/LayoutTests/ietestcenter/css3/support/blue_color.png
new file mode 100644 (file)
index 0000000..820f8ca
Binary files /dev/null and b/LayoutTests/ietestcenter/css3/support/blue_color.png differ
diff --git a/LayoutTests/ietestcenter/css3/support/cat.png b/LayoutTests/ietestcenter/css3/support/cat.png
new file mode 100644 (file)
index 0000000..402f772
Binary files /dev/null and b/LayoutTests/ietestcenter/css3/support/cat.png differ
diff --git a/LayoutTests/ietestcenter/css3/support/flexbox_100r_50g_100r_50g_100g.png b/LayoutTests/ietestcenter/css3/support/flexbox_100r_50g_100r_50g_100g.png
new file mode 100644 (file)
index 0000000..2a28098
Binary files /dev/null and b/LayoutTests/ietestcenter/css3/support/flexbox_100r_50g_100r_50g_100g.png differ
diff --git a/LayoutTests/ietestcenter/css3/support/flexbox_100x100_green.png b/LayoutTests/ietestcenter/css3/support/flexbox_100x100_green.png
new file mode 100644 (file)
index 0000000..decb20f
Binary files /dev/null and b/LayoutTests/ietestcenter/css3/support/flexbox_100x100_green.png differ
diff --git a/LayoutTests/ietestcenter/css3/support/flexbox_100x100_red.png b/LayoutTests/ietestcenter/css3/support/flexbox_100x100_red.png
new file mode 100644 (file)
index 0000000..e546a5f
Binary files /dev/null and b/LayoutTests/ietestcenter/css3/support/flexbox_100x100_red.png differ
diff --git a/LayoutTests/ietestcenter/css3/support/flexbox_100x100g_red.png b/LayoutTests/ietestcenter/css3/support/flexbox_100x100g_red.png
new file mode 100644 (file)
index 0000000..bded5b5
Binary files /dev/null and b/LayoutTests/ietestcenter/css3/support/flexbox_100x100g_red.png differ
diff --git a/LayoutTests/ietestcenter/css3/support/flexbox_200x100_red.png b/LayoutTests/ietestcenter/css3/support/flexbox_200x100_red.png
new file mode 100644 (file)
index 0000000..a05effc
Binary files /dev/null and b/LayoutTests/ietestcenter/css3/support/flexbox_200x100_red.png differ
diff --git a/LayoutTests/ietestcenter/css3/support/flexbox_200x100g_red.png b/LayoutTests/ietestcenter/css3/support/flexbox_200x100g_red.png
new file mode 100644 (file)
index 0000000..b6e2476
Binary files /dev/null and b/LayoutTests/ietestcenter/css3/support/flexbox_200x100g_red.png differ
diff --git a/LayoutTests/ietestcenter/css3/support/flexbox_300x100_red.png b/LayoutTests/ietestcenter/css3/support/flexbox_300x100_red.png
new file mode 100644 (file)
index 0000000..f627234
Binary files /dev/null and b/LayoutTests/ietestcenter/css3/support/flexbox_300x100_red.png differ
diff --git a/LayoutTests/ietestcenter/css3/support/flexbox_300x150_100red.png b/LayoutTests/ietestcenter/css3/support/flexbox_300x150_100red.png
new file mode 100644 (file)
index 0000000..6c6c176
Binary files /dev/null and b/LayoutTests/ietestcenter/css3/support/flexbox_300x150_100red.png differ
diff --git a/LayoutTests/ietestcenter/css3/support/flexbox_300x200_red.png b/LayoutTests/ietestcenter/css3/support/flexbox_300x200_red.png
new file mode 100644 (file)
index 0000000..b0a57c2
Binary files /dev/null and b/LayoutTests/ietestcenter/css3/support/flexbox_300x200_red.png differ
diff --git a/LayoutTests/ietestcenter/css3/support/flexbox_300x50_100_80_baseline_red.png b/LayoutTests/ietestcenter/css3/support/flexbox_300x50_100_80_baseline_red.png
new file mode 100644 (file)
index 0000000..2ad0846
Binary files /dev/null and b/LayoutTests/ietestcenter/css3/support/flexbox_300x50_100_80_baseline_red.png differ
diff --git a/LayoutTests/ietestcenter/css3/support/flexbox_300x50_100_80_red.png b/LayoutTests/ietestcenter/css3/support/flexbox_300x50_100_80_red.png
new file mode 100644 (file)
index 0000000..79b82e2
Binary files /dev/null and b/LayoutTests/ietestcenter/css3/support/flexbox_300x50_100_80_red.png differ
diff --git a/LayoutTests/ietestcenter/css3/support/green_color.png b/LayoutTests/ietestcenter/css3/support/green_color.png
new file mode 100644 (file)
index 0000000..af6a259
Binary files /dev/null and b/LayoutTests/ietestcenter/css3/support/green_color.png differ
diff --git a/LayoutTests/ietestcenter/css3/support/red_color.png b/LayoutTests/ietestcenter/css3/support/red_color.png
new file mode 100644 (file)
index 0000000..0271c9c
Binary files /dev/null and b/LayoutTests/ietestcenter/css3/support/red_color.png differ
diff --git a/LayoutTests/ietestcenter/css3/support/red_space_pb.png b/LayoutTests/ietestcenter/css3/support/red_space_pb.png
new file mode 100644 (file)
index 0000000..9b5fbf8
Binary files /dev/null and b/LayoutTests/ietestcenter/css3/support/red_space_pb.png differ
diff --git a/LayoutTests/ietestcenter/css3/support/scope-003.css b/LayoutTests/ietestcenter/css3/support/scope-003.css
new file mode 100644 (file)
index 0000000..0073810
--- /dev/null
@@ -0,0 +1,2 @@
+t { background: lime }
+Foo|t { background: red }
\ No newline at end of file
diff --git a/LayoutTests/ietestcenter/css3/support/space_border_box.png b/LayoutTests/ietestcenter/css3/support/space_border_box.png
new file mode 100644 (file)
index 0000000..38b7526
Binary files /dev/null and b/LayoutTests/ietestcenter/css3/support/space_border_box.png differ
diff --git a/LayoutTests/ietestcenter/css3/support/syntax-018.css b/LayoutTests/ietestcenter/css3/support/syntax-018.css
new file mode 100644 (file)
index 0000000..a276bb5
--- /dev/null
@@ -0,0 +1,2 @@
+@namespace A "test-a";
+A|t1 { background: lime }
\ No newline at end of file
diff --git a/LayoutTests/ietestcenter/css3/support/syntax-019.css b/LayoutTests/ietestcenter/css3/support/syntax-019.css
new file mode 100644 (file)
index 0000000..906bbee
--- /dev/null
@@ -0,0 +1,3 @@
+@namespace B "test-b";
+B|t2 { background: lime }
+B|t3 { background: red }
\ No newline at end of file
diff --git a/LayoutTests/ietestcenter/css3/support/white_color.png b/LayoutTests/ietestcenter/css3/support/white_color.png
new file mode 100644 (file)
index 0000000..d458370
Binary files /dev/null and b/LayoutTests/ietestcenter/css3/support/white_color.png differ
diff --git a/LayoutTests/ietestcenter/css3/text/textshadow-001.htm b/LayoutTests/ietestcenter/css3/text/textshadow-001.htm
new file mode 100644 (file)
index 0000000..6a9f80e
--- /dev/null
@@ -0,0 +1,50 @@
+<!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>
diff --git a/LayoutTests/ietestcenter/css3/text/textshadow-002.htm b/LayoutTests/ietestcenter/css3/text/textshadow-002.htm
new file mode 100644 (file)
index 0000000..53ed3c1
--- /dev/null
@@ -0,0 +1,53 @@
+<!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>
diff --git a/LayoutTests/ietestcenter/css3/text/textshadow-003.htm b/LayoutTests/ietestcenter/css3/text/textshadow-003.htm
new file mode 100644 (file)
index 0000000..a3424b2
--- /dev/null
@@ -0,0 +1,48 @@
+<!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>
diff --git a/LayoutTests/ietestcenter/css3/text/textshadow-004.htm b/LayoutTests/ietestcenter/css3/text/textshadow-004.htm
new file mode 100644 (file)
index 0000000..40b61f7
--- /dev/null
@@ -0,0 +1,48 @@
+<!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>
diff --git a/LayoutTests/ietestcenter/css3/text/textshadow-005.htm b/LayoutTests/ietestcenter/css3/text/textshadow-005.htm
new file mode 100644 (file)
index 0000000..e838592
--- /dev/null
@@ -0,0 +1,67 @@
+<!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>
diff --git a/LayoutTests/ietestcenter/css3/text/textshadow-006.htm b/LayoutTests/ietestcenter/css3/text/textshadow-006.htm
new file mode 100644 (file)
index 0000000..5c2ad6d
--- /dev/null
@@ -0,0 +1,56 @@
+<!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>
diff --git a/LayoutTests/ietestcenter/css3/text/textshadow-007.htm b/LayoutTests/ietestcenter/css3/text/textshadow-007.htm
new file mode 100644 (file)
index 0000000..b40df8e
--- /dev/null
@@ -0,0 +1,64 @@
+<!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>
diff --git a/LayoutTests/ietestcenter/css3/text/textshadow-008.htm b/LayoutTests/ietestcenter/css3/text/textshadow-008.htm
new file mode 100644 (file)
index 0000000..df4a906
--- /dev/null
@@ -0,0 +1,64 @@
+<!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>
diff --git a/LayoutTests/ietestcenter/css3/text/textshadow-009.htm b/LayoutTests/ietestcenter/css3/text/textshadow-009.htm
new file mode 100644 (file)
index 0000000..7a233ba
--- /dev/null
@@ -0,0 +1,65 @@
+<!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>
diff --git a/LayoutTests/ietestcenter/css3/text/textshadow-010.htm b/LayoutTests/ietestcenter/css3/text/textshadow-010.htm
new file mode 100644 (file)
index 0000000..5ef77e3
--- /dev/null
@@ -0,0 +1,59 @@
+<!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>
index 909f81991610ab016674f1f762751d6d11fd5de4..11b2834d22537c2e9f0170eb6394c57ada32f5ce 100644 (file)
@@ -4279,3 +4279,17 @@ BUGWK78412 MAC WIN : fast/table/cell-pref-width-invalidation.html = TEXT
 // 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
+
index a86c6711558a30eb911262c4db62d3ef84214a29..e6e0068288527b2da0be57a09f10edfd70c2de40 100644 (file)
@@ -154,3 +154,17 @@ BUGWK75568 : fast/table/text-field-baseline.html = TEXT
 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
+
index 54a746a2c535795c4b2ef8e0ab7f8f29d74088f9..49d8474625b7f83330b498d88b02941fd0c13af9 100644 (file)
@@ -118,3 +118,17 @@ BUGWK78412 : tables/mozilla_expected_failures/bugs/bug59252.html = TEXT
 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
+
index 58dea8106b72e53d376a7bff6e6579d006edb412..a31aac359b6ea4e19f7e9a1b3c626f2a59622dfe 100644 (file)
@@ -407,3 +407,17 @@ BUGWK80630: css3/filters/multiple-filters-invalidation.html = IMAGE
 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
+
index ed12d0f968b8393b996be753b0e51a6eb7d3d483..05622fb32a6a6d526a6a8c7d97e8390e04f824ef 100644 (file)
@@ -28,3 +28,17 @@ BUGWK78412 : tables/mozilla/bugs/bug34176.html = TEXT
 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
+