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

From The Urban Dead Wiki
Jump to navigationJump to search
(Danger Report Ranking)
No edit summary
 
(48 intermediate revisions by the same user not shown)
Line 1: Line 1:
Danger Reports, descending order of 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.
 
 
----
*Top Priority Buildings (All have reports)
**Forts
***Omnimap, SIM
**Malls
***MSM, Omnimap, SIM
**NecroTech Buildings
***NTSM
 
Apart from Forts, dedicated maps exist. Apart from NTs, general maps note these buildings.
 
----
*High Priority TRPs (Significant but incomplete report coverage)
**Hospitals
**Police Departments
 
No mapping used.
 
----
----
*Phone Masts (All have reports)
It appears that main.css defines a font-size of x-small. Then later another class boosts this by 127% (why 127? god knows)
**Phone Masts
***MPMSM, MPM, MPMIC


Dedicated page, BIC and map exist.
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.
*Low Priority TRPs (Sporadic report coverage)
**Factories
**Auto Repair Shops


No mapping used.
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.
*Interesting/Big Buildings (All have reports)
**City Zoo
**Power Stations
**Stadiums
**Mansions
**Cathedrals


BIC lists all, BBIC redundantly lists them again. No mapping.


----
<div style="font-size:x-small"><div style="font-size:127%">
*Useful Resource Points (Sporadic report coverage)
The quick brown fox jumped over the lazy dog. x-small * 127%
**Warehouses
<div style="font-size:90%">The quick brown fox jumped over the lazy dog. as before*90%</div>
**Fire Stations
</div></div>
**Churches
**Pubs
**Junkyards
 
No mapping used.
 
----
*Other Buildings (Sporadic report coverage)
**Museums
**Hotels
**Clubs
**Cinemas
**Towers
**Schools
**Libraries
**Banks
**Office Buildings
**Railway Stations


No mapping used.
<div style="font-size:11px">
The quick brown fox jumped over the lazy dog. 11px
</div>
<div style="font-size:12px">
The quick brown fox jumped over the lazy dog.  12px
</div>
<div style="font-size:13px">
The quick brown fox jumped over the lazy dog.  13px
</div>

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