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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/css/css-align-3/default-alignment/place-items-shorthand-006.html

Issue 2915773002: Reland of [css-align] Don't resolve 'auto' values for computed style. (Closed)
Patch Set: Applied suggested changes Created 3 years, 6 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <title>CSS Box Alignment: place-items shorthand - Shorthand 'specified' and 'res olved' value</title> 2 <title>CSS Box Alignment: place-items shorthand - Shorthand 'specified' and 'res olved' value</title>
3 <link rel="author" title="Javier Fernandez" href="mailto:jfernandez@igalia.com" /> 3 <link rel="author" title="Javier Fernandez" href="mailto:jfernandez@igalia.com" />
4 <link rel="help" href="http://www.w3.org/TR/css3-align/#place-items-property" /> 4 <link rel="help" href="http://www.w3.org/TR/css3-align/#place-items-property" />
5 <meta name="assert" content="Check the place-items's 'specified' and 'resolved' values serialization." /> 5 <meta name="assert" content="Check the place-items's 'specified' and 'resolved' values serialization." />
6 <script src="/resources/testharness.js"></script> 6 <script src="/resources/testharness.js"></script>
7 <script src="/resources/testharnessreport.js"></script> 7 <script src="/resources/testharnessreport.js"></script>
8 <script src="../resources/alignment-parsing-utils.js"></script> 8 <script src="../resources/alignment-parsing-utils.js"></script>
9 <div id="log"></div> 9 <div id="log"></div>
10 <script> 10 <script>
11 var values = ["normal", "stretch"].concat(selfPositionValues, baselineValues ); 11 var values = ["normal", "stretch"].concat(selfPositionValues, baselineValues );
12 values.forEach(function(alignValue) { 12 values.forEach(function(alignValue) {
13 ["", "auto"].concat(values).forEach(function(justifyValue) { 13 [""].concat(values).forEach(function(justifyValue) {
14 var value = (alignValue + " " + justifyValue).trim(); 14 var value = (alignValue + " " + justifyValue).trim();
15 test(function() { 15 test(function() {
16 checkPlaceShorhand("place-items", alignValue, justifyValue) 16 checkPlaceShorhand("place-items", alignValue, justifyValue)
17 }, "Checking place-items: " + value); 17 }, "Checking place-items: " + value);
18 }); 18 });
19 }); 19 });
20 </script> 20 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698