| Index: LayoutTests/fast/css-intrinsic-dimensions/width-property-value.html
|
| diff --git a/LayoutTests/fast/css-intrinsic-dimensions/width-property-value.html b/LayoutTests/fast/css-intrinsic-dimensions/width-property-value.html
|
| index 96072c1f762f8b7ddc440bdf79ec8025a8828650..79ec4158a5a0c80368ee4c64209556b521f8db50 100644
|
| --- a/LayoutTests/fast/css-intrinsic-dimensions/width-property-value.html
|
| +++ b/LayoutTests/fast/css-intrinsic-dimensions/width-property-value.html
|
| @@ -5,6 +5,9 @@
|
| <div style="width: -webkit-max-content"></div>
|
| <div style="width: -webkit-fill-available"></div>
|
| <div style="width: -webkit-fit-content"></div>
|
| +<div style="width: min-content"></div>
|
| +<div style="width: max-content"></div>
|
| +<div style="width: fit-content"></div>
|
|
|
| <script>
|
| description('Tests that the width keywords are respected by the parser and then returned by the style object. Should output each keyword on a line, and then a bunch of PASS comparisons for dynamic checks.');
|
| @@ -14,14 +17,14 @@
|
| debug(divs[i].style.width);
|
| }
|
|
|
| - var PREFIX = '-webkit-';
|
| - var KEYWORDS = ['min-content', 'max-content', 'fill-available', 'fit-content'];
|
| + var KEYWORDS = ['-webkit-min-content', '-webkit-max-content', '-webkit-fill-available', '-webkit-fit-content',
|
| + 'min-content', 'max-content', 'fit-content'];
|
| var div;
|
|
|
| KEYWORDS.forEach(function(keyword) {
|
| div = document.createElement('div');
|
| - div.style.width = PREFIX + keyword;
|
| - shouldBeEqualToString('div.style.width', PREFIX + keyword);
|
| + div.style.width = keyword;
|
| + shouldBeEqualToString('div.style.width', keyword);
|
| });
|
| </script>
|
|
|
|
|