[webkit-dev] CSS Logical Properties and Values

Simon Fraser simon.fraser at apple.com
Wed Aug 8 10:19:28 PDT 2018


This plan sounds great! Thanks for working on this.

Simon

> On Aug 8, 2018, at 9:53 AM, Oriol Brufau <obrufau at igalia.com> wrote:
> 
> https://drafts.csswg.org/css-logical-1/ <https://drafts.csswg.org/css-logical-1/> defines properties and values to control layout
> through logical, rather than physical, direction and dimension mappings.
>  
> I have been working on implementing this in Blink, now I'm starting with WebKit.
>  
> Various properties are already supported but using non-standard names with a -webkit-
> prefix. The standard properties have already been shipped in Firefox and Blink, so
> I will start with implementing them and converting the prefixed ones into aliases.
> This will happen in https://bugs.webkit.org/show_bug.cgi?id=188386 <https://bugs.webkit.org/show_bug.cgi?id=188386>, the specific list
> of properties is:
>  * margin-{block,inline}-{start,end}
>  * padding-{block,inline}-{start,end}
>  * border-{block,inline}-{start,end}
>  * border-{block,inline}-{start,end}-{width,style,color}
>  * {block,inline}-size
>  * {min,max}-{block,inline}-size
> See Blink's Intent to Ship: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/tkN-r119eNc <https://groups.google.com/a/chromium.org/forum/#%21topic/blink-dev/tkN-r119eNc>
>  
> After this I will continue with the remaining flow-relative box model properties and the
> flow-relative values for existing properties:
>  * margin-{block,inline}
>  * padding-{block,inline}
>  * border-{block,inline}
>  * border-{block,inline}-{width,style,color}
>  * float: inline-{start,end}
>  * clear: inline-{start,end}
>  * resize: {block,inline}
> This will be behind an experimental flag, like it's being done in Blink. Firefox shipped some.
> See Blink's Intent to Implement: https://groups.google.com/a/chromium.org/d/msg/blink-dev/48OwfwZrbvI/A1XZFGkzAwAJ <https://groups.google.com/a/chromium.org/d/msg/blink-dev/48OwfwZrbvI/A1XZFGkzAwAJ>
>  
> I would like to get your feedback and comments about this topic, if you are fine with the plan
> we will start to land patches next week.
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20180808/bfb93c2a/attachment.html>


More information about the webkit-dev mailing list