2015-10-21 08:52:57 +03:00
|
|
|
<!DOCTYPE HTML>
|
|
|
|
<style>
|
|
|
|
|
|
|
|
div {
|
Bug 1322780 - Part 2: Support unprefixed min-content and max-content. r=mats,emilio
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
--HG--
extra : moz-landing-system : lando
2018-12-18 21:47:37 +03:00
|
|
|
width: min-content;
|
2015-10-21 08:52:57 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<!-- If you delete this div, the bug goes away, because we don't cache
|
|
|
|
vertical-specific data in the rule tree. -->
|
|
|
|
<div style="writing-mode: vertical-rl"></div>
|
|
|
|
|
|
|
|
<div>This should have min-content width (i.e., many line breaks).</div>
|