Bug 23010

Summary: Right border on inline box is not rendered, right padding and right margin are not applied
Product: WebKit Reporter: mhstamate
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: ahmad.saleem792, ap, bfulgham, koivisto, rniwa, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows XP   
URL: http://www.cssdesignpatterns.com/Chapter%2004%20-%20BOX%20MODELS/Inline%20Box/example.html
Attachments:
Description Flags
Safari 15.6 matches Chrome but differs from Firefox none

Description mhstamate 2008-12-28 06:22:14 PST
Tested on:
- Windows XP SP3
- Apple Safari for Windows 3.2.1 using the r39474 WebKit nightly build for
Windows from http://nightly.webkit.org/
- Intel P4 2.4 GHz CPU (single core)
- javascript is enabled

Description:
WebKit doesn't render the right border of an inline element, and collapses the right padding and right margin as well.

A test case is available at
http://www.cssdesignpatterns.com/Chapter%2004%20-%20BOX%20MODELS/Inline%20Box/example.html

How it should look: http://www.postimage.org/image.php?v=Pq1jNYVS
How it looks on WebKit: http://www.postimage.org/image.php?v=gx1YjUpS
Comment 1 Ahmad Saleem 2022-07-22 09:33:45 PDT
Created attachment 461141 [details]
Safari 15.6 matches Chrome but differs from Firefox

I am not sure on expected results and also it might be platform specific but based on URL test case, Safari 15.6 matches with Chrome Canary 105 but differs from Firefox Nightly 104 as can be seen from attached screenshot. Appreciate if someone can have a look and decide based on web-spec or results, whether something needed to be fixed in Webkit or not. Thanks!
Comment 2 Radar WebKit Bug Importer 2022-07-22 14:50:28 PDT
<rdar://problem/97457316>
Comment 3 zalan 2022-07-23 20:02:48 PDT
This looks ok to me. Thank you for testing it.