W3C home > Mailing lists > Public > public-css-archive@w3.org > April 2017

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

From: Shinyu Murakami via GitHub <sysbot+gh@w3.org>
Date: Thu, 20 Apr 2017 00:43:43 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-222913510-1492649021-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:11 UTC