Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
spec:css3-selectors [2008/03/10 11:56] fantasaispec:css3-selectors [2014/12/09 15:48] (current) – external edit 127.0.0.1
Line 28: Line 28:
  
 <bz> ideally, how would we _specify_ first-line? <bz> ideally, how would we _specify_ first-line?
- 
 <code> <code>
   p::first-line { color: green; float: left }   p::first-line { color: green; float: left }
Line 35: Line 34:
   <p><span>Text</span></p>   <p><span>Text</span></p>
 </code> </code>
 +<bz> What's the rendering?\\
 +<elif> bz: you're not allowed to specify float on first-line\\
 +<@bz> elif: sure you are\\
 +<@bz> elif: it just has no effect... on the first-line\\
 +\\
 +<@bz> elif: for what it's worth, the only sane proposal I've heard to deal with that so far...\\
 +<@bz> elif: is that the "kids" of the first-line only inherit default-inherited properties from it\\
 +<@bz> elif: and not default-reset ones\\
 +<@bz> elif: so in our impl we would need to have two different parents on the same style context\\
 +<@bz> elif: one for reset props, one for inherit\\
 +<@bz> elif: as a start.\\
 +\\
 +< elif> bz: p::first-line {direction: rtl}\\
 +< elif> have fun :)
  
-<bz> What's the rendering? +http://lists.w3.org/Archives/Public/www-style/2008Jun/0356.html
-<elif> bzyou're not allowed to specify float on first-line +
-<@bz> elif: sure you are +
-<@bz> elif: it just has no effect... on the first-line +
- +
-<@bz> elif: for what it's worth, the only sane proposal I've heard to deal with that so far... +
-<@bz> elif: is that the "kids" of the first-line only inherit default-inherited properties from it +
-<@bz> elif: and not default-reset ones +
-<@bz> elif: so in our impl we would need to have two different parents on the same style context +
-<@bz> elif: one for reset props, one for inherit +
-<@bz> elif: as a start. +
- +
-< elif> bz: p::first-line {direction: rtl} +
-< elif> have fun :)+
  
 +http://lists.w3.org/Archives/Public/www-style/2007Dec/0050.html
 
spec/css3-selectors.txt · Last modified: 2014/12/09 15:48 by 127.0.0.1
Recent changes RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki