[Webkit-unassigned] [Bug 250296] New: Summary on <details> has not right margin on RTL
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Jan 8 05:03:11 PST 2023
https://bugs.webkit.org/show_bug.cgi?id=250296
Bug ID: 250296
Summary: Summary on <details> has not right margin on RTL
Product: WebKit
Version: Safari Technology Preview
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
Assignee: webkit-unassigned at lists.webkit.org
Reporter: ahmad.saleem792 at gmail.com
CC: bfulgham at webkit.org, simon.fraser at apple.com,
zalan at apple.com
Hi Team,
This is two way street:
1) Via Standard Alignment and remove "margin" altogether from html.css:
https://html.spec.whatwg.org/#the-details-and-summary-elements
Chromium does not have this margin anymore - https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/html/resources/html.css;l=1342?q=html.css
and Firefox as well - https://searchfox.org/mozilla-central/source/layout/style/res/html.css#737
2) Align with Blink Commit following:
Blink Commit - https://src.chromium.org/viewvc/blink?view=revision&revision=176016
Test Case (Not Working) - data:text/html;charset=utf8,<details%20dir="rtl"><summary>Summary</summary>آزمایش</details>
Test Case (Working) - data:text/html;charset=utf8,<details><summary>Summary</summary>آزمایش</details>
WebKit Source - https://github.com/WebKit/WebKit/blob/866813ec2e4eb4f8646237cccfe1ad3ad76f46e1/Source/WebCore/css/html.css#L1366
Just wanted to get input before doing PR.
Thanks!
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230108/072d810b/attachment.htm>
More information about the webkit-unassigned
mailing list