Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(47)

Unified Diff: LayoutTests/fast/css/border-image-value-grammar-expected.html

Issue 471893002: Support consecutive slash operators for border-image value (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove white spaces Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/css/border-image-value-grammar-expected.html
diff --git a/LayoutTests/fast/css/border-image-value-grammar-expected.html b/LayoutTests/fast/css/border-image-value-grammar-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..78bef35a778d93ca6e33cde08d2161becf51c902
--- /dev/null
+++ b/LayoutTests/fast/css/border-image-value-grammar-expected.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<script>
+function print_output(elem) {
+ style = elem.style;
+ elem.insertAdjacentHTML('BeforeEnd', 'BorderImageSlice: ' + style.borderImageSlice);
+ elem.insertAdjacentHTML('BeforeEnd', '<br>BorderImageOutset: ' + style.borderImageOutset);
+}
+
+document.addEventListener('DOMContentLoaded', function () {
+ var element =document.getElementById('check1');
+ print_output(element);
+
+ element =document.getElementById('check2');
+ print_output(element);
+
+ element =document.getElementById('check3');
+ print_output(element);
rwlbuis 2014/08/21 15:54:25 I think it is preferred to use shouldBe machinery.
je_julie(Not used) 2014/08/22 00:31:39 OK. I'll change to use 'shouldBe'.
+});
+</script>
+<div id="check1" style="border-image-slice: 3; border-image-outset: 2;"></div>
+<div id="check2" style="border-image-slice: 4; border-image-outset: initial;"></div>
+<div id="check3" style="border-image-slice: 1; border-image-outset: 3;"></div>

Powered by Google App Engine
This is Rietveld 408576698