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

From The Urban Dead Wiki
Jump to navigationJump to search
mNo edit summary
No edit summary
 
(47 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Danger Report Importance==
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.
Danger Reports, descending order of importance.
----
It appears that main.css defines a font-size of x-small. Then later another class boosts this by 127% (why 127? god knows)


===Top Priority Buildings===
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.
*Top Priority Buildings (All have reports)
FF appears to get it right at 12.7px. IE likes 12.8px better (rounding error after so many levels?)
**Forts
***Omnimap, SIM
**Malls
***MSM, Omnimap, SIM
**NecroTech Buildings
***NTSM


Apart from Forts, dedicated maps exist. Apart from NTs, general maps note these buildings.
Whilst these both round to 13px nominally, it might explain some of differences when applying another layer inline.


===High Priority TRPs===
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.
*High Priority TRPs (Significant but incomplete report coverage)
**Hospitals
**Police Departments


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


===Phone Masts===
*Phone Masts (All have reports)
**Phone Masts
***MPMSM, MPM, MPMIC


Dedicated page, BIC and map exist.
<div style="font-size:x-small"><div style="font-size:127%">
The quick brown fox jumped over the lazy dog. x-small * 127%
<div style="font-size:90%">The quick brown fox jumped over the lazy dog. as before*90%</div>
</div></div>


===Low Priority TRPs===
<div style="font-size:11px">
*Low Priority TRPs (Sporadic report coverage)
The quick brown fox jumped over the lazy dog. 11px
**Factories
</div>
**Auto Repair Shops
<div style="font-size:12px">
 
The quick brown fox jumped over the lazy dog. 12px
No mapping used.
</div>
 
<div style="font-size:13px">
===Interesting-Big Buildings===
The quick brown fox jumped over the lazy dog. 13px
*Interesting-Big Buildings (All have reports)
</div>
**City Zoo
**Power Stations
**Stadiums
**Mansions
**Cathedrals
 
BIC lists all, BBIC redundantly lists them again. No mapping.
 
===Useful Resource Points===
*Useful Resource Points (Sporadic report coverage)
**Warehouses
**Fire Stations
**Churches
**Pubs
**Junkyards
 
No mapping used.
 
===Other Buildings===
*Other Buildings (Sporadic report coverage)
**Museums
**Hotels
**Clubs
**Cinemas
**Towers
**Schools
**Libraries
**Banks
**Office Buildings
**Railway Stations
 
No mapping used.

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