https://bugs.webkit.org/show_bug.cgi?id=138581
Reviewed by Simon Fraser.
* fast/text/space-width-expected.html: Added.
* fast/text/space-width.html: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@175843
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2014-11-10 Myles C. Maxfield <mmaxfield@apple.com>
+
+ Test that complext and fast text codepaths measure the same width
+ https://bugs.webkit.org/show_bug.cgi?id=138581
+
+ Reviewed by Simon Fraser.
+
+ * fast/text/space-width-expected.html: Added.
+ * fast/text/space-width.html: Added.
+
2014-11-10 Alexey Proskuryakov <ap@apple.com>
http tests should not use shared temporary files
--- /dev/null
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+ .w {
+ font-size: 36px;
+ font-family: times;
+ border-right: solid black;
+ display: inline-block;
+ }
+</style>
+</head>
+<body>
+This test makes sure that spaces drawn with the complex text codepath
+and the fast text codepath are the same width.
+<div>
+ <div class="w">
+ Woè Woe Woe Woe Woe Woe Woe Woe Woe Woe Woe Woe Woe Woe
+ </div>
+</div>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+ .w {
+ font-size: 36px;
+ font-family: times;
+ border-right: solid black;
+ display: inline-block;
+ }
+</style>
+</head>
+<body>
+This test makes sure that spaces drawn with the complex text codepath
+and the fast text codepath are the same width.
+<div>
+ <div class="w">
+ Woè Woe Woe Woe Woe Woe Woe Woe Woe Woe Woe Woe Woe Woe
+ </div>
+</div>
+</body>
+</html>