[SCM] WebKit Debian packaging branch, webkit-1.1, updated. upstream/1.1.19-706-ge5415e9

eric at webkit.org eric at webkit.org
Thu Feb 4 21:27:35 UTC 2010


The following commit has been merged in the webkit-1.1 branch:
commit e220fa8ab51e893a09ea22d261b289fc6b01bf8f
Author: eric at webkit.org <eric at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Mon Jan 25 23:52:43 2010 +0000

    2010-01-25  Kent Tamura  <tkent at chromium.org>
    
            Reviewed by Darin Adler.
    
            Improve portability of select-item-background-clip.html
            https://bugs.webkit.org/show_bug.cgi?id=34072
    
            * fast/forms/select-item-background-clip.html:
              Calculate the pixel height at runtime.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53820 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index 94aa90c..4f194a1 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,13 @@
+2010-01-25  Kent Tamura  <tkent at chromium.org>
+
+        Reviewed by Darin Adler.
+
+        Improve portability of select-item-background-clip.html
+        https://bugs.webkit.org/show_bug.cgi?id=34072
+
+        * fast/forms/select-item-background-clip.html:
+          Calculate the pixel height at runtime.
+
 2010-01-25  Dimitri Glazkov  <dglazkov at chromium.org>
 
         Unreviewed, trivial baseline updates.
diff --git a/LayoutTests/fast/forms/select-item-background-clip.html b/LayoutTests/fast/forms/select-item-background-clip.html
index 8c61c1e..506f0d8 100644
--- a/LayoutTests/fast/forms/select-item-background-clip.html
+++ b/LayoutTests/fast/forms/select-item-background-clip.html
@@ -7,11 +7,15 @@
         Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=12364">http://bugs.webkit.org/show_bug.cgi?id=12364</a>
         REGRESSSION (NativeListBox): Selected option's background is not clipped to the list box</i>.
     </p>
-    <select size="4" style="height: 58px; border: 3px solid blue; padding: 3px;">
+    <select size="4" style="border: 3px solid blue; padding: 3px;" id="sel">
         <option>one</option>
         <option>two</option>
         <option>three</option>
         <option style="background-color: purple;">four</option>
     </select>
-</body>
+<script>
+var sel = document.getElementById('sel');
+var itemHeight = (sel.offsetHeight - 11) / sel.size;
+sel.style.height = (11 + itemHeight * 3 + 5) + 'px';
+</script></body>
 </html>

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list