Fixed tts-1875 to move 11 TCs from delta to tct-text-css3-tests
authorCui, Jieqiong <jieqiongx.cui@intel.com>
Tue, 13 Aug 2013 08:46:58 +0000 (16:46 +0800)
committerwanmingx.lin <wanmingx.lin@intel.com>
Tue, 13 Aug 2013 09:36:06 +0000 (17:36 +0800)
Signed-off-by: Cui, Jieqiong <jieqiongx.cui@intel.com>
12 files changed:
tct-text-css3-tests/tests.xml
tct-text-css3-tests/text/CSS3TextEffects_hyphens_auto.html [new file with mode: 0644]
tct-text-css3-tests/text/CSS3TextEffects_letter-spacing_initial_value.html [new file with mode: 0644]
tct-text-css3-tests/text/CSS3TextEffects_line-break_normal.html [new file with mode: 0644]
tct-text-css3-tests/text/CSS3TextEffects_overflow-wrap_normal.html [new file with mode: 0644]
tct-text-css3-tests/text/CSS3TextEffects_tab-size_initial.html [new file with mode: 0644]
tct-text-css3-tests/text/CSS3TextEffects_text-align_justify.html [new file with mode: 0644]
tct-text-css3-tests/text/CSS3TextEffects_text-align_right.html [new file with mode: 0644]
tct-text-css3-tests/text/CSS3TextEffects_text-indent_percentage.html [new file with mode: 0644]
tct-text-css3-tests/text/CSS3TextEffects_text-transform_initial_value.html [new file with mode: 0644]
tct-text-css3-tests/text/CSS3TextEffects_word-break_initial_value.html [new file with mode: 0644]
tct-text-css3-tests/text/CSS3TextEffects_word-wrap_initial_value.html [new file with mode: 0644]

index e047dfbc93d68a75130e851d9b388b8d7c771734..f7ffd22a1fb93221d1fa3071ffd52bf6bdddf8d1 100644 (file)
           </spec>
         </specs>
       </testcase>
+      <testcase purpose="To check  if the element hyphens test expected 'auto'" type="compliance" status="approved" component="WebAPI/DOM, Forms and Styles/CSS Text Module Level 3 (Partial)" execution_type="auto" priority="P2" id="CSS3TextEffects_hyphens_auto">
+        <description>
+          <steps>
+            <step order="1">
+              <step_desc>To check  if the element hyphens test expected 'auto'</step_desc>
+              <expected>Pass</expected>
+            </step>
+          </steps>
+          <test_script_entry>/opt/tct-text-css3-tests/text/CSS3TextEffects_hyphens_auto.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion element_type="property" element_name="hyphens" interface="CSS" specification="CSS Text Module Level 3 (Partial)" section="DOM, Forms and Styles" category="Tizen W3C API Specifications"/>
+            <spec_url>http://www.w3.org/TR/2012/WD-css3-text-20121113/#hyphens0</spec_url>
+            <spec_statement/>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check  if the 'letter-spacing' initial value is 'normal'" type="compliance" status="approved" component="WebAPI/DOM, Forms and Styles/CSS Text Module Level 3 (Partial)" execution_type="auto" priority="P2" id="CSS3TextEffects_letter-spacing_initial_value">
+        <description>
+          <steps>
+            <step order="1">
+              <step_desc>Check  if the 'letter-spacing' initial value is 'normal'</step_desc>
+              <expected>Pass</expected>
+            </step>
+          </steps>
+          <test_script_entry>/opt/tct-text-css3-tests/text/CSS3TextEffects_letter-spacing_initial_value.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion element_type="property" element_name="letter-spacing" interface="CSS" specification="CSS Text Module Level 3 (Partial)" section="DOM, Forms and Styles" category="Tizen W3C API Specifications"/>
+            <spec_url>http://www.w3.org/TR/2012/WD-css3-text-20121113/#letter-spacing0</spec_url>
+            <spec_statement/>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="To check  if the element line-break test expected 'normal'" type="compliance" status="approved" component="WebAPI/DOM, Forms and Styles/CSS Text Module Level 3 (Partial)" execution_type="auto" priority="P2" id="CSS3TextEffects_line-break_normal">
+        <description>
+          <steps>
+            <step order="1">
+              <step_desc>Use WRT to visit the "line-break" to check if the elementline-break test expected "normal</step_desc>
+              <expected>Pass</expected>
+            </step>
+          </steps>
+          <test_script_entry>/opt/tct-text-css3-tests/text/CSS3TextEffects_line-break_normal.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion element_type="property" element_name="line-break" interface="CSS" specification="CSS Text Module Level 3 (Partial)" section="DOM, Forms and Styles" category="Tizen W3C API Specifications"/>
+            <spec_url>http://www.w3.org/TR/2012/WD-css3-text-20121113/#line-break</spec_url>
+            <spec_statement/>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="To check  if the element overflow-wrap test expected 'normal'" type="compliance" status="approved" component="WebAPI/DOM, Forms and Styles/CSS Text Module Level 3 (Partial)" execution_type="auto" priority="P2" id="CSS3TextEffects_overflow-wrap_normal">
+        <description>
+          <steps>
+            <step order="1">
+              <step_desc>Use WRT to visit the "overflow-wtap" to check if the element overflow-wtap test expected "none</step_desc>
+              <expected>The result is pass</expected>
+            </step>
+          </steps>
+          <test_script_entry>/opt/tct-text-css3-tests/text/CSS3TextEffects_overflow-wrap_normal.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion element_type="property" element_name="word-break" interface="CSS" specification="CSS Text Module Level 3 (Partial)" section="DOM, Forms and Styles" category="Tizen W3C API Specifications"/>
+            <spec_url>http://www.w3.org/TR/2012/WD-css3-text-20121113/#overflow-wrap0</spec_url>
+            <spec_statement/>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="To check  if the element tab-size test expected '8'" type="compliance" status="approved" component="WebAPI/DOM, Forms and Styles/CSS Text Module Level 3 (Partial)" execution_type="auto" priority="P2" id="CSS3TextEffects_tab-size_initial">
+        <description>
+          <steps>
+            <step order="1">
+              <step_desc>To check  if the element tab-size test expected '8'</step_desc>
+              <expected>Pass</expected>
+            </step>
+          </steps>
+          <test_script_entry>/opt/tct-text-css3-tests/text/CSS3TextEffects_tab-size_initial.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion element_type="property" element_name="tab-size" interface="CSS" specification="CSS Text Module Level 3 (Partial)" section="DOM, Forms and Styles" category="Tizen W3C API Specifications"/>
+            <spec_url>http://www.w3.org/TR/2012/WD-css3-text-20121113/#tab-size1</spec_url>
+            <spec_statement/>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check  if the element word-break test expected 'normal'" type="compliance" status="approved" component="WebAPI/DOM, Forms and Styles/CSS Text Module Level 3 (Partial)" execution_type="auto" priority="P2" id="CSS3TextEffects_word-break_initial_value">
+        <description>
+          <steps>
+            <step order="1">
+              <step_desc>Check  if the element word-break test expected 'normal'</step_desc>
+              <expected>The result is pass</expected>
+            </step>
+          </steps>
+          <test_script_entry>/opt/tct-text-css3-tests/text/CSS3TextEffects_word-break_initial_value.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion element_type="property" element_name="word-break" interface="CSS" specification="CSS Text Module Level 3 (Partial)" section="DOM, Forms and Styles" category="Tizen W3C API Specifications"/>
+            <spec_url>http://www.w3.org/TR/2012/WD-css3-text-20121113/#word-break</spec_url>
+            <spec_statement/>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if the initial value of word-wrap is 'normal' on test div" type="compliance" status="approved" component="WebAPI/DOM, Forms and Styles/CSS Text Module Level 3 (Partial)" execution_type="auto" priority="P2" id="CSS3TextEffects_word-wrap_initial_value">
+        <description>
+          <steps>
+            <step order="1">
+              <step_desc>Check if the initial value of word-wrap is 'normal' on test div</step_desc>
+              <expected>Pass</expected>
+            </step>
+          </steps>
+          <test_script_entry>/opt/tct-text-css3-tests/text/CSS3TextEffects_word-wrap_initial_value.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion element_type="property" element_name="word-wrap" interface="CSS" specification="CSS Text Module Level 3 (Partial)" section="DOM, Forms and Styles" category="Tizen W3C API Specifications"/>
+            <spec_url>http://www.w3.org/TR/2012/WD-css3-text-20121113/#word-wrap0</spec_url>
+            <spec_statement/>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if the inline contents are aligned to the right edge of the line box" type="compliance" status="approved" component="WebAPI/DOM, Forms and Styles/CSS Text Module Level 3 (Partial)" execution_type="auto" priority="P2" id="CSS3TextEffects_text-align_right">
+        <description>
+          <steps>
+            <step order="1">
+              <step_desc>Use WRT to visit the "text-align" to check if the element text-align test expected "right"</step_desc>
+              <expected>Pass</expected>
+            </step>
+          </steps>
+          <test_script_entry>/opt/tct-text-css3-tests/text/CSS3TextEffects_text-align_right.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion element_type="property" element_name="text-align" interface="CSS" specification="CSS Text Module Level 3 (Partial)" section="DOM, Forms and Styles" category="Tizen W3C API Specifications"/>
+            <spec_url>http://www.w3.org/TR/2012/WD-css3-text-20121113/#text-align0</spec_url>
+            <spec_statement/>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if the initial value of text-transform  is 'none' on test div" type="compliance" status="approved" component="WebAPI/DOM, Forms and Styles/CSS Text Module Level 3 (Partial)" execution_type="auto" priority="P2" id="CSS3TextEffects_text-transform_initial_value">
+        <description>
+          <steps>
+            <step order="1">
+              <step_desc>Check if the initial value of text-transform  is 'none' on test div</step_desc>
+              <expected>Pass</expected>
+            </step>
+          </steps>
+          <test_script_entry>/opt/tct-text-css3-tests/text/CSS3TextEffects_text-transform_initial_value.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion element_type="property" element_name="text-transform" interface="CSS" specification="CSS Text Module Level 3 (Partial)" section="DOM, Forms and Styles" category="Tizen W3C API Specifications"/>
+            <spec_url>http://www.w3.org/TR/2012/WD-css3-text-20121113/#text-transform</spec_url>
+            <spec_statement/>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if the element text-align test expected 'justify'" type="compliance" status="approved" component="WebAPI/DOM, Forms and Styles/CSS Text Module Level 3 (Partial)" execution_type="auto" priority="P2" id="CSS3TextEffects_text-align_justify">
+        <description>
+          <steps>
+            <step order="1">
+              <step_desc>Check if the element text-align test expected 'justify'</step_desc>
+              <expected>Pass</expected>
+            </step>
+          </steps>
+          <test_script_entry>/opt/tct-text-css3-tests/text/CSS3TextEffects_text-align_justify.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion element_type="property" element_name="text-align" interface="CSS" specification="CSS Text Module Level 3 (Partial)" section="DOM, Forms and Styles" category="Tizen W3C API Specifications"/>
+            <spec_url>http://www.w3.org/TR/2012/WD-css3-text-20121113/#text-align0</spec_url>
+            <spec_statement/>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if the text-indent value is percentage" type="compliance" status="approved" component="WebAPI/DOM, Forms and Styles/CSS Text Module Level 3 (Partial)" execution_type="auto" priority="P2" id="CSS3TextEffects_text-indent_percentage">
+        <description>
+          <steps>
+            <step order="1">
+              <step_desc>Use WRT to visit the "text-indent" to check if the element text-indent  test expected "80%"</step_desc>
+              <expected>Pass</expected>
+            </step>
+          </steps>
+          <test_script_entry>/opt/tct-text-css3-tests/text/CSS3TextEffects_text-indent_percentage.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion element_type="property" element_name="text-indent" interface="CSS" specification="CSS Text Module Level 3 (Partial)" section="DOM, Forms and Styles" category="Tizen W3C API Specifications"/>
+            <spec_url>http://www.w3.org/TR/2012/WD-css3-text-20121113/#text-indent0</spec_url>
+            <spec_statement/>
+          </spec>
+        </specs>
+      </testcase>
     </set>
   </suite>
 </test_definition>
diff --git a/tct-text-css3-tests/text/CSS3TextEffects_hyphens_auto.html b/tct-text-css3-tests/text/CSS3TextEffects_hyphens_auto.html
new file mode 100644 (file)
index 0000000..bee6f58
--- /dev/null
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original 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 Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL 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 INTEL 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.
+
+Authors:
+         Liu, Jinfeng <jinfengx.liu@intel.com>
+         Cui, Jieqiong <jieqiongx.cui@intel.com>
+
+-->
+
+<html>
+  <head>
+    <title>CSS3 Text Effects Test: CSS3TextEffects_hyphens_auto</title>
+    <link rel="author" title="Intel" href="http://www.intel.com" />
+    <link rel="help" href="http://www.w3.org/TR/2012/WD-css3-text-20121113/#hyphens0" />
+    <meta name="flags" content="" />
+    <meta name="assert" content="To check  if the element hyphens test expected 'auto'" />
+    <script src="support/user.js"></script>
+    <script src="../resources/testharness.js"></script>
+    <script src="../resources/testharnessreport.js"></script>
+  </head>
+  <body>
+    <div id="log"></div>
+    <div id="test"></div>
+    <script>
+        test(function () {
+            var div = document.querySelector("#test");
+            div.style[headProp("hyphens")] = "auto";
+            var text = GetCurrentStyle("hyphens");
+            assert_equals(text, "auto", "The hyphens value");
+        }, document.title);
+    </script>
+  </body>
+</html>
diff --git a/tct-text-css3-tests/text/CSS3TextEffects_letter-spacing_initial_value.html b/tct-text-css3-tests/text/CSS3TextEffects_letter-spacing_initial_value.html
new file mode 100644 (file)
index 0000000..695d171
--- /dev/null
@@ -0,0 +1,56 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original 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 Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL 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 INTEL 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.
+
+Authors:
+         Liu, Jinfeng <jinfengx.liu@intel.com>
+         Cui, Jieqiong <jieqiongx.cui@intel.com>
+
+-->
+
+<html>
+  <head>
+    <title>CSS3 Text Effects Test: CSS3TextEffects_letter-spacing_initial_value</title>
+    <link rel="author" title="Intel" href="http://www.intel.com" />
+    <link rel="help" href="http://www.w3.org/TR/2012/WD-css3-text-20121113/#letter-spacing0" />
+    <meta name="flags" content="" />
+    <meta name="assert" content="Check  if the 'letter-spacing' initial value is 'normal'" />
+    <script src="support/user.js"></script>
+    <script src="../resources/testharness.js"></script>
+    <script src="../resources/testharnessreport.js"></script>
+  </head>
+  <body>
+    <div id="log"></div>
+    <div id="test"></div>
+    <script>
+        test(function(){
+            var div = document.querySelector("#test");
+            var text = GetCurrentStyle("letterSpacing");
+            assert_equals(text, "normal", "The letter-spacing attribute initial value");
+        }, document.title);
+    </script>
+  </body>
+</html>
diff --git a/tct-text-css3-tests/text/CSS3TextEffects_line-break_normal.html b/tct-text-css3-tests/text/CSS3TextEffects_line-break_normal.html
new file mode 100644 (file)
index 0000000..ae26506
--- /dev/null
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original 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 Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL 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 INTEL 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.
+
+Authors:
+         Liu, Jinfeng <jinfengx.liu@intel.com>
+         Cui, Jieqiong <jieqiongx.cui@intel.com>
+
+-->
+
+<html>
+  <head>
+    <title>CSS3 Text Effects Test: CSS3TextEffects_line-break_normal</title>
+    <link rel="author" title="Intel" href="http://www.intel.com" />
+    <link rel="help" href="http://www.w3.org/TR/2012/WD-css3-text-20121113/#line-break" />
+    <meta name="flags" content="" />
+    <meta name="assert" content="To check  if the element line-break test expected 'normal'" />
+    <script src="support/user.js"></script>
+    <script src="../resources/testharness.js"></script>
+    <script src="../resources/testharnessreport.js"></script>
+  </head>
+  <body>
+    <div id="log"></div>
+    <p id="test"></p>
+    <script>
+        test(function(){
+            var div = document.querySelector("#test");
+            div.style[headProp("lineBreak")] = "normal";
+            var text = GetCurrentStyle("lineBreak");
+            assert_equals(text, "normal", "The line-break attribute value");
+        }, document.title);
+    </script>
+  </body>
+</html>
diff --git a/tct-text-css3-tests/text/CSS3TextEffects_overflow-wrap_normal.html b/tct-text-css3-tests/text/CSS3TextEffects_overflow-wrap_normal.html
new file mode 100644 (file)
index 0000000..99b3cef
--- /dev/null
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original 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 Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL 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 INTEL 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.
+
+Authors:
+         Liu, Jinfeng <jinfengx.liu@intel.com>
+         Cui, Jieqiong <jieqiongx.cui@intel.com>
+
+-->
+
+<html>
+  <head>
+    <title>CSS3 Text Effects Test: CSS3TextEffects_overflow-wrap_normal</title>
+    <link rel="author" title="Intel" href="http://www.intel.com" />
+    <link rel="help" href="http://www.w3.org/TR/2012/WD-css3-text-20121113/#overflow-wrap0" />
+    <meta name="flags" content="" />
+    <meta name="assert" content="To check  if the element overflow-wrap test expected 'normal'" />
+    <script src="support/user.js"></script>
+    <script src="../resources/testharness.js"></script>
+    <script src="../resources/testharnessreport.js"></script>
+  </head>
+  <body>
+    <div id="log"></div>
+    <div id="test"></div>
+    <script>
+        test(function(){
+            var div = document.querySelector("#test");
+            div.style[headProp("overflowWrap")] = "normal";
+            var text = GetCurrentStyle("overflowWrap");
+            assert_equals(text, "normal", "The overflow-wrap value");
+        }, document.title);
+    </script>
+  </body>
+</html>
diff --git a/tct-text-css3-tests/text/CSS3TextEffects_tab-size_initial.html b/tct-text-css3-tests/text/CSS3TextEffects_tab-size_initial.html
new file mode 100644 (file)
index 0000000..4941123
--- /dev/null
@@ -0,0 +1,55 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original 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 Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL 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 INTEL 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.
+
+Authors:
+         Liu, Jinfeng <jinfengx.liu@intel.com>
+         Cui, Jieqiong <jieqiongx.cui@intel.com>
+
+-->
+
+<html>
+  <head>
+    <title>CSS3 Text Effects Test: CSS3TextEffects_tab-size_initial</title>
+    <link rel="author" title="Intel" href="http://www.intel.com" />
+    <link rel="help" href="http://www.w3.org/TR/2012/WD-css3-text-20121113/#tab-size1" />
+    <meta name="flags" content="" />
+    <meta name="assert" content="To check  if the element tab-size test expected '8'" />
+    <script src="support/user.js"></script>
+    <script src="../resources/testharness.js"></script>
+    <script src="../resources/testharnessreport.js"></script>
+  </head>
+  <body>
+    <div id="log"></div>
+    <p id="test">CSS3 tab-size Tests</p>
+    <script>
+        test(function(){
+            var transform = GetCurrentStyle("tab-size");
+            assert_equals(transform, "8", "The tab-size value");
+        }, document.title);
+    </script>
+  </body>
+</html>
diff --git a/tct-text-css3-tests/text/CSS3TextEffects_text-align_justify.html b/tct-text-css3-tests/text/CSS3TextEffects_text-align_justify.html
new file mode 100644 (file)
index 0000000..103c35b
--- /dev/null
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original 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 Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL 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 INTEL 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.
+
+Authors:
+         Liu, Jinfeng <jinfengx.liu@intel.com>
+         Cui, Jieqiong <jieqiongx.cui@intel.com>
+
+-->
+
+<html>
+  <head>
+    <title>CSS3 Text Effects Test: CSS3TextEffects_text-align_justify</title>
+    <link rel="author" title="Intel" href="http://www.intel.com" />
+    <link rel="help" href="http://www.w3.org/TR/2012/WD-css3-text-20121113/#text-align0" />
+    <meta name="flags" content="" />
+    <meta name="assert" content="Check if the element text-align test expected 'justify'" />
+    <script src="support/user.js"></script>
+    <script src="../resources/testharness.js"></script>
+    <script src="../resources/testharnessreport.js"></script>
+  </head>
+  <body>
+    <div id="log"></div>
+    <p id="test"></p>
+    <script>
+        test(function(){
+            var div = document.querySelector("#test");
+            div.style[headProp("textAlign")] = "justify";
+            var text = GetCurrentStyle("textAlign");
+            assert_equals(text, "justify", "The text-align attribute value");
+        }, document.title);
+    </script>
+  </body>
+</html>
diff --git a/tct-text-css3-tests/text/CSS3TextEffects_text-align_right.html b/tct-text-css3-tests/text/CSS3TextEffects_text-align_right.html
new file mode 100644 (file)
index 0000000..081fb34
--- /dev/null
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original 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 Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL 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 INTEL 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.
+
+Authors:
+         Liu, Jinfeng <jinfengx.liu@intel.com>
+         Cui, Jieqiong <jieqiongx.cui@intel.com>
+
+-->
+
+<html>
+  <head>
+    <title>CSS3 Text Effects Test: CSS3TextEffects_text-align_right</title>
+    <link rel="author" title="Intel" href="http://www.intel.com" />
+    <link rel="help" href="http://www.w3.org/TR/2012/WD-css3-text-20121113/#text-align0" />
+    <meta name="flags" content="" />
+    <meta name="assert" content="Check if the inline contents are aligned to the right edge of the line box" />
+    <script src="../resources/testharness.js"></script>
+    <script src="../resources/testharnessreport.js"></script>
+    <script src="support/user.js"></script>
+  </head>
+  <body>
+    <div id="log"></div>
+    <div id="test"></div>
+    <script>
+        test(function () {
+            var div = document.querySelector("#test");
+            div.style[headProp("textAlign")] = "right";
+            var text = GetCurrentStyle("textAlign");
+            assert_equals(text, "right", "The text-align value");
+        }, document.title);
+    </script>
+  </body>
+</html>
diff --git a/tct-text-css3-tests/text/CSS3TextEffects_text-indent_percentage.html b/tct-text-css3-tests/text/CSS3TextEffects_text-indent_percentage.html
new file mode 100644 (file)
index 0000000..34dcfa3
--- /dev/null
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original 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 Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL 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 INTEL 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.
+
+Authors:
+         Liu, Jinfeng <jinfengx.liu@intel.com>
+         Cui, Jieqiong <jieqiongx.cui@intel.com>
+
+-->
+
+<html>
+  <head>
+    <title>CSS3 Text Effects Test: CSS3TextEffects_text-indent_percentage</title>
+    <link rel="author" title="Intel" href="http://www.intel.com" />
+    <link rel="help" href="http://www.w3.org/TR/2012/WD-css3-text-20121113/#text-indent0" />
+    <meta name="flags" content="" />
+    <meta name="assert" content="Check if the text-indent value is percentage" />
+    <script src="../resources/testharness.js"></script>
+    <script src="../resources/testharnessreport.js"></script>
+    <script src="support/user.js"></script>
+  </head>
+  <body>
+    <div id="log"></div>
+    <div id="test"></div>
+    <script>
+        test(function () {
+            var div = document.querySelector("#test");
+            div.style[headProp("textIndent")] = "80%";
+            var text = GetCurrentStyle("textIndent");
+            assert_equals(text, "80%", "The text-indent value");
+        }, document.title);
+    </script>
+  </body>
+</html>
diff --git a/tct-text-css3-tests/text/CSS3TextEffects_text-transform_initial_value.html b/tct-text-css3-tests/text/CSS3TextEffects_text-transform_initial_value.html
new file mode 100644 (file)
index 0000000..cb3ea46
--- /dev/null
@@ -0,0 +1,56 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original 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 Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL 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 INTEL 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.
+
+Authors:
+         Liu, Jinfeng <jinfengx.liu@intel.com>
+         Cui, Jieqiong <jieqiongx.cui@intel.com>
+
+-->
+
+<html>
+  <head>
+    <title>CSS3 Text Effects Test: CSS3TextEffects_text-transform_initial_value</title>
+    <link rel="author" title="Intel" href="http://www.intel.com" />
+    <link rel="help" href="http://www.w3.org/TR/2012/WD-css3-text-20121113/#text-transform" />
+    <meta name="flags" content="" />
+    <meta name="assert" content="Check if the initial value of text-transform  is 'none' on test div" />
+    <script src="../resources/testharness.js"></script>
+    <script src="../resources/testharnessreport.js"></script>
+    <script src="support/user.js"></script>
+  </head>
+  <body>
+    <div id="log"></div>
+    <div id="test"></div>
+    <script>
+        test(function () {
+            var div = document.querySelector("#test");
+            var text = GetCurrentStyle("textTransform");
+            assert_equals(text, "none", "The text-transform value");
+        }, document.title);
+    </script>
+  </body>
+</html>
diff --git a/tct-text-css3-tests/text/CSS3TextEffects_word-break_initial_value.html b/tct-text-css3-tests/text/CSS3TextEffects_word-break_initial_value.html
new file mode 100644 (file)
index 0000000..9b2d9bc
--- /dev/null
@@ -0,0 +1,56 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original 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 Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL 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 INTEL 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.
+
+Authors:
+         Liu, Jinfeng <jinfengx.liu@intel.com>
+         Cui, Jieqiong <jieqiongx.cui@intel.com>
+
+-->
+
+<html>
+  <head>
+    <title>CSS3 Text Effects Test: CSS3TextEffects_word-break_initial_value</title>
+    <link rel="author" title="Intel" href="http://www.intel.com" />
+    <link rel="help" href="http://www.w3.org/TR/2012/WD-css3-text-20121113/#word-break" />
+    <meta name="flags" content="" />
+    <meta name="assert" content="Check  if the element word-break test expected 'normal'" />
+    <script src="support/user.js"></script>
+    <script src="../resources/testharness.js"></script>
+    <script src="../resources/testharnessreport.js"></script>
+  </head>
+  <body>
+    <div id="log"></div>
+    <p id="test"></p>
+    <script>
+        test(function(){
+            var div = document.querySelector("#test");
+            var text = GetCurrentStyle("wordBreak");
+            assert_equals(text, "normal", "The word-break attribute value");
+        }, document.title);
+    </script>
+  </body>
+</html>
diff --git a/tct-text-css3-tests/text/CSS3TextEffects_word-wrap_initial_value.html b/tct-text-css3-tests/text/CSS3TextEffects_word-wrap_initial_value.html
new file mode 100644 (file)
index 0000000..3e4bf6f
--- /dev/null
@@ -0,0 +1,56 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original 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 Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL 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 INTEL 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.
+
+Authors:
+         Liu, Jinfeng <jinfengx.liu@intel.com>
+         Cui, Jieqiong <jieqiongx.cui@intel.com>
+
+-->
+
+<html>
+  <head>
+    <title>CSS3 Text Effects Test: CSS3TextEffects_word-wrap_initial_value</title>
+    <link rel="author" title="Intel" href="http://www.intel.com" />
+    <link rel="help" href="http://www.w3.org/TR/2012/WD-css3-text-20121113/#word-wrap0" />
+    <meta name="flags" content="" />
+    <meta name="assert" content="Check if the initial value of word-wrap is 'normal' on test div" />
+    <script src="../resources/testharness.js"></script>
+    <script src="../resources/testharnessreport.js"></script>
+    <script src="support/user.js"></script>
+  </head>
+  <body>
+    <div id="log"></div>
+    <div id="test"></div>
+    <script>
+        test(function () {
+            var div = document.querySelector("#test");
+            var text = GetCurrentStyle("wordWrap");
+            assert_equals(text, "normal", "The word-wrap value Test");
+        }, document.title);
+    </script>
+  </body>
+</html>