Forum Feature requests

Keyword values for `width`, `height`, `max-*`, and `min-*`

Anas R.
My need for `width`, `height`, `max-*`, and `min-*` keywords emerged when I started using:

figure {
	max-width: min-content;
}


It's been working on popular browsers, but once I tested it in Prince, it failed.

You can see the different by testing this page:

https://richstyle.org/?reviews/demo-web-en

Regards.

https://richstyle.org

Edited by Anas R.

markbrown
The latest builds include some preliminary support for the 'min-content' and 'max-content' keywords. For example:
<div style="width: max-content; border: solid blue 2px;">
  <div style="width: min-content; border: solid orange 2px;">
    This is a sentence with break opportunities.
  </div>
</div>


Mark
Anas R.
Great!

Thank you so much.

https://richstyle.org