The web platform tests only check if the parser could accept the keywords
in css/css-sizing/parsing. About the rendering results of keywords, I
cannot find any reftest in css-sizing or in css-boxing in wpt. Both Gecko
and Blink put the reftests in their repos, instead of wpt. This is another
problem for now. If we could make all keywords match the spec, it would be
easier to move all of our tests into wpt.

For now, it seem there are some concerns about shipping this keywords, so
I'd like to add a pref for them. At least we could support both unprefixed
and prefixed versions.

Regards,
Boris


On Fri, Oct 5, 2018 at 10:36 AM Boris Chiou <bo...@mozilla.com> wrote:

> The web platform tests only check if the parser could accept the keywords
> in css/css-sizing/parsing. About the rendering results of keywords, I
> cannot find any reftest in css-sizing or in css-boxing in wpt. Both Gecko
> and Blink put the reftests in their repos, instead of wpt. This is another
> problem for now. If we could make all keywords match the spec, it would be
> easier to move all of our tests into wpt.
>
> For now, it seem there are some concerns about shipping this keywords, so
> I'd like to add a pref for them. At least we could support both unprefixed
> and prefixed versions.
>
>
> Regards,
> Boris
>
>
> On Fri, Oct 5, 2018 at 4:12 AM David Burns <dbu...@mozilla.com> wrote:
>
>> Are there any web platform tests for this feature?
>>
>> David
>>
>> On Tue, 2 Oct 2018 at 20:49, Boris Chiou <bch...@mozilla.com> wrote:
>>
>>> Summary:
>>> `max-content` and `min-content` are sizing values for width, min-width,
>>> max-width, height, min-height, max-height, inline-size, min-inline-size,
>>> max-inline-size, and flex-basis. We support these two keywords with -moz-
>>> prefix for many years, and Google Chrome has shipped them for 3 years.
>>> Our
>>> implementation on inline-size dimension are stable, and it'd be nicer to
>>> unprefix the keywords so people don't have to write both versions (i.e.
>>> prefixed and unprefixed) on their websites. Therefore, I think it's worth
>>> to unprefix them.
>>>
>>> Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1322780
>>> <https://bugzilla.mozilla.org/show_bug.cgi?id=1141895>
>>>
>>> Link to standard: https://drafts.csswg.org/css-sizing/#sizing-values
>>>
>>> Platform coverage: all platforms
>>>
>>> Estimated or target release: Firefox 64
>>>
>>> Do other browser engines implement this?
>>> Chrome has shipped unprefixed max-content and min-content values from 46
>>> [1]. Safari still uses -webkit- prefixed.
>>>
>>> Preference behind which this will be implemented: n/a
>>> DevTools bug: n/a
>>>
>>> [1] https://caniuse.com/#feat=intrinsic-width
>>>
>>> --
>>> Regards,
>>> Boris
>>> _______________________________________________
>>> dev-platform mailing list
>>> dev-platform@lists.mozilla.org
>>> https://lists.mozilla.org/listinfo/dev-platform
>>>
>>
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to