User:The Rooster/Sandpit/6: Difference between revisions

From The Urban Dead Wiki
Jump to navigationJump to search
(250 calls)
No edit summary
 
(85 intermediate revisions by the same user not shown)
Line 1: Line 1:
Recursive calls fail.
Actually, yet more investigation yields the fact FF takes x-small as 10px, but IE as 10.05px AND IE appears to have a cumulative rounding error problem to boot. 90% would still just about round down but IE thinks otherwise. 85% still seems the best option for getting any level of consistency in this regard.
----
It appears that main.css defines a font-size of x-small. Then later another class boosts this by 127% (why 127? god knows)


{{User:The Rooster/Sandpit/5|1|S}}
Both browsers appear to take x-small as 10px on default settings. Thus render a default size of 12.7px which gets rounded to 13px.
{{User:The Rooster/Sandpit/5|2|SS}}
FF appears to get it right at 12.7px. IE likes 12.8px better (rounding error after so many levels?)
{{User:The Rooster/Sandpit/5|3|S}}
{{User:The Rooster/Sandpit/5|4|SS}}
{{User:The Rooster/Sandpit/5|5|S}}
{{User:The Rooster/Sandpit/5|1|SS}}
{{User:The Rooster/Sandpit/5|2|S}}
{{User:The Rooster/Sandpit/5|3|SS}}
{{User:The Rooster/Sandpit/5|4|S}}
{{User:The Rooster/Sandpit/5|5|SS}}


{{User:The Rooster/Sandpit/5|1|S}}
Whilst these both round to 13px nominally, it might explain some of differences when applying another layer inline.
{{User:The Rooster/Sandpit/5|2|SS}}
{{User:The Rooster/Sandpit/5|3|S}}
{{User:The Rooster/Sandpit/5|4|SS}}
{{User:The Rooster/Sandpit/5|5|S}}
{{User:The Rooster/Sandpit/5|1|SS}}
{{User:The Rooster/Sandpit/5|2|S}}
{{User:The Rooster/Sandpit/5|3|SS}}
{{User:The Rooster/Sandpit/5|4|S}}
{{User:The Rooster/Sandpit/5|5|SS}}


{{User:The Rooster/Sandpit/5|1|S}}
For example, an additional value of 90% inline would result in 11.43 for FF, but 11.52 for IE, so FF goes for 11px and IE 12px.
{{User:The Rooster/Sandpit/5|2|SS}}
{{User:The Rooster/Sandpit/5|3|S}}
{{User:The Rooster/Sandpit/5|4|SS}}
{{User:The Rooster/Sandpit/5|5|S}}
{{User:The Rooster/Sandpit/5|1|SS}}
{{User:The Rooster/Sandpit/5|2|S}}
{{User:The Rooster/Sandpit/5|3|SS}}
{{User:The Rooster/Sandpit/5|4|S}}
{{User:The Rooster/Sandpit/5|5|SS}}


{{User:The Rooster/Sandpit/5|1|S}}
In this case, scaling values can be chosen, but need merely be carefully picked to avoid values that generate these differentiating results.
{{User:The Rooster/Sandpit/5|2|SS}}
{{User:The Rooster/Sandpit/5|3|S}}
{{User:The Rooster/Sandpit/5|4|SS}}
{{User:The Rooster/Sandpit/5|5|S}}
{{User:The Rooster/Sandpit/5|1|SS}}
{{User:The Rooster/Sandpit/5|2|S}}
{{User:The Rooster/Sandpit/5|3|SS}}
{{User:The Rooster/Sandpit/5|4|S}}
{{User:The Rooster/Sandpit/5|5|SS}}


{{User:The Rooster/Sandpit/5|1|S}}
{{User:The Rooster/Sandpit/5|2|SS}}
{{User:The Rooster/Sandpit/5|3|S}}
{{User:The Rooster/Sandpit/5|4|SS}}
{{User:The Rooster/Sandpit/5|5|S}}
{{User:The Rooster/Sandpit/5|1|SS}}
{{User:The Rooster/Sandpit/5|2|S}}
{{User:The Rooster/Sandpit/5|3|SS}}
{{User:The Rooster/Sandpit/5|4|S}}
{{User:The Rooster/Sandpit/5|5|SS}}


50 calls.
<div style="font-size:x-small"><div style="font-size:127%">
*Pre-expand include size: 51550 bytes
The quick brown fox jumped over the lazy dog. x-small * 127%
*Post-expand include size: 17950 bytes
<div style="font-size:90%">The quick brown fox jumped over the lazy dog. as before*90%</div>
*Template argument size: 2775 bytes
</div></div>
*Maximum: 307200 bytes


{{User:The Rooster/Sandpit/5|1|S}}
<div style="font-size:11px">
{{User:The Rooster/Sandpit/5|2|SS}}
The quick brown fox jumped over the lazy dog.  11px
{{User:The Rooster/Sandpit/5|3|S}}
</div>
{{User:The Rooster/Sandpit/5|4|SS}}
<div style="font-size:12px">
{{User:The Rooster/Sandpit/5|5|S}}
The quick brown fox jumped over the lazy dog.  12px
{{User:The Rooster/Sandpit/5|1|SS}}
</div>
{{User:The Rooster/Sandpit/5|2|S}}
<div style="font-size:13px">
{{User:The Rooster/Sandpit/5|3|SS}}
The quick brown fox jumped over the lazy dog.  13px
{{User:The Rooster/Sandpit/5|4|S}}
</div>
{{User:The Rooster/Sandpit/5|5|SS}}
 
{{User:The Rooster/Sandpit/5|1|S}}
{{User:The Rooster/Sandpit/5|2|SS}}
{{User:The Rooster/Sandpit/5|3|S}}
{{User:The Rooster/Sandpit/5|4|SS}}
{{User:The Rooster/Sandpit/5|5|S}}
{{User:The Rooster/Sandpit/5|1|SS}}
{{User:The Rooster/Sandpit/5|2|S}}
{{User:The Rooster/Sandpit/5|3|SS}}
{{User:The Rooster/Sandpit/5|4|S}}
{{User:The Rooster/Sandpit/5|5|SS}}
 
{{User:The Rooster/Sandpit/5|1|S}}
{{User:The Rooster/Sandpit/5|2|SS}}
{{User:The Rooster/Sandpit/5|3|S}}
{{User:The Rooster/Sandpit/5|4|SS}}
{{User:The Rooster/Sandpit/5|5|S}}
{{User:The Rooster/Sandpit/5|1|SS}}
{{User:The Rooster/Sandpit/5|2|S}}
{{User:The Rooster/Sandpit/5|3|SS}}
{{User:The Rooster/Sandpit/5|4|S}}
{{User:The Rooster/Sandpit/5|5|SS}}
 
{{User:The Rooster/Sandpit/5|1|S}}
{{User:The Rooster/Sandpit/5|2|SS}}
{{User:The Rooster/Sandpit/5|3|S}}
{{User:The Rooster/Sandpit/5|4|SS}}
{{User:The Rooster/Sandpit/5|5|S}}
{{User:The Rooster/Sandpit/5|1|SS}}
{{User:The Rooster/Sandpit/5|2|S}}
{{User:The Rooster/Sandpit/5|3|SS}}
{{User:The Rooster/Sandpit/5|4|S}}
{{User:The Rooster/Sandpit/5|5|SS}}
 
{{User:The Rooster/Sandpit/5|1|S}}
{{User:The Rooster/Sandpit/5|2|SS}}
{{User:The Rooster/Sandpit/5|3|S}}
{{User:The Rooster/Sandpit/5|4|SS}}
{{User:The Rooster/Sandpit/5|5|S}}
{{User:The Rooster/Sandpit/5|1|SS}}
{{User:The Rooster/Sandpit/5|2|S}}
{{User:The Rooster/Sandpit/5|3|SS}}
{{User:The Rooster/Sandpit/5|4|S}}
{{User:The Rooster/Sandpit/5|5|SS}}
 
100 calls.
*Pre-expand include size: 103100 bytes
*Post-expand include size: 35900 bytes
*Template argument size: 5550 bytes
*Maximum: 307200 bytes
 
{{User:The Rooster/Sandpit/5|1|S}}
{{User:The Rooster/Sandpit/5|2|SS}}
{{User:The Rooster/Sandpit/5|3|S}}
{{User:The Rooster/Sandpit/5|4|SS}}
{{User:The Rooster/Sandpit/5|5|S}}
{{User:The Rooster/Sandpit/5|1|SS}}
{{User:The Rooster/Sandpit/5|2|S}}
{{User:The Rooster/Sandpit/5|3|SS}}
{{User:The Rooster/Sandpit/5|4|S}}
{{User:The Rooster/Sandpit/5|5|SS}}
 
{{User:The Rooster/Sandpit/5|1|S}}
{{User:The Rooster/Sandpit/5|2|SS}}
{{User:The Rooster/Sandpit/5|3|S}}
{{User:The Rooster/Sandpit/5|4|SS}}
{{User:The Rooster/Sandpit/5|5|S}}
{{User:The Rooster/Sandpit/5|1|SS}}
{{User:The Rooster/Sandpit/5|2|S}}
{{User:The Rooster/Sandpit/5|3|SS}}
{{User:The Rooster/Sandpit/5|4|S}}
{{User:The Rooster/Sandpit/5|5|SS}}
 
{{User:The Rooster/Sandpit/5|1|S}}
{{User:The Rooster/Sandpit/5|2|SS}}
{{User:The Rooster/Sandpit/5|3|S}}
{{User:The Rooster/Sandpit/5|4|SS}}
{{User:The Rooster/Sandpit/5|5|S}}
{{User:The Rooster/Sandpit/5|1|SS}}
{{User:The Rooster/Sandpit/5|2|S}}
{{User:The Rooster/Sandpit/5|3|SS}}
{{User:The Rooster/Sandpit/5|4|S}}
{{User:The Rooster/Sandpit/5|5|SS}}
 
{{User:The Rooster/Sandpit/5|1|S}}
{{User:The Rooster/Sandpit/5|2|SS}}
{{User:The Rooster/Sandpit/5|3|S}}
{{User:The Rooster/Sandpit/5|4|SS}}
{{User:The Rooster/Sandpit/5|5|S}}
{{User:The Rooster/Sandpit/5|1|SS}}
{{User:The Rooster/Sandpit/5|2|S}}
{{User:The Rooster/Sandpit/5|3|SS}}
{{User:The Rooster/Sandpit/5|4|S}}
{{User:The Rooster/Sandpit/5|5|SS}}
 
{{User:The Rooster/Sandpit/5|1|S}}
{{User:The Rooster/Sandpit/5|2|SS}}
{{User:The Rooster/Sandpit/5|3|S}}
{{User:The Rooster/Sandpit/5|4|SS}}
{{User:The Rooster/Sandpit/5|5|S}}
{{User:The Rooster/Sandpit/5|1|SS}}
{{User:The Rooster/Sandpit/5|2|S}}
{{User:The Rooster/Sandpit/5|3|SS}}
{{User:The Rooster/Sandpit/5|4|S}}
{{User:The Rooster/Sandpit/5|5|SS}}
 
150 calls.
*Pre-expand include size: 154650 bytes
*Post-expand include size: 53850 bytes
*Template argument size: 8325 bytes
*Maximum: 307200 bytes
 
{{User:The Rooster/Sandpit/5|1|S}}
{{User:The Rooster/Sandpit/5|2|SS}}
{{User:The Rooster/Sandpit/5|3|S}}
{{User:The Rooster/Sandpit/5|4|SS}}
{{User:The Rooster/Sandpit/5|5|S}}
{{User:The Rooster/Sandpit/5|1|SS}}
{{User:The Rooster/Sandpit/5|2|S}}
{{User:The Rooster/Sandpit/5|3|SS}}
{{User:The Rooster/Sandpit/5|4|S}}
{{User:The Rooster/Sandpit/5|5|SS}}
 
{{User:The Rooster/Sandpit/5|1|S}}
{{User:The Rooster/Sandpit/5|2|SS}}
{{User:The Rooster/Sandpit/5|3|S}}
{{User:The Rooster/Sandpit/5|4|SS}}
{{User:The Rooster/Sandpit/5|5|S}}
{{User:The Rooster/Sandpit/5|1|SS}}
{{User:The Rooster/Sandpit/5|2|S}}
{{User:The Rooster/Sandpit/5|3|SS}}
{{User:The Rooster/Sandpit/5|4|S}}
{{User:The Rooster/Sandpit/5|5|SS}}
 
{{User:The Rooster/Sandpit/5|1|S}}
{{User:The Rooster/Sandpit/5|2|SS}}
{{User:The Rooster/Sandpit/5|3|S}}
{{User:The Rooster/Sandpit/5|4|SS}}
{{User:The Rooster/Sandpit/5|5|S}}
{{User:The Rooster/Sandpit/5|1|SS}}
{{User:The Rooster/Sandpit/5|2|S}}
{{User:The Rooster/Sandpit/5|3|SS}}
{{User:The Rooster/Sandpit/5|4|S}}
{{User:The Rooster/Sandpit/5|5|SS}}
 
{{User:The Rooster/Sandpit/5|1|S}}
{{User:The Rooster/Sandpit/5|2|SS}}
{{User:The Rooster/Sandpit/5|3|S}}
{{User:The Rooster/Sandpit/5|4|SS}}
{{User:The Rooster/Sandpit/5|5|S}}
{{User:The Rooster/Sandpit/5|1|SS}}
{{User:The Rooster/Sandpit/5|2|S}}
{{User:The Rooster/Sandpit/5|3|SS}}
{{User:The Rooster/Sandpit/5|4|S}}
{{User:The Rooster/Sandpit/5|5|SS}}
 
{{User:The Rooster/Sandpit/5|1|S}}
{{User:The Rooster/Sandpit/5|2|SS}}
{{User:The Rooster/Sandpit/5|3|S}}
{{User:The Rooster/Sandpit/5|4|SS}}
{{User:The Rooster/Sandpit/5|5|S}}
{{User:The Rooster/Sandpit/5|1|SS}}
{{User:The Rooster/Sandpit/5|2|S}}
{{User:The Rooster/Sandpit/5|3|SS}}
{{User:The Rooster/Sandpit/5|4|S}}
{{User:The Rooster/Sandpit/5|5|SS}}
 
200 calls.
*Pre-expand include size: 206200 bytes
*Post-expand include size: 71800 bytes
*Template argument size: 11100 bytes
*Maximum: 307200 bytes
 
{{User:The Rooster/Sandpit/5|1|S}}
{{User:The Rooster/Sandpit/5|2|SS}}
{{User:The Rooster/Sandpit/5|3|S}}
{{User:The Rooster/Sandpit/5|4|SS}}
{{User:The Rooster/Sandpit/5|5|S}}
{{User:The Rooster/Sandpit/5|1|SS}}
{{User:The Rooster/Sandpit/5|2|S}}
{{User:The Rooster/Sandpit/5|3|SS}}
{{User:The Rooster/Sandpit/5|4|S}}
{{User:The Rooster/Sandpit/5|5|SS}}
 
{{User:The Rooster/Sandpit/5|1|S}}
{{User:The Rooster/Sandpit/5|2|SS}}
{{User:The Rooster/Sandpit/5|3|S}}
{{User:The Rooster/Sandpit/5|4|SS}}
{{User:The Rooster/Sandpit/5|5|S}}
{{User:The Rooster/Sandpit/5|1|SS}}
{{User:The Rooster/Sandpit/5|2|S}}
{{User:The Rooster/Sandpit/5|3|SS}}
{{User:The Rooster/Sandpit/5|4|S}}
{{User:The Rooster/Sandpit/5|5|SS}}
 
{{User:The Rooster/Sandpit/5|1|S}}
{{User:The Rooster/Sandpit/5|2|SS}}
{{User:The Rooster/Sandpit/5|3|S}}
{{User:The Rooster/Sandpit/5|4|SS}}
{{User:The Rooster/Sandpit/5|5|S}}
{{User:The Rooster/Sandpit/5|1|SS}}
{{User:The Rooster/Sandpit/5|2|S}}
{{User:The Rooster/Sandpit/5|3|SS}}
{{User:The Rooster/Sandpit/5|4|S}}
{{User:The Rooster/Sandpit/5|5|SS}}
 
{{User:The Rooster/Sandpit/5|1|S}}
{{User:The Rooster/Sandpit/5|2|SS}}
{{User:The Rooster/Sandpit/5|3|S}}
{{User:The Rooster/Sandpit/5|4|SS}}
{{User:The Rooster/Sandpit/5|5|S}}
{{User:The Rooster/Sandpit/5|1|SS}}
{{User:The Rooster/Sandpit/5|2|S}}
{{User:The Rooster/Sandpit/5|3|SS}}
{{User:The Rooster/Sandpit/5|4|S}}
{{User:The Rooster/Sandpit/5|5|SS}}
 
{{User:The Rooster/Sandpit/5|1|S}}
{{User:The Rooster/Sandpit/5|2|SS}}
{{User:The Rooster/Sandpit/5|3|S}}
{{User:The Rooster/Sandpit/5|4|SS}}
{{User:The Rooster/Sandpit/5|5|S}}
{{User:The Rooster/Sandpit/5|1|SS}}
{{User:The Rooster/Sandpit/5|2|S}}
{{User:The Rooster/Sandpit/5|3|SS}}
{{User:The Rooster/Sandpit/5|4|S}}
{{User:The Rooster/Sandpit/5|5|SS}}
 
250 calls.

Latest revision as of 15:18, 25 August 2009

Actually, yet more investigation yields the fact FF takes x-small as 10px, but IE as 10.05px AND IE appears to have a cumulative rounding error problem to boot. 90% would still just about round down but IE thinks otherwise. 85% still seems the best option for getting any level of consistency in this regard.


It appears that main.css defines a font-size of x-small. Then later another class boosts this by 127% (why 127? god knows)

Both browsers appear to take x-small as 10px on default settings. Thus render a default size of 12.7px which gets rounded to 13px. FF appears to get it right at 12.7px. IE likes 12.8px better (rounding error after so many levels?)

Whilst these both round to 13px nominally, it might explain some of differences when applying another layer inline.

For example, an additional value of 90% inline would result in 11.43 for FF, but 11.52 for IE, so FF goes for 11px and IE 12px.

In this case, scaling values can be chosen, but need merely be carefully picked to avoid values that generate these differentiating results.


The quick brown fox jumped over the lazy dog. x-small * 127%

The quick brown fox jumped over the lazy dog. as before*90%

The quick brown fox jumped over the lazy dog. 11px

The quick brown fox jumped over the lazy dog. 12px

The quick brown fox jumped over the lazy dog. 13px