Open
Bug 328472
Opened 19 years ago
Updated 3 years ago
Different border display in Windows and Linux GTK
Categories
(Core :: Layout, defect)
Tracking
()
UNCONFIRMED
People
(Reporter: fletcher.jeff, Unassigned)
Details
(Keywords: testcase)
Attachments
(2 files)
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060124 Firefox/1.5.0.1
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060124 Firefox/1.5.0.1
The following HTML looks different in Windows and LinuxGTK firefox. Both versions are 1.5.0.1.
The bottom border on windows is 1 pixel lower than on linux.
<html>
<head>
<style>
<!--
div.invLabelValue {
border-bottom: 1px solid #333333;
}
div.invLabelValue > .label {
background-color: #333333;
color: #CCCCCC;
}
-->
</style>
</head>
<body>
<div id="testInvLabelValue" class="invLabelValue">
<span class="label">Label</span>
</div>
</body>
</html>
Reproducible: Always
Steps to Reproduce:
1. Compare results of above HTML in firefox on both linux and windows.
2.
3.
Actual Results:
There's a 1 pixel gap between the span and the border in windows. The gap is not there on linux.
Expected Results:
It would look the same in both browsers. I prefer the linux version, but I'm not actually sure what the correct behaviour is.
Reporter | ||
Comment 1•19 years ago
|
||
FYI, the workaround for me was to also add
border-bottom: 1px solid #333333;
to the "div.invLabelValue > .label" css section
Comment 2•19 years ago
|
||
Comment 3•19 years ago
|
||
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9a1) Gecko/20060224 Firefox/1.6a1 ID:0000000000
Gap not present here, which I believe is the correct behaviour.
Reporter, on which version of Windows is this occuring?
Component: General → Layout
Keywords: testcase
Product: Firefox → Core
Summary: different border display in Windows and Linux GTK → Different border display in Windows and Linux GTK
Version: unspecified → 1.8 Branch
Reporter | ||
Comment 4•19 years ago
|
||
Updated•19 years ago
|
QA Contact: general → layout
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•