| Differences between
and this patch
- a/LayoutTests/ChangeLog +79 lines
Lines 1-3 a/LayoutTests/ChangeLog_sec1
1
2012-03-22  Dave Tharp  <dtharp@codeaurora.org>
2
3
        Integrate IETC CSS : textshadow tests
4
        https://bugs.webkit.org/show_bug.cgi?id=81936
5
6
        Reviewed by NOBODY (OOPS!).
7
8
        Adding IE Testcenter CSS Text shadow tests. Adding as pixel tests since
9
        there's no apparent way to detect the presence or attributes of the actual
10
        text shadow.
11
12
        * ietestcenter/TestSupport/FeatureDetection.js: Added.
13
        (BrowserHasFeature):
14
        (GetVendorPrefix):
15
        (AppendPrefix):
16
        * ietestcenter/css3/support/Ahem.ttf: Added.
17
        * ietestcenter/css3/support/TahomaNarrow.ttf: Added.
18
        * ietestcenter/css3/support/TahomaNormal.ttf: Added.
19
        * ietestcenter/css3/support/TahomaT.ttf: Added.
20
        * ietestcenter/css3/support/ahem.ttf: Added.
21
        * ietestcenter/css3/support/black_color.png: Added.
22
        * ietestcenter/css3/support/black_red.png: Added.
23
        * ietestcenter/css3/support/blue_color.png: Added.
24
        * ietestcenter/css3/support/cat.png: Added.
25
        * ietestcenter/css3/support/flexbox_100r_50g_100r_50g_100g.png: Added.
26
        * ietestcenter/css3/support/flexbox_100x100_green.png: Added.
27
        * ietestcenter/css3/support/flexbox_100x100_red.png: Added.
28
        * ietestcenter/css3/support/flexbox_100x100g_red.png: Added.
29
        * ietestcenter/css3/support/flexbox_200x100_red.png: Added.
30
        * ietestcenter/css3/support/flexbox_200x100g_red.png: Added.
31
        * ietestcenter/css3/support/flexbox_300x100_red.png: Added.
32
        * ietestcenter/css3/support/flexbox_300x150_100red.png: Added.
33
        * ietestcenter/css3/support/flexbox_300x200_red.png: Added.
34
        * ietestcenter/css3/support/flexbox_300x50_100_80_baseline_red.png: Added.
35
        * ietestcenter/css3/support/flexbox_300x50_100_80_red.png: Added.
36
        * ietestcenter/css3/support/green_color.png: Added.
37
        * ietestcenter/css3/support/red_color.png: Added.
38
        * ietestcenter/css3/support/red_space_pb.png: Added.
39
        * ietestcenter/css3/support/scope-003.css: Added.
40
        (t):
41
        (Foo|t):
42
        * ietestcenter/css3/support/space_border_box.png: Added.
43
        * ietestcenter/css3/support/syntax-018.css: Added.
44
        (A|t1):
45
        * ietestcenter/css3/support/syntax-019.css: Added.
46
        (B|t2):
47
        (B|t3):
48
        * ietestcenter/css3/support/white_color.png: Added.
49
        * ietestcenter/css3/text/textshadow-001-expected.png: Added.
50
        * ietestcenter/css3/text/textshadow-001-expected.txt: Added.
51
        * ietestcenter/css3/text/textshadow-001.htm: Added.
52
        * ietestcenter/css3/text/textshadow-002-expected.png: Added.
53
        * ietestcenter/css3/text/textshadow-002-expected.txt: Added.
54
        * ietestcenter/css3/text/textshadow-002.htm: Added.
55
        * ietestcenter/css3/text/textshadow-003-expected.png: Added.
56
        * ietestcenter/css3/text/textshadow-003-expected.txt: Added.
57
        * ietestcenter/css3/text/textshadow-003.htm: Added.
58
        * ietestcenter/css3/text/textshadow-004-expected.png: Added.
59
        * ietestcenter/css3/text/textshadow-004-expected.txt: Added.
60
        * ietestcenter/css3/text/textshadow-004.htm: Added.
61
        * ietestcenter/css3/text/textshadow-005-expected.png: Added.
62
        * ietestcenter/css3/text/textshadow-005-expected.txt: Added.
63
        * ietestcenter/css3/text/textshadow-005.htm: Added.
64
        * ietestcenter/css3/text/textshadow-006-expected.png: Added.
65
        * ietestcenter/css3/text/textshadow-006-expected.txt: Added.
66
        * ietestcenter/css3/text/textshadow-006.htm: Added.
67
        * ietestcenter/css3/text/textshadow-007-expected.png: Added.
68
        * ietestcenter/css3/text/textshadow-007-expected.txt: Added.
69
        * ietestcenter/css3/text/textshadow-007.htm: Added.
70
        * ietestcenter/css3/text/textshadow-008-expected.png: Added.
71
        * ietestcenter/css3/text/textshadow-008-expected.txt: Added.
72
        * ietestcenter/css3/text/textshadow-008.htm: Added.
73
        * ietestcenter/css3/text/textshadow-009-expected.png: Added.
74
        * ietestcenter/css3/text/textshadow-009-expected.txt: Added.
75
        * ietestcenter/css3/text/textshadow-009.htm: Added.
76
        * ietestcenter/css3/text/textshadow-010-expected.png: Added.
77
        * ietestcenter/css3/text/textshadow-010-expected.txt: Added.
78
        * ietestcenter/css3/text/textshadow-010.htm: Added.
79
1
2012-03-22  Dan Bernstein  <mitz@apple.com>
80
2012-03-22  Dan Bernstein  <mitz@apple.com>
2
81
3
        Added fast/events/drag-link.html to the Mac WebKit2 skip list, because running it has
82
        Added fast/events/drag-link.html to the Mac WebKit2 skip list, because running it has
- a/LayoutTests/ietestcenter/TestSupport/FeatureDetection.js +115 lines
Line 0 a/LayoutTests/ietestcenter/TestSupport/FeatureDetection.js_sec1
1
// Internet Explorer Test Pages Copyright © 2012 Microsoft Corporation. All rights reserved.
2
//
3
// Redistribution and use in source and binary forms, with or without modification, 
4
// are permitted provided that the following conditions are met:
5
//
6
// Redistributions of source code must retain the above copyright notice, this list of 
7
// conditions and the following disclaimer.
8
//
9
// Redistributions in binary form must reproduce the above copyright notice, this list of 
10
// conditions and the following disclaimer in the documentation and/or other materials 
11
// provided with the distribution.
12
//
13
// Neither the name of the Microsoft Corporation nor the names of its contributors may be 
14
// used to endorse or promote products derived from this software without specific prior 
15
// written permission.
16
//
17
// THIS SOFTWARE IS PROVIDED BY MICROSOFT CORPORATION "AS IS" AND ANY EXPRESS OR IMPLIED 
18
// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 
19
// FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL MICROSOFT CORPORATION 
20
// BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 
21
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
22
// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
23
// OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 
24
// OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
25
// POSSIBILITY OF SUCH DAMAGE. 
26
27
28
// This function returns the value of an API feature if it is defined with one of
29
// the known ventor prefixes. 
30
//
31
// Parameters:
32
//  parent: the object containing the API feature
33
//  feature: the name of the API feature, this should be a string value
34
//  isAttribute: set this to true to indicate that this is a constant attribute
35
//               as opposed to a variable
36
function BrowserHasFeature(parent, feature, isAttribute)
37
{
38
    if (parent[feature] !== undefined)
39
    {
40
        //feature is defined without a vendor prefix, no further checks necessary
41
        return parent[feature];
42
    }
43
44
    // the feature is not defined without a vendor prefix, so find the vendor prefix, if any,
45
    // that it is defined with
46
    var prefix = GetVendorPrefix(parent, feature, isAttribute);
47
    
48
    // if prefix is not undefined, then the feature has been found to exist with this prefix
49
    if (prefix !== undefined)
50
    {
51
        var prefixedFeatureName = AppendPrefix(prefix, feature, isAttribute);
52
        return parent[prefixedFeatureName];
53
    }
54
55
    //The feature does not exist.
56
    //Callers should check for !==undefined as the feature itself could return
57
    //a Bool which would fail a typical if(feature) check
58
    return undefined;
59
}
60
61
// This function returns the vendor prefix found if a certain feature is defined with it.
62
// It takes the same parameters at BrowserHasFeature().
63
function GetVendorPrefix(parent, feature, isAttribute)
64
{
65
    //Known vendor prefixes
66
    var VendorPrefixes = ["moz", "ms", "o", "webkit"];
67
    for (vendor in VendorPrefixes)
68
    {
69
        //Build up the new feature name with the vendor prefix
70
        var prefixedFeatureName = AppendPrefix(VendorPrefixes[vendor], feature, isAttribute);
71
        if (parent[prefixedFeatureName] !== undefined)
72
        {
73
            //Vendor prefix version exists, return a pointer to the feature
74
            return VendorPrefixes[vendor];
75
        }
76
    }
77
    
78
    // if no version of the feature with a vendor prefix has been found, return undefined
79
    return undefined;
80
}
81
82
// This will properly capitalize the feature name and then return the feature name preceded
83
// with the provided vendor prefix. If the prefix given is undefined, this function will
84
// return the feature name given as is. The output of this function should not be used
85
// as an indicator of whether or not a feature exists as it will return the same thing if
86
// the inputted feature is undefined or is defined without a vendor prefix. It takes the 
87
// same parameters at BrowserHasFeature().
88
function AppendPrefix(prefix, feature, isAttribute)
89
{
90
    if (prefix !== undefined)
91
    {
92
        if (isAttribute)
93
        {
94
            // if a certain feature is an attribute, then it follows a different naming standard
95
            // where it must be completely capitalized and have words split with an underscore
96
            return prefix.toUpperCase() + "_" + feature.toUpperCase();
97
        }
98
        else
99
        {
100
            //Vendor prefixing should follow the standard convention: vendorprefixFeature
101
            //Note that the feature is capitalized after the vendor prefix
102
            //Therefore if the feature is window.feature, the vendor prefix version is:
103
            //window.[vp]Feature where vp is the vendor prefix: 
104
            //window.msFeature, window.webkitFeature, window.mozFeature, window.oFeature
105
            var newFeature = feature[0].toUpperCase() + feature.substr(1, feature.length);
106
107
            //Build up the new feature name with the vendor prefix
108
            return prefix + newFeature;
109
        }
110
    }
111
    else
112
    {
113
        return feature;
114
    }
115
}
- a/LayoutTests/ietestcenter/css3/support/scope-003.css +2 lines
Line 0 a/LayoutTests/ietestcenter/css3/support/scope-003.css_sec1
1
t { background: lime }
2
Foo|t { background: red }
- a/LayoutTests/ietestcenter/css3/support/syntax-018.css +2 lines
Line 0 a/LayoutTests/ietestcenter/css3/support/syntax-018.css_sec1
1
@namespace A "test-a";
2
A|t1 { background: lime }
- a/LayoutTests/ietestcenter/css3/support/syntax-019.css +3 lines
Line 0 a/LayoutTests/ietestcenter/css3/support/syntax-019.css_sec1
1
@namespace B "test-b";
2
B|t2 { background: lime }
3
B|t3 { background: red }
- a/LayoutTests/ietestcenter/css3/text/textshadow-001-expected.txt +11 lines
Line 0 a/LayoutTests/ietestcenter/css3/text/textshadow-001-expected.txt_sec1
1
layer at (0,0) size 800x600
2
  RenderView at (0,0) size 800x600
3
layer at (0,0) size 800x117
4
  RenderBlock {HTML} at (0,0) size 800x117
5
    RenderBody {BODY} at (8,16) size 784x76
6
      RenderBlock {P} at (0,0) size 784x21
7
        RenderText {#text} at (0,0) size 492x21
8
          text run at (0,0) width 492: "Test pasees if there is a black, blue and yellow rectangle on the page."
9
      RenderBlock {DIV} at (25,46) size 734x30
10
        RenderText {#text} at (0,0) size 300x30
11
          text run at (0,0) width 300: "FillerText"
- a/LayoutTests/ietestcenter/css3/text/textshadow-001.htm +50 lines
Line 0 a/LayoutTests/ietestcenter/css3/text/textshadow-001.htm_sec1
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
<!--
3
 Internet Explorer Test Pages Copyright © 2012 Microsoft Corporation. All rights reserved.
4
5
 Redistribution and use in source and binary forms, with or without modification,
6
 are permitted provided that the following conditions are met:
7
8
 Redistributions of source code must retain the above copyright notice, this list of
9
 conditions and the following disclaimer.
10
11
 Redistributions in binary form must reproduce the above copyright notice, this list of
12
 conditions and the following disclaimer in the documentation and/or other materials
13
 provided with the distribution.
14
15
 Neither the name of the Microsoft Corporation nor the names of its contributors may be
16
 used to endorse or promote products derived from this software without specific prior
17
 written permission.
18
19
 THIS SOFTWARE IS PROVIDED BY MICROSOFT CORPORATION "AS IS" AND ANY EXPRESS OR IMPLIED
20
 WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
21
 FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL MICROSOFT CORPORATION
22
 BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23
 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24
 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
25
 OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
26
 OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27
 POSSIBILITY OF SUCH DAMAGE.
28
-->
29
<html xmlns="http://www.w3.org/1999/xhtml">
30
    <head>
31
        <title>CSS Test: The 'text-shadow' property applied with a comma-separated list of values</title>
32
        <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
33
        <link rel="help" href="http://www.w3.org/TR/css3-text/#text-shadow" />
34
        <meta name="flags" content="" />
35
        <meta name="assert" content="The 'text-shadow' property accepts a comma-separated list of shadow effects applied to a text element." />
36
        <style type="text/css">
37
            #test
38
            {
39
                font-size: 30px;
40
                font-family: Ahem;
41
                margin: 25px;
42
                text-shadow: blue 10px 25px 3px, yellow 10px 50px 5px;
43
            }
44
        </style>
45
    </head>
46
    <body>
47
        <p>Test pasees if there is a black, blue and yellow rectangle on the page.</p>
48
        <div id="test">FillerText</div>
49
    </body>
50
</html>
- a/LayoutTests/ietestcenter/css3/text/textshadow-002-expected.txt +12 lines
Line 0 a/LayoutTests/ietestcenter/css3/text/textshadow-002-expected.txt_sec1
1
layer at (0,0) size 800x600
2
  RenderView at (0,0) size 800x600
3
layer at (0,0) size 800x138
4
  RenderBlock {HTML} at (0,0) size 800x138
5
    RenderBody {BODY} at (8,16) size 784x97
6
      RenderBlock {P} at (0,0) size 784x21
7
        RenderText {#text} at (0,0) size 778x21
8
          text run at (0,0) width 778: "Test passes if there are three black and three blue instances of 'Filler Text' such that all text has a line above it."
9
      RenderBlock {DIV} at (25,46) size 734x51
10
        RenderText {#text} at (0,0) size 544x51
11
          text run at (0,0) width 544: "Filler Text Filler Text Filler Text"
12
      RenderBlock {DIV} at (0,122) size 784x0
- a/LayoutTests/ietestcenter/css3/text/textshadow-002.htm +53 lines
Line 0 a/LayoutTests/ietestcenter/css3/text/textshadow-002.htm_sec1
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
<!--
3
 Internet Explorer Test Pages Copyright © 2012 Microsoft Corporation. All rights reserved.
4
5
 Redistribution and use in source and binary forms, with or without modification,
6
 are permitted provided that the following conditions are met:
7
8
 Redistributions of source code must retain the above copyright notice, this list of
9
 conditions and the following disclaimer.
10
11
 Redistributions in binary form must reproduce the above copyright notice, this list of
12
 conditions and the following disclaimer in the documentation and/or other materials
13
 provided with the distribution.
14
15
 Neither the name of the Microsoft Corporation nor the names of its contributors may be
16
 used to endorse or promote products derived from this software without specific prior
17
 written permission.
18
19
 THIS SOFTWARE IS PROVIDED BY MICROSOFT CORPORATION "AS IS" AND ANY EXPRESS OR IMPLIED
20
 WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
21
 FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL MICROSOFT CORPORATION
22
 BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23
 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24
 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
25
 OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
26
 OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27
 POSSIBILITY OF SUCH DAMAGE.
28
-->
29
<html xmlns="http://www.w3.org/1999/xhtml">
30
    <head>
31
        <title>CSS Test: Using 'text-shadow' along with 'text-decoration' value set to 'overline'
32
        </title>
33
        <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
34
        <link rel="help" href="http://www.w3.org/TR/css3-text/#text-shadow" />
35
        <meta name="flags" content="" />
36
        <meta name="assert" content="Setting 'text-decoration' value to 'overline' along with 'text-shadow' property is supported." />
37
        <style type="text/css">
38
            #test
39
            {
40
                font-family: Arial;
41
                font-size: 30pt;
42
                margin: 25px;
43
                text-decoration: overline;
44
                text-shadow: blue 20px 39px 2.5px;
45
            }
46
        </style>
47
    </head>
48
    <body>
49
        <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>
50
        <div id="test">Filler Text Filler Text Filler Text</div>
51
        <div></div>
52
    </body>
53
</html>
- a/LayoutTests/ietestcenter/css3/text/textshadow-003-expected.txt +12 lines
Line 0 a/LayoutTests/ietestcenter/css3/text/textshadow-003-expected.txt_sec1
1
layer at (0,0) size 800x600
2
  RenderView at (0,0) size 800x600
3
layer at (0,0) size 800x82
4
  RenderBlock {HTML} at (0,0) size 800x82
5
    RenderBody {BODY} at (8,16) size 784x58
6
      RenderBlock {P} at (0,0) size 784x21
7
        RenderText {#text} at (0,0) size 341x21
8
          text run at (0,0) width 341: "Test passes if there is green visible on the page."
9
      RenderBlock {DIV} at (0,37) size 784x21
10
        RenderText {#text} at (0,0) size 146x21
11
          text run at (0,0) width 146: "Filler Text Filler Text"
12
      RenderBlock {DIV} at (0,58) size 784x0
- a/LayoutTests/ietestcenter/css3/text/textshadow-003.htm +48 lines
Line 0 a/LayoutTests/ietestcenter/css3/text/textshadow-003.htm_sec1
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
<!--
3
 Internet Explorer Test Pages Copyright © 2012 Microsoft Corporation. All rights reserved.
4
5
 Redistribution and use in source and binary forms, with or without modification,
6
 are permitted provided that the following conditions are met:
7
8
 Redistributions of source code must retain the above copyright notice, this list of
9
 conditions and the following disclaimer.
10
11
 Redistributions in binary form must reproduce the above copyright notice, this list of
12
 conditions and the following disclaimer in the documentation and/or other materials
13
 provided with the distribution.
14
15
 Neither the name of the Microsoft Corporation nor the names of its contributors may be
16
 used to endorse or promote products derived from this software without specific prior
17
 written permission.
18
19
 THIS SOFTWARE IS PROVIDED BY MICROSOFT CORPORATION "AS IS" AND ANY EXPRESS OR IMPLIED
20
 WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
21
 FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL MICROSOFT CORPORATION
22
 BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23
 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24
 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
25
 OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
26
 OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27
 POSSIBILITY OF SUCH DAMAGE.
28
-->
29
<html xmlns="http://www.w3.org/1999/xhtml">
30
    <head>
31
        <title>CSS Test: The 'text-shadow' property applied to '::first-line'</title>
32
        <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
33
        <link rel="help" href="http://www.w3.org/TR/css3-text/#text-shadow" />
34
        <meta name="flags" content="" />
35
        <meta name="assert" content="The 'text-shadow' property applies to the '::first-line' pseudo-element." />
36
        <style type="text/css">
37
            div::first-line
38
            {
39
                text-shadow: green 10px 20px 3px;
40
            }
41
        </style>
42
    </head>
43
    <body>
44
        <p>Test passes if there is green visible on the page.</p>
45
        <div>Filler Text Filler Text</div>
46
        <div></div>
47
    </body>
48
</html>
- a/LayoutTests/ietestcenter/css3/text/textshadow-004-expected.txt +15 lines
Line 0 a/LayoutTests/ietestcenter/css3/text/textshadow-004-expected.txt_sec1
1
layer at (0,0) size 800x600
2
  RenderView at (0,0) size 800x600
3
layer at (0,0) size 800x82
4
  RenderBlock {HTML} at (0,0) size 800x82
5
    RenderBody {BODY} at (8,16) size 784x58
6
      RenderBlock {P} at (0,0) size 784x21
7
        RenderText {#text} at (0,0) size 341x21
8
          text run at (0,0) width 341: "Test passes if there is green visible on the page."
9
      RenderBlock {DIV} at (0,37) size 784x21
10
        RenderInline (generated) at (0,0) size 10x21
11
          RenderText {#text} at (0,0) size 10x21
12
            text run at (0,0) width 10: "F"
13
        RenderText {#text} at (10,0) size 61x21
14
          text run at (10,0) width 61: "iller Text"
15
      RenderBlock {DIV} at (0,58) size 784x0
- a/LayoutTests/ietestcenter/css3/text/textshadow-004.htm +48 lines
Line 0 a/LayoutTests/ietestcenter/css3/text/textshadow-004.htm_sec1
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
<!--
3
 Internet Explorer Test Pages Copyright © 2012 Microsoft Corporation. All rights reserved.
4
5
 Redistribution and use in source and binary forms, with or without modification,
6
 are permitted provided that the following conditions are met:
7
8
 Redistributions of source code must retain the above copyright notice, this list of
9
 conditions and the following disclaimer.
10
11
 Redistributions in binary form must reproduce the above copyright notice, this list of
12
 conditions and the following disclaimer in the documentation and/or other materials
13
 provided with the distribution.
14
15
 Neither the name of the Microsoft Corporation nor the names of its contributors may be
16
 used to endorse or promote products derived from this software without specific prior
17
 written permission.
18
19
 THIS SOFTWARE IS PROVIDED BY MICROSOFT CORPORATION "AS IS" AND ANY EXPRESS OR IMPLIED
20
 WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
21
 FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL MICROSOFT CORPORATION
22
 BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23
 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24
 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
25
 OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
26
 OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27
 POSSIBILITY OF SUCH DAMAGE.
28
-->
29
<html xmlns="http://www.w3.org/1999/xhtml">
30
    <head>
31
        <title>CSS Test: The 'text-shadow' property applied to '::first-letter'</title>
32
        <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
33
        <link rel="help" href="http://www.w3.org/TR/css3-text/#text-shadow" />
34
        <meta name="flags" content="" />
35
        <meta name="assert" content="The 'text-shadow' property applies to the '::first-letter' pseudo-element." />
36
        <style type="text/css">
37
            div::first-letter
38
            {
39
                text-shadow: green 10px 20px 3px;
40
            }
41
        </style>
42
    </head>
43
    <body>
44
        <p>Test passes if there is green visible on the page.</p>
45
        <div>Filler Text</div>
46
        <div></div>
47
    </body>
48
</html>
- a/LayoutTests/ietestcenter/css3/text/textshadow-005-expected.txt +15 lines
Line 0 a/LayoutTests/ietestcenter/css3/text/textshadow-005-expected.txt_sec1
1
layer at (0,0) size 800x600
2
  RenderView at (0,0) size 800x600
3
layer at (0,0) size 800x53
4
  RenderBlock {HTML} at (0,0) size 800x53
5
    RenderBody {BODY} at (8,16) size 784x21
6
      RenderBlock {P} at (0,0) size 784x21
7
        RenderText {#text} at (0,0) size 631x21
8
          text run at (0,0) width 631: "Test passes if there is a black shape completely contained in the orange box on the page."
9
      RenderBlock {DIV} at (0,37) size 784x0
10
layer at (48,144) size 194x114
11
  RenderBlock (positioned) {DIV} at (48,144) size 194x114 [bgcolor=#FFFFFF] [border: (1px solid #FFA500)]
12
layer at (0,96) size 96x17
13
  RenderBlock (positioned) {DIV} at (0,96) size 96x17
14
    RenderText {#text} at (0,0) size 96x17
15
      text run at (0,0) width 96: "Filler"
- a/LayoutTests/ietestcenter/css3/text/textshadow-005.htm +67 lines
Line 0 a/LayoutTests/ietestcenter/css3/text/textshadow-005.htm_sec1
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
<!--
3
 Internet Explorer Test Pages Copyright © 2012 Microsoft Corporation. All rights reserved.
4
5
 Redistribution and use in source and binary forms, with or without modification,
6
 are permitted provided that the following conditions are met:
7
8
 Redistributions of source code must retain the above copyright notice, this list of
9
 conditions and the following disclaimer.
10
11
 Redistributions in binary form must reproduce the above copyright notice, this list of
12
 conditions and the following disclaimer in the documentation and/or other materials
13
 provided with the distribution.
14
15
 Neither the name of the Microsoft Corporation nor the names of its contributors may be
16
 used to endorse or promote products derived from this software without specific prior
17
 written permission.
18
19
 THIS SOFTWARE IS PROVIDED BY MICROSOFT CORPORATION "AS IS" AND ANY EXPRESS OR IMPLIED
20
 WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
21
 FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL MICROSOFT CORPORATION
22
 BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23
 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24
 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
25
 OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
26
 OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27
 POSSIBILITY OF SUCH DAMAGE.
28
-->
29
<html xmlns="http://www.w3.org/1999/xhtml">
30
    <head>
31
        <title>CSS Test: The 'text-shadow' property with spread setting of '96px'</title>
32
        <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
33
        <link rel="help" href="http://www.w3.org/TR/css3-text/#text-shadow" />
34
        <meta name="flags" content="" />
35
        <meta name="assert" content="The 'text-shadow' property supports a spread setting set to '96px'." />
36
        <style type="text/css">
37
            div
38
            {
39
                font-family: Ahem;
40
            }
41
            #test
42
            {
43
                left: 0;
44
                position: absolute;
45
                text-shadow: black 96px 96px 0px 96px;
46
                top: 96px;
47
            }
48
            #base
49
            {
50
                background: white;
51
                border: 1px solid orange;
52
                height: 1em;
53
                left: 48px;
54
                padding: 48px;
55
                position: absolute;
56
                top: 144px;
57
                width: 6em;
58
            }
59
        </style>
60
    </head>
61
    <body>
62
        <p>Test passes if there is a black shape completely contained in the orange box on the page.</p>
63
        <div id="base"></div>
64
        <div id="test"> Filler</div>
65
        <div></div>
66
    </body>
67
</html>
- a/LayoutTests/ietestcenter/css3/text/textshadow-006-expected.txt +12 lines
Line 0 a/LayoutTests/ietestcenter/css3/text/textshadow-006-expected.txt_sec1
1
layer at (0,0) size 800x600
2
  RenderView at (0,0) size 800x600
3
layer at (0,0) size 800x82
4
  RenderBlock {HTML} at (0,0) size 800x82
5
    RenderBody {BODY} at (8,16) size 784x58
6
      RenderBlock {P} at (0,0) size 784x21
7
        RenderText {#text} at (0,0) size 341x21
8
          text run at (0,0) width 341: "Test passes if there is green visible on the page."
9
      RenderBlock {DIV} at (0,37) size 784x21
10
        RenderText {#text} at (0,0) size 71x21
11
          text run at (0,0) width 71: "Filler Text"
12
      RenderBlock {DIV} at (0,58) size 784x0
- a/LayoutTests/ietestcenter/css3/text/textshadow-006.htm +56 lines
Line 0 a/LayoutTests/ietestcenter/css3/text/textshadow-006.htm_sec1
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
<!--
3
 Internet Explorer Test Pages Copyright © 2012 Microsoft Corporation. All rights reserved.
4
5
 Redistribution and use in source and binary forms, with or without modification,
6
 are permitted provided that the following conditions are met:
7
8
 Redistributions of source code must retain the above copyright notice, this list of
9
 conditions and the following disclaimer.
10
11
 Redistributions in binary form must reproduce the above copyright notice, this list of
12
 conditions and the following disclaimer in the documentation and/or other materials
13
 provided with the distribution.
14
15
 Neither the name of the Microsoft Corporation nor the names of its contributors may be
16
 used to endorse or promote products derived from this software without specific prior
17
 written permission.
18
19
 THIS SOFTWARE IS PROVIDED BY MICROSOFT CORPORATION "AS IS" AND ANY EXPRESS OR IMPLIED
20
 WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
21
 FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL MICROSOFT CORPORATION
22
 BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23
 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24
 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
25
 OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
26
 OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27
 POSSIBILITY OF SUCH DAMAGE.
28
-->
29
<html xmlns="http://www.w3.org/1999/xhtml">
30
    <head>
31
        <title>CSS Test: The 'text-shadow' property set via OM</title>
32
        <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
33
        <link rel="help" href="http://www.w3.org/TR/css3-text/#text-shadow" />
34
        <meta name="flags" content="" />
35
        <meta name="assert" content="Setting the 'text-shadow' property via the OM is supported." />
36
        <style type="text/css">        
37
        </style>
38
    </head>
39
    <body>
40
        <p>Test passes if there is green visible on the page.</p>
41
        <div id="test">Filler Text</div>
42
        <div>
43
        </div>
44
        <script type="text/javascript">
45
            try
46
             {
47
                var elem = document.getElementById("test");
48
                elem.style.textShadow = "green 96px 96px";
49
            }
50
            catch (ex) 
51
            {
52
                alert("FAIL", " ERROR: " + ex.message);
53
            }
54
        </script>
55
    </body>
56
</html>
- a/LayoutTests/ietestcenter/css3/text/textshadow-007-expected.txt +14 lines
Line 0 a/LayoutTests/ietestcenter/css3/text/textshadow-007-expected.txt_sec1
1
layer at (0,0) size 800x600
2
  RenderView at (0,0) size 800x600
3
layer at (0,0) size 800x53
4
  RenderBlock {HTML} at (0,0) size 800x53
5
    RenderBody {BODY} at (8,16) size 784x21
6
      RenderBlock {P} at (0,0) size 784x21
7
        RenderText {#text} at (0,0) size 345x21
8
          text run at (0,0) width 345: "Test passes if there is no red visible on the page."
9
layer at (96,192) size 96x16
10
  RenderBlock (positioned) {DIV} at (96,192) size 96x16 [bgcolor=#FF0000]
11
layer at (0,96) size 96x17
12
  RenderBlock (positioned) {DIV} at (0,96) size 96x17
13
    RenderText {#text} at (0,0) size 96x17
14
      text run at (0,0) width 96: "Filler"
- a/LayoutTests/ietestcenter/css3/text/textshadow-007.htm +64 lines
Line 0 a/LayoutTests/ietestcenter/css3/text/textshadow-007.htm_sec1
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
<!--
3
 Internet Explorer Test Pages Copyright © 2012 Microsoft Corporation. All rights reserved.
4
5
 Redistribution and use in source and binary forms, with or without modification,
6
 are permitted provided that the following conditions are met:
7
8
 Redistributions of source code must retain the above copyright notice, this list of
9
 conditions and the following disclaimer.
10
11
 Redistributions in binary form must reproduce the above copyright notice, this list of
12
 conditions and the following disclaimer in the documentation and/or other materials
13
 provided with the distribution.
14
15
 Neither the name of the Microsoft Corporation nor the names of its contributors may be
16
 used to endorse or promote products derived from this software without specific prior
17
 written permission.
18
19
 THIS SOFTWARE IS PROVIDED BY MICROSOFT CORPORATION "AS IS" AND ANY EXPRESS OR IMPLIED
20
 WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
21
 FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL MICROSOFT CORPORATION
22
 BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23
 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24
 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
25
 OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
26
 OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27
 POSSIBILITY OF SUCH DAMAGE.
28
-->
29
<html xmlns="http://www.w3.org/1999/xhtml">
30
    <head>
31
        <title>CSS Test: The 'text-shadow' property with blur setting of '+0'</title>
32
        <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
33
        <link rel="help" href="http://www.w3.org/TR/css3-text/#text-shadow" />
34
        <meta name="flags" content="" />
35
        <meta name="assert" content="The 'text-shadow' property supports a blur setting set to '+0'." />
36
        <style type="text/css">
37
            div
38
            {
39
                font-family: Ahem;
40
            }
41
            #test
42
            {
43
                left: 0;
44
                position: absolute;
45
                text-shadow: black 96px 96px +0;
46
                top: 96px;
47
            }
48
            #base
49
            {
50
                background: red;
51
                height: 1em;
52
                left: 96px;
53
                position: absolute;
54
                top: 192px;
55
                width: 6em;
56
            }
57
        </style>
58
    </head>
59
    <body>
60
        <p>Test passes if there is no red visible on the page.</p>
61
        <div id="base"></div>
62
        <div id="test">Filler</div>
63
    </body>
64
</html>
- a/LayoutTests/ietestcenter/css3/text/textshadow-008-expected.txt +14 lines
Line 0 a/LayoutTests/ietestcenter/css3/text/textshadow-008-expected.txt_sec1
1
layer at (0,0) size 800x600
2
  RenderView at (0,0) size 800x600
3
layer at (0,0) size 800x53
4
  RenderBlock {HTML} at (0,0) size 800x53
5
    RenderBody {BODY} at (8,16) size 784x21
6
      RenderBlock {P} at (0,0) size 784x21
7
        RenderText {#text} at (0,0) size 345x21
8
          text run at (0,0) width 345: "Test passes if there is no red visible on the page."
9
layer at (96,192) size 96x16
10
  RenderBlock (positioned) {DIV} at (96,192) size 96x16 [bgcolor=#FF0000]
11
layer at (0,96) size 96x17
12
  RenderBlock (positioned) {DIV} at (0,96) size 96x17
13
    RenderText {#text} at (0,0) size 96x17
14
      text run at (0,0) width 96: "Filler"
- a/LayoutTests/ietestcenter/css3/text/textshadow-008.htm +64 lines
Line 0 a/LayoutTests/ietestcenter/css3/text/textshadow-008.htm_sec1
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
<!--
3
 Internet Explorer Test Pages Copyright © 2012 Microsoft Corporation. All rights reserved.
4
5
 Redistribution and use in source and binary forms, with or without modification,
6
 are permitted provided that the following conditions are met:
7
8
 Redistributions of source code must retain the above copyright notice, this list of
9
 conditions and the following disclaimer.
10
11
 Redistributions in binary form must reproduce the above copyright notice, this list of
12
 conditions and the following disclaimer in the documentation and/or other materials
13
 provided with the distribution.
14
15
 Neither the name of the Microsoft Corporation nor the names of its contributors may be
16
 used to endorse or promote products derived from this software without specific prior
17
 written permission.
18
19
 THIS SOFTWARE IS PROVIDED BY MICROSOFT CORPORATION "AS IS" AND ANY EXPRESS OR IMPLIED
20
 WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
21
 FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL MICROSOFT CORPORATION
22
 BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23
 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24
 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
25
 OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
26
 OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27
 POSSIBILITY OF SUCH DAMAGE.
28
-->
29
<html xmlns="http://www.w3.org/1999/xhtml">
30
    <head>
31
        <title>CSS Test: The 'text-shadow' property with spread setting of '+0'</title>
32
        <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
33
        <link rel="help" href="http://www.w3.org/TR/css3-text/#text-shadow" />
34
        <meta name="flags" content="" />
35
        <meta name="assert" content="The 'text-shadow' property supports a spread setting set to '+0'" />
36
        <style type="text/css">
37
            div
38
            {
39
                font-family: Ahem;
40
            }
41
            #test
42
            {
43
                left: 0;
44
                position: absolute;
45
                text-shadow: black 96px 96px 0 +0;
46
                top: 96px;
47
            }
48
            #base
49
            {
50
                background: red;
51
                height: 1em;
52
                left: 96px;
53
                position: absolute;
54
                top: 192px;
55
                width: 6em;
56
            }
57
        </style>
58
    </head>
59
    <body>
60
    <p>Test passes if there is no red visible on the page.</p>
61
        <div id="base"></div>
62
        <div id="test">    Filler</div>
63
    </body>
64
</html>
- a/LayoutTests/ietestcenter/css3/text/textshadow-009-expected.txt +18 lines
Line 0 a/LayoutTests/ietestcenter/css3/text/textshadow-009-expected.txt_sec1
1
layer at (0,0) size 800x600
2
  RenderView at (0,0) size 800x600
3
layer at (0,0) size 800x289
4
  RenderBlock {HTML} at (0,0) size 800x289
5
    RenderBody {BODY} at (8,16) size 784x265
6
      RenderBlock {P} at (0,0) size 784x21
7
        RenderText {#text} at (0,0) size 345x21
8
          text run at (0,0) width 345: "Test passes if there is no red visible on the page."
9
      RenderBlock {DIV} at (0,37) size 784x228
10
        RenderBlock (anonymous) at (0,0) size 784x76
11
          RenderText {#text} at (0,0) size 246x76
12
            text run at (0,0) width 246: "FillerText"
13
        RenderBlock {DIV} at (0,76) size 784x76
14
          RenderText {#text} at (0,0) size 246x76
15
            text run at (0,0) width 246: "FillerText"
16
        RenderBlock (anonymous) at (0,152) size 784x76
17
          RenderText {#text} at (0,0) size 246x76
18
            text run at (0,0) width 246: "FillerText"
- a/LayoutTests/ietestcenter/css3/text/textshadow-009.htm +65 lines
Line 0 a/LayoutTests/ietestcenter/css3/text/textshadow-009.htm_sec1
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
<!--
3
 Internet Explorer Test Pages Copyright © 2012 Microsoft Corporation. All rights reserved.
4
5
 Redistribution and use in source and binary forms, with or without modification,
6
 are permitted provided that the following conditions are met:
7
8
 Redistributions of source code must retain the above copyright notice, this list of
9
 conditions and the following disclaimer.
10
11
 Redistributions in binary form must reproduce the above copyright notice, this list of
12
 conditions and the following disclaimer in the documentation and/or other materials
13
 provided with the distribution.
14
15
 Neither the name of the Microsoft Corporation nor the names of its contributors may be
16
 used to endorse or promote products derived from this software without specific prior
17
 written permission.
18
19
 THIS SOFTWARE IS PROVIDED BY MICROSOFT CORPORATION "AS IS" AND ANY EXPRESS OR IMPLIED
20
 WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
21
 FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL MICROSOFT CORPORATION
22
 BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23
 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24
 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
25
 OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
26
 OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27
 POSSIBILITY OF SUCH DAMAGE.
28
-->
29
<html xmlns="http://www.w3.org/1999/xhtml">
30
    <head>
31
        <title>CSS Test: Default inheritance of the 'text-shadow' property via DOM</title>
32
        <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
33
        <link rel="help" href="http://www.w3.org/TR/css3-text/#text-shadow" />
34
        <meta name="flags" content="dom" />
35
        <meta name="assert" content="Retrieving the 'text-shadow' property value inherited from the parent element is supported." />
36
        <style type="text/css">
37
            div
38
            {
39
                font-size: 60px;
40
            }
41
            #failText
42
            {
43
                color: red;
44
            }
45
        </style>
46
    </head>
47
    <body>
48
        <p>Test passes if there is no red visible on the page.</p>
49
        <div style="text-shadow: 5px 22.5px blue;">FillerText
50
            <div id="test">FillerText</div>
51
            FillerText
52
        </div>
53
        <div id="failText">FAIL</div>
54
        <script type="text/javascript">
55
            var elem = document.getElementById("test");
56
            var expected = "";
57
            var actual = elem.style.textShadow;
58
            if (actual == expected)
59
             {
60
                var failElement = document.getElementById("failText");
61
                failElement.style.display = "none";
62
            }
63
        </script>
64
    </body>
65
</html>
- a/LayoutTests/ietestcenter/css3/text/textshadow-010-expected.txt +14 lines
Line 0 a/LayoutTests/ietestcenter/css3/text/textshadow-010-expected.txt_sec1
1
layer at (0,0) size 800x600
2
  RenderView at (0,0) size 800x600
3
layer at (0,0) size 800x125
4
  RenderBlock {HTML} at (0,0) size 800x125
5
    RenderBody {BODY} at (8,16) size 784x101
6
      RenderBlock {P} at (0,0) size 784x21
7
        RenderText {#text} at (0,0) size 577x21
8
          text run at (0,0) width 577: "Test passes if there are two pairs of black and blue 'Filler Text' instances on page."
9
      RenderBlock {DIV} at (0,37) size 784x32
10
        RenderText {#text} at (673,0) size 111x32
11
          text run at (673,0) width 111: "Filler Text"
12
      RenderBlock {DIV} at (0,69) size 784x32
13
        RenderText {#text} at (673,0) size 111x32
14
          text run at (673,0) width 111: "Filler Text"
- a/LayoutTests/ietestcenter/css3/text/textshadow-010.htm +59 lines
Line 0 a/LayoutTests/ietestcenter/css3/text/textshadow-010.htm_sec1
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
<!--
3
 Internet Explorer Test Pages Copyright © 2012 Microsoft Corporation. All rights reserved.
4
5
 Redistribution and use in source and binary forms, with or without modification,
6
 are permitted provided that the following conditions are met:
7
8
 Redistributions of source code must retain the above copyright notice, this list of
9
 conditions and the following disclaimer.
10
11
 Redistributions in binary form must reproduce the above copyright notice, this list of
12
 conditions and the following disclaimer in the documentation and/or other materials
13
 provided with the distribution.
14
15
 Neither the name of the Microsoft Corporation nor the names of its contributors may be
16
 used to endorse or promote products derived from this software without specific prior
17
 written permission.
18
19
 THIS SOFTWARE IS PROVIDED BY MICROSOFT CORPORATION "AS IS" AND ANY EXPRESS OR IMPLIED
20
 WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
21
 FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL MICROSOFT CORPORATION
22
 BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23
 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24
 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
25
 OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
26
 OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27
 POSSIBILITY OF SUCH DAMAGE.
28
-->
29
<html xmlns="http://www.w3.org/1999/xhtml">
30
    <head>
31
        <title>CSS Test: Applying 'text-shadow' to 'direction' property</title>
32
        <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
33
        <link rel="help" href="" />
34
        <meta name="flags" content="" />
35
        <meta name="assert" content="Applying 'text-shadow' to 'direction' property is supported." />
36
        <style type="text/css">
37
            #test1
38
            {
39
                direction: rtl;
40
                text-shadow: -480px 60px 5px 2px blue;
41
            }
42
            #test2
43
            {
44
                direction: rtl;
45
                text-shadow: -480px 60px 1px blue;
46
            }
47
            div
48
            {
49
                display: block;
50
                font-size: 25px;
51
            }
52
        </style>
53
    </head>
54
    <body>
55
        <p>Test passes if there are two pairs of black and blue 'Filler Text' instances on page.</p>
56
        <div id="test1">Filler Text</div>
57
        <div id="test2">Filler Text</div>
58
    </body>
59
</html>

Return to Bug 81936