Title: [105207] trunk/LayoutTests
- Revision
- 105207
- Author
- [email protected]
- Date
- 2012-01-17 16:12:40 -0800 (Tue, 17 Jan 2012)
Log Message
Increase test coverage for -webkit-border-image.
https://bugs.webkit.org/show_bug.cgi?id=76473
Reviewed by Tony Chang.
Make sure we also set the width of the border in the shorthand. It will help
in the future to remove CSSBorderImageValue class without breaking this property.
* fast/css/getComputedStyle/getComputedStyle-border-image-expected.txt:
* fast/css/getComputedStyle/getComputedStyle-border-image.html:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (105206 => 105207)
--- trunk/LayoutTests/ChangeLog 2012-01-18 00:10:53 UTC (rev 105206)
+++ trunk/LayoutTests/ChangeLog 2012-01-18 00:12:40 UTC (rev 105207)
@@ -1,3 +1,16 @@
+2012-01-17 Alexis Menard <[email protected]>
+
+ Increase test coverage for -webkit-border-image.
+ https://bugs.webkit.org/show_bug.cgi?id=76473
+
+ Reviewed by Tony Chang.
+
+ Make sure we also set the width of the border in the shorthand. It will help
+ in the future to remove CSSBorderImageValue class without breaking this property.
+
+ * fast/css/getComputedStyle/getComputedStyle-border-image-expected.txt:
+ * fast/css/getComputedStyle/getComputedStyle-border-image.html:
+
2012-01-17 James Robinson <[email protected]>
[chromium] Update expectations for line-grid tests and one random svg thing
Modified: trunk/LayoutTests/fast/css/getComputedStyle/getComputedStyle-border-image-expected.txt (105206 => 105207)
--- trunk/LayoutTests/fast/css/getComputedStyle/getComputedStyle-border-image-expected.txt 2012-01-18 00:10:53 UTC (rev 105206)
+++ trunk/LayoutTests/fast/css/getComputedStyle/getComputedStyle-border-image-expected.txt 2012-01-18 00:12:40 UTC (rev 105207)
@@ -15,3 +15,13 @@
getPropertyValue: -webkit-gradient(linear, 0 0, 0 0) 50 fill / 1 / 0px repeat
getPropertyCSSValue: [object CSSValue]
+-webkit-border-image: -webkit-gradient(linear, 0 0, 0 0) 25 25 25 25 / 20 20 20 20 repeat;
+ -webkit-border-image
+ getPropertyValue: -webkit-gradient(linear, 0 0, 0 0) 25 fill / 20 / 0px repeat
+ getPropertyCSSValue: [object CSSValue]
+
+-webkit-border-image: -webkit-gradient(linear, 0 0, 0 0) 50 / 20 stretch stretch;
+ -webkit-border-image
+ getPropertyValue: -webkit-gradient(linear, 0 0, 0 0) 50 fill / 20 / 0px stretch
+ getPropertyCSSValue: [object CSSValue]
+
Modified: trunk/LayoutTests/fast/css/getComputedStyle/getComputedStyle-border-image.html (105206 => 105207)
--- trunk/LayoutTests/fast/css/getComputedStyle/getComputedStyle-border-image.html 2012-01-18 00:10:53 UTC (rev 105206)
+++ trunk/LayoutTests/fast/css/getComputedStyle/getComputedStyle-border-image.html 2012-01-18 00:12:40 UTC (rev 105207)
@@ -5,6 +5,8 @@
#borderImageNone { -webkit-border-image: none }
#borderImageStretch { -webkit-border-image: -webkit-gradient(linear, 0 0, 0 0) 25 25 25 25 stretch stretch; }
#borderImageRepeat { -webkit-border-image: -webkit-gradient(linear, 0 0, 0 0) 50 repeat; }
+ #borderImageWidth { -webkit-border-image: -webkit-gradient(linear, 0 0, 0 0) 25 25 25 25 / 20 20 20 20 repeat; }
+ #borderImageWidth2 { -webkit-border-image: -webkit-gradient(linear, 0 0, 0 0) 50 / 20 stretch stretch; }
</style>
<script type="text/_javascript_">
function log(msg)
@@ -40,6 +42,14 @@
log('');
test('borderImageRepeat', '-webkit-gradient(linear, 0 0, 0 0) 50 repeat');
+
+ log('');
+
+ test('borderImageWidth', '-webkit-gradient(linear, 0 0, 0 0) 25 25 25 25 / 20 20 20 20 repeat');
+
+ log('');
+
+ test('borderImageWidth2', '-webkit-gradient(linear, 0 0, 0 0) 50 / 20 stretch stretch');
}
</script>
</head>
@@ -50,6 +60,7 @@
<div id="borderImageNone"></div>
<div id="borderImageStretch"></div>
<div id="borderImageRepeat"></div>
-
+ <div id="borderImageWidth"></div>
+ <div id="borderImageWidth2"></div>
</body>
</html>
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes