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

Unified Diff: LayoutTests/fast/borders/border-image-width-numbers-computed-style.html

Issue 54383006: Lift integer restriction on border-image-width and border-image-outset (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@length-relative-die-step-4-4
Patch Set: Rebase and simplify test Created 7 years, 1 month 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/borders/border-image-width-numbers-computed-style.html
diff --git a/LayoutTests/fast/borders/border-image-width-numbers-computed-style.html b/LayoutTests/fast/borders/border-image-width-numbers-computed-style.html
new file mode 100644
index 0000000000000000000000000000000000000000..97f07a3bf675208d90920780fc96737368092ee8
--- /dev/null
+++ b/LayoutTests/fast/borders/border-image-width-numbers-computed-style.html
@@ -0,0 +1,22 @@
+<!doctype html>
+<html>
+<head>
+ <script src="../../resources/js-test.js"></script>
+ <style>
+ .test {
+ border-image-width: 0 5.5 4.4 3.3;
+ border-image-outset: 2.5 0 1.4 1.9;
+ border-style: solid;
+ visibility: hidden;
+ }
+ </style>
+</head>
+<body>
Julien - ping for review 2013/11/12 00:34:00 There should be a description of what you are test
davve 2013/11/12 10:47:06 OK.
+ <div class="test"></div>
+ <script>
+ var elm = getComputedStyle(document.querySelector('.test'));
+ shouldBeEqualToString("elm.borderImageWidth", "0 5.5 4.4 3.3");
+ shouldBeEqualToString("elm.borderImageOutset", "2.5 0 1.4 1.9");
Julien - ping for review 2013/11/12 00:34:00 While this is great to make this test text-only (<
davve 2013/11/12 10:47:06 Re-added my rendering reftest. Not sure how to tes
+ </script>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698