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

Side by Side 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: Re-added reftest to test rendering 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!doctype html>
2 <html>
3 <head>
4 <title>Test that numbers in border-image-{width,outset} are returned correctly </title>
5 <script src="../../resources/js-test.js"></script>
6 <style>
7 .test {
8 border-image-width: 0 5.5 4.4 3.3;
9 border-image-outset: 2.5 0 1.4 1.9;
10 border-style: solid;
11 visibility: hidden;
12 }
13 </style>
14 </head>
15 <body>
16 <div class="test"></div>
17 <script>
18 var elm = getComputedStyle(document.querySelector('.test'));
19 shouldBeEqualToString("elm.borderImageWidth", "0 5.5 4.4 3.3");
20 shouldBeEqualToString("elm.borderImageOutset", "2.5 0 1.4 1.9");
21 </script>
22 </body>
23 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698