A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://lists.w3.org/Archives/Public/www-style/2015Jun/0020.html below:

[css-flexbox] Broken example formatting, #main is floated right from Ryan Prichard on 2015-05-18 (www-style@w3.org from June 2015)

I noticed a formatting/styling issue.  In a few examples in the latest spec
(http://www.w3.org/TR/2015/WD-css-flexbox-1-20150514/), there are `#main`
selectors that appear on the right edge of the document.  In the previous
draft (http://www.w3.org/TR/2014/WD-css-flexbox-1-20140925/), the examples
weren't styled, and `#main` appeared in-line with the rest of the example.

I assume this was an oversight.  The floating is confusing, especially the
`#main#main#main` appearing to the right of `> article,  > nav,  > aside {`.

The `#main` selector is a span element of class `token id`:

    <span class="token selector"><span class="token id">#main</span> </span>

`span.id` is assigned `float: right` by `default-TR.css:15`:

  span.id {float: right; font-weight: bold}

-Ryan

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4