[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

hyatt hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 08:10:31 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 7dfaff8fdde4f331ce68f1649462e5c8675d79ca
Author: hyatt <hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Sun Nov 9 23:43:26 2003 +0000

    Add layout test for letter/word spacing bug.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@5434 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/LayoutTests/fast/text/basic/013-expected.txt b/LayoutTests/fast/text/basic/013-expected.txt
new file mode 100644
index 0000000..488a9a1
--- /dev/null
+++ b/LayoutTests/fast/text/basic/013-expected.txt
@@ -0,0 +1,70 @@
+layer at (0,0) size 800x600
+  RenderCanvas at (0,0) size 800x600
+layer at (0,0) size 800x267
+  RenderBlock {HTML} at (0,0) size 800x267
+    RenderBody {BODY} at (8,21) size 784x230
+      RenderBlock {H1} at (0,0) size 784x37
+        RenderText {TEXT} at (0,0) size 529x37
+          text run at (0,0) width 529: "Letter spacing lost for emphasized text"
+      RenderBlock {P} at (0,58) size 784x36
+        RenderText {TEXT} at (0,0) size 281x18
+          text run at (0,0) width 281: "This example demonstrates that text inside a "
+        RenderInline {CODE} at (0,0) size 8x15
+          RenderText {TEXT} at (281,2) size 8x15
+            text run at (281,2) width 8: "b"
+        RenderText {TEXT} at (289,0) size 8x18
+          text run at (289,0) width 8: ", "
+        RenderInline {CODE} at (0,0) size 8x15
+          RenderText {TEXT} at (297,2) size 8x15
+            text run at (297,2) width 8: "i"
+        RenderText {TEXT} at (305,0) size 8x18
+          text run at (305,0) width 8: ", "
+        RenderInline {CODE} at (0,0) size 48x15
+          RenderText {TEXT} at (313,2) size 48x15
+            text run at (313,2) width 48: "strong"
+        RenderText {TEXT} at (361,0) size 21x18
+          text run at (361,0) width 21: " or "
+        RenderInline {CODE} at (0,0) size 16x15
+          RenderText {TEXT} at (382,2) size 16x15
+            text run at (382,2) width 16: "em"
+        RenderText {TEXT} at (398,0) size 110x18
+          text run at (398,0) width 110: " element loses its "
+        RenderInline {CODE} at (0,0) size 112x15
+          RenderText {TEXT} at (508,2) size 112x15
+            text run at (508,2) width 112: "letter-spacing"
+        RenderText {TEXT} at (620,0) size 781x36
+          text run at (620,0) width 161: " CSS attribute that should"
+          text run at (0,18) width 296: "be inherited. This was discovered in Safari 1.0."
+      RenderBlock {DIV} at (0,110) size 784x120
+        RenderBlock {P} at (0,0) size 784x18
+          RenderText {TEXT} at (0,0) size 122x18
+            text run at (0,0) width 122: "Text inside "
+          RenderInline {B} at (0,0) size 46x18
+            RenderText {TEXT} at (122,0) size 46x18
+              text run at (122,0) width 46: "bold"
+          RenderText {TEXT} at (168,0) size 93x18
+            text run at (168,0) width 93: " element."
+        RenderBlock {P} at (0,34) size 784x18
+          RenderText {TEXT} at (0,0) size 122x18
+            text run at (0,0) width 122: "Text inside "
+          RenderInline {STRONG} at (0,0) size 67x18
+            RenderText {TEXT} at (122,0) size 67x18
+              text run at (122,0) width 67: "strong"
+          RenderText {TEXT} at (189,0) size 93x18
+            text run at (189,0) width 93: " element."
+        RenderBlock {P} at (0,68) size 784x18
+          RenderText {TEXT} at (0,0) size 122x18
+            text run at (0,0) width 122: "Text inside "
+          RenderInline {I} at (0,0) size 55x18
+            RenderText {TEXT} at (122,0) size 55x18
+              text run at (122,0) width 55: "italic"
+          RenderText {TEXT} at (177,0) size 93x18
+            text run at (177,0) width 93: " element."
+        RenderBlock {P} at (0,102) size 784x18
+          RenderText {TEXT} at (0,0) size 122x18
+            text run at (0,0) width 122: "Text inside "
+          RenderInline {EM} at (0,0) size 91x18
+            RenderText {TEXT} at (122,0) size 91x18
+              text run at (122,0) width 91: "emphasis"
+          RenderText {TEXT} at (213,0) size 93x18
+            text run at (213,0) width 93: " element."
diff --git a/LayoutTests/fast/text/basic/013.html b/LayoutTests/fast/text/basic/013.html
new file mode 100644
index 0000000..c9aa97e
--- /dev/null
+++ b/LayoutTests/fast/text/basic/013.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+  <head>
+    <meta http-equiv="content-type" content="text/html;charset=ISO-8859-1" />
+
+    <title>Letter spacing lost for emphased text</title>
+  </head>
+
+  <body>
+    <h1>Letter spacing lost for emphasized text</h1>
+
+    <p>This example demonstrates that text inside a <code>b</code>, <code>i</code>, <code>strong</code> or <code>em</code> element loses its <code>letter-spacing</code> CSS attribute that should be inherited. This was discovered in Safari 1.0.</p>
+
+    <div style="letter-spacing: 0.3em">
+      <p>Text inside <b>bold</b> element.</p>
+
+      <p>Text inside <strong>strong</strong> element.</p>
+
+      <p>Text inside <i>italic</i> element.</p>
+
+      <p>Text inside <em>emphasis</em> element.</p>
+    </div>
+  </body>
+</html>
+

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list