[csswg-drafts] [css-page-float] float property syntax

MurakamiShinyu has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-page-float] float property syntax ==
Current spec:
https://drafts.csswg.org/css-page-floats/#float-property

I think the following syntax would be better for further extensibility:

```
float: none | [ block-start || block-end || inline-start || inline-end || 
                left || right || top || bottom ]
```

Examples:
```
float: top;        // float to top edge
float: top left;   // float to top left corner
float: top bottom; // float to top or bottom edge (like 'snap-block' in old proposal)
float: left right; // float to left or right edge (like 'snap-inline' in old proposal)
float: top bottom left;       // float to top left or bottom left corner
float: top bottom left right; // float to top left, top right, bottom left, 
                              // or bottom right corner
```


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1251 using your GitHub account

Received on Thursday, 20 April 2017 00:43:50 UTC