Bug 23010 - Right border on inline box is not rendered, right padding and right margin are not applied
Summary: Right border on inline box is not rendered, right padding and right margin ar...
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows XP
: P2 Normal
Assignee: Nobody
URL: http://www.cssdesignpatterns.com/Chap...
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2008-12-28 06:22 PST by mhstamate
Modified: 2022-07-23 20:02 PDT (History)
8 users (show)

See Also:


Attachments
Safari 15.6 matches Chrome but differs from Firefox (906.36 KB, image/png)
2022-07-22 09:33 PDT, Ahmad Saleem
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.