[webkit-dev] Metric unit measurements and on screen display
Andre-John Mas
ajmas at sympatico.ca
Tue Jun 24 07:04:06 PDT 2008
Hi,
Because of the move to resolution independence on the Mac, I decided
to see what would happen if I indicated a table using centimeters.
What I found is that what was indicated was not what was displayed.
The computer being used for this test is MacBook Pro (Core Duo), with
the built in screen and using native resolution.
A test case is added at the end of the file. In the test case the
table is specified to be 6cm wide, but is in reality 5.1cm wide. Is
there something I am missing here, or is this something that should be
flagged as a bug? What should the expectations be?
BTW I decided to compare this with Firefox 3 and Opera 9.5 and the
results are not consistent:
Opera 9.5 results in 6.9 cm
Firefox 3 results in 6.9 cm
Andre
Test case:
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
<head>
<title></title>
</head>
<body>
<table style="border: 0.3mm solid rgb(170, 170, 170); width: 8cm;"
id="resultsTable">
<tr><th>RPM</th><th>Speed</th><th>Thrust</th></tr>
<tr><td class="numeric">8000</td><td class="numeric">151.52</
td><td class="numeric">227.682</td></tr>
<tr class="even"><td class="numeric">8100</td><td
class="numeric">153.414</td><td class="numeric">233.409</td></tr>
<tr><td class="numeric">8200</td><td class="numeric">155.308</
td><td class="numeric">239.208</td></tr>
<tr class="even"><td class="numeric">8300</td><td
class="numeric">157.202</td><td class="numeric">245.078</td></tr>
</table>
</body>
</html>
More information about the webkit-dev
mailing list