Unprefixing intrinsic size keywords (-webkit-min-content et al)

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Unprefixing intrinsic size keywords (-webkit-min-content et al)

Christian Biesinger
Hi all!

We (blink) would like to unprefix the intrinsic sizing keywords:
https://drafts.csswg.org/css-sizing/#width-height-keywords

We support them for widths and for heights (though they all do the
same thing for heights)

We were wondering what Webkit's plan for those keywords is -- are you
also interested in unprefixing? Are you happy with the keywords as
specced? Would you rather stop supporting them?

thank you!
-christian
_______________________________________________
webkit-dev mailing list
[hidden email]
https://lists.webkit.org/mailman/listinfo/webkit-dev
Reply | Threaded
Open this post in threaded view
|

Re: Unprefixing intrinsic size keywords (-webkit-min-content et al)

Dean Jackson-7

> On 7 Aug 2015, at 2:44 AM, Christian Biesinger <[hidden email]> wrote:
>
> Hi all!
>
> We (blink) would like to unprefix the intrinsic sizing keywords:
> https://drafts.csswg.org/css-sizing/#width-height-keywords
>
> We support them for widths and for heights (though they all do the
> same thing for heights)
>
> We were wondering what Webkit's plan for those keywords is -- are you
> also interested in unprefixing? Are you happy with the keywords as
> specced? Would you rather stop supporting them?

Is there a test suite?

I think WebKit should unprefix these keywords.

Dean


_______________________________________________
webkit-dev mailing list
[hidden email]
https://lists.webkit.org/mailman/listinfo/webkit-dev
Reply | Threaded
Open this post in threaded view
|

Re: Unprefixing intrinsic size keywords (-webkit-min-content et al)

Christian Biesinger
On Fri, Aug 7, 2015 at 3:22 PM, Dean Jackson <[hidden email]> wrote:

>
>> On 7 Aug 2015, at 2:44 AM, Christian Biesinger <[hidden email]> wrote:
>>
>> Hi all!
>>
>> We (blink) would like to unprefix the intrinsic sizing keywords:
>> https://drafts.csswg.org/css-sizing/#width-height-keywords
>>
>> We support them for widths and for heights (though they all do the
>> same thing for heights)
>>
>> We were wondering what Webkit's plan for those keywords is -- are you
>> also interested in unprefixing? Are you happy with the keywords as
>> specced? Would you rather stop supporting them?
>
> Is there a test suite?
>
> I think WebKit should unprefix these keywords.

Thanks for the response! Unfortunately I'm not aware of an official testsuite.

-christian
_______________________________________________
webkit-dev mailing list
[hidden email]
https://lists.webkit.org/mailman/listinfo/webkit-dev
Reply | Threaded
Open this post in threaded view
|

Re: Unprefixing intrinsic size keywords (-webkit-min-content et al)

Manuel Rego Casasnovas
In reply to this post by Dean Jackson-7

On 08/08/15 00:22, Dean Jackson wrote:

>
>> On 7 Aug 2015, at 2:44 AM, Christian Biesinger <[hidden email]> wrote:
>>
>> Hi all!
>>
>> We (blink) would like to unprefix the intrinsic sizing keywords:
>> https://drafts.csswg.org/css-sizing/#width-height-keywords
>>
>> We support them for widths and for heights (though they all do the
>> same thing for heights)
>>
>> We were wondering what Webkit's plan for those keywords is -- are you
>> also interested in unprefixing? Are you happy with the keywords as
>> specced? Would you rather stop supporting them?
>
> Is there a test suite?
>
> I think WebKit should unprefix these keywords.

Some time has passed, but I've worked on patch to unprefix min-content,
max-content and fit-content (the same that was done by Christian in Blink).
You can find it at:
        https://bugs.webkit.org/show_bug.cgi?id=169195

This is really useful now that we're shipping CSS Grid Layout, as right
now we've everything unprefixed for Grid Layout but min-content and
max-content. So for example you have to write:
  grid-template-columns: -webkit-min-content fit-content(500px)
                         -webkit-max-content;
Instead of:
  grid-template-columns: min-content fit-content(500px) max-content;

That combination of prefixes (min-content and max-content) vs non
prefixes (fit-content()) is really strange.

You can find more details on the bug report.

Cheers,
  Rego
_______________________________________________
webkit-dev mailing list
[hidden email]
https://lists.webkit.org/mailman/listinfo/webkit-dev