Open Bug 385469 Opened 17 years ago Updated 1 year ago

Inline element with padding-right and collapsed whitespace on second line shows padding-right

Categories

(Core :: Layout: Block and Inline, defect)

x86
Windows XP
defect

Tracking

()

REOPENED

People

(Reporter: martijn.martijn, Unassigned)

References

()

Details

(Keywords: regression, testcase)

Attachments

(2 files)

Attached file testcase
See testcase.
I'm not really sure how the testcase should show up, but in current trunk builds the first span has padding-right on the second line.
This regressed between 2007-05-05 and 2007-05-06.

I guess that might be ok, but it seems to me that both spans should at least render identical, no?
Maybe. Someone tell me what the rendering should be and why... I lean towards the first rendering being correct, but I'm not sure.
> I guess that might be ok, but it seems to me that both spans should at least
> render identical, no?

I tested this on different browsers and Firefox is the only one that renders the two spans differently. 
I will attach a screenshot that shows the rendering on different browsers (Nightly, Chrome, Opera and IE 8).
Attached image browsers_rendering.bmp
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Note that Chrome doesn't render the right-border at all for both spans, which is definitely wrong and much worse than any potential Gecko bug here. I think you should just claim that Gecko is not obviously wrong and close this bug until someone shows up to make a case otherwise :-).
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.