Action Item: Fix Float Positioning Rules for floats in run-ins

Posted in dotnet, vb, vb.net | No Comments »

Section 9.5.1 Positioning the float: the 'float' property has the rules for float positioning. These are introduced by the paragraph stating,
"Here are the precise rules that govern the behavior of floats:"

I suggest this be followed, immediately, by,
"For the purposes of these rules, floats that occur as descendents of a run-in element that is rendered as an 'inline' element at the start of a sibling block element (see Section 9.2.3) are treated is if their containing block is the principle box generated by that block element. This means that floats within the run-in element are not necessarily processed in source order. For example, if there were one or more floats between the run-in element and the block element in which it is rendered, then all such floats would be rendered before the floats within the run-in. This revised ordering holds for clears as well as float positioning."

Steve Zilles

Similar:

  1. 2 column layout, float or absolute positioning Hi from 17?C Partly Cloudy Wind: SW at 9 mph Humidity: 59% wakefield UK Ive gone back to css school and have started out wanting...
  2. [CSS 2.1] [section 9.5 Floats] Empty floated element with a set width but height:0 Hello all, Does an empty floated element with a set width occupy an horizontal space on a line? Testcase: http://www.gtalbot.org/BrowserBugsSection/css21testsuite/floats-107-gt.html According to Ian Hickson, div#zero-height-first-float...
  3. [CSS 2.1] [section 9.5 Floats] Empty floated element with a set width but height:0 Hello all, Does an empty floated element with a set width occupy an horizontal space on a line? Testcase: http://www.gtalbot.org/BrowserBugsSection/css21testsuite/floats-107-gt.html According to Ian Hickson, div#zero-height-first-float...
  4. [CSS2.1] Margin-collapsing rules in 8.3.1 don’t match reality (Filed as issue 178 as soon as this email hits the archives.) In section 8.3.1 of CSS 2.1 the margin-collapsing rules are explained. In particular,...
  5. Problem with floats and clears I’m having some problems with floats interfering with each other. In our quest to rid our website of layout tables and move to a CSS-based...

Leave a Reply