Index: LayoutTests/fast/text/font-variant-width.html |
diff --git a/LayoutTests/fast/text/font-variant-width.html b/LayoutTests/fast/text/font-variant-width.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c3f71c01adf09707e562d7924b67364837692e10 |
--- /dev/null |
+++ b/LayoutTests/fast/text/font-variant-width.html |
@@ -0,0 +1,56 @@ |
+<!DOCTYPE HTML> |
Inactive
2014/05/22 13:59:51
lowercase "html"
h.joshi
2014/05/27 06:25:57
Will make changes.
|
+<html> |
+ <head> |
+ <style type="text/css"> |
Inactive
2014/05/22 13:59:51
Why this style tag?
h.joshi
2014/05/27 06:25:57
Will remove this
|
+ </style> |
+ <style> |
+@font-face { |
+ font-family: CSSHWOrientationTest; |
+ src: url(../../third_party/CSSOrientationTest/CSSHWOrientationTest.ttf) format("truetype"); |
+} |
+ |
+html { |
+ -webkit-writing-mode: vertical-rl; |
+ text-rendering: geometricPrecision; |
+} |
+ |
+p { |
+ font-family: "CSSHWOrientationTest"; |
+ font-size: 24px; |
+ width: 24px; |
+ height: 24px; |
+ margin: 0; |
+ padding: 0; |
+} |
+ |
+.combine { |
+ -webkit-text-combine: horizontal; |
+ font-size: 24px; |
+ line-height: 100%; |
+ margin: 0; |
+ padding: 0px; |
+} |
+ |
+ |
+</style> |
+ <script src="../../resources/testharness.js"></script> |
+ <script src="../../resources/testharnessreport.js"></script> |
+ |
+ <script type="text/javascript"> |
+ setup({ explicit_done: true }); |
+ function load() { |
+ var spanElement = document.getElementById("variantCombine"); |
+ var propertyHeight = document.querySelector('.combine').clientHeight; |
+ |
+ test(function() { |
+ assert_true(( propertyHeight == 24), "Numbers laid out in one line."); |
Inactive
2014/05/22 13:59:51
assert_equals(propertyHeight, 24, "Numbers are lai
h.joshi
2014/05/27 06:25:57
Okey, will make suggested changes.
|
+ }, "Numbers exected to be laid out in one line"); |
Inactive
2014/05/22 13:59:51
s/exected/expected
h.joshi
2014/05/27 06:25:57
Okey, will make suggested changes.
|
+ } |
+ </script> |
+</head> |
Inactive
2014/05/22 13:59:51
bad indentation
h.joshi
2014/05/27 06:25:57
Some issue with my editor, will fix indentation.
|
+ |
+<body onload="load(); done();"> |
Inactive
2014/05/22 13:59:51
bad indentation
h.joshi
2014/05/27 06:25:57
Some issue with my editor, will fix indentation.
|
+ <p id="variantCombine" class="combine">90</p> |
+ <div id="log"></div> |
Inactive
2014/05/22 13:59:51
bad identation
h.joshi
2014/05/27 06:25:57
Some issue with my editor, will fix indentation.
|
+ </body> |
+</html> |