Gunlaug Sørtun wrote:
>>> BTW: which known bug? Just in case there are better options.
> 
>> namely bug 50630: float should be as high as previous line box 
>> https://bugzilla.mozilla.org/show_bug.cgi?id=50630
> 
> That bug is indeed old and well known, and has caused problems all
> along. Don't know of any option but to hack back and forth between old
> and new Geckos for that bug.
> 
> Problem is: one has to hack older Gecko version with a fix (lift float)
> and new versions with the correct value, and it is always unsafe to hack
> new versions.
> 
> 
> This reduced hack should otherwise work, at least back to Fx 1.5 (not
> thoroughly tested)...
> 
> @-moz-document url-prefix() {
> :root>body ELEMENT-SELECTOR {/* fix old Gecko */}
> :root>body:not(:nth-child(0)):only-of-type>*|*:not(|*)
> ELEMENT-SELECTOR {/* correct value for new Gecko */}
> }
> 
> Good thing is: the hack won't affect non-Gecko browsers.
> Bad thing is: it isn't anywhere near "safe" since one has to hack all
> 3.1+ versions back to standard float-alignment now that the bug is fixed.
> At some point in the near or more distant future one may have to delete
> the entire hack, to avoid getting caught up in a hacking-race caused by
> future development of Gecko and/or CSS standards.
> 
> regards
>       Georg


If this is this bug


<http://css-class.com/test/css/visformatting/floats/floats-width-auto.htm>

then it is also present in Safari (3.2.2). Hacking Firefox 3 is 
dangerous since particular bugs have been fixed with this version but 
the hacks are more specific (targeting or filtering) to Gecko engine 
versions. There is many of them. Anyway how can you hack a fix for this bug?

I would think that changing the order of the markup may be better. Can 
this structure be changed Robert?


-- 
Alan http://css-class.com/

Armies Cannot Stop An Idea Whose Time Has Come. - Victor Hugo
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to