Support unprefixed min-content and max-content and treat the prefixed version as aliases for 1. width, min-width, max-width if inline-axis is horizontal, and 2. height, min-height, max-height if inline-axis is vertical, and 3. inline-size, min-inline-size, max-inline-size, and 4. flex-basis. Besides, update the test cases to use unprefixed max-content and min-content. Depends on D7535 Differential Revision: https://phabricator.services.mozilla.com/D7536
12 lines
222 B
HTML
12 lines
222 B
HTML
<html style="min-width: max-content;">
|
|
<head>
|
|
</head>
|
|
<body>
|
|
<div>
|
|
<span style="margin: 0 100%; display: inline-block;"></span>
|
|
t
|
|
<div style="float: left">foo</div>
|
|
</div>
|
|
</body>
|
|
</html>
|