Bug 182639 - CSS quotes not overridden when within block with text-indent
Summary: CSS quotes not overridden when within block with text-indent
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Safari Technology Preview
Hardware: All macOS 10.13
: P2 Normal
Assignee: Nobody
URL:
Keywords: BrowserCompat, InRadar
Depends on:
Blocks:
 
Reported: 2018-02-09 06:06 PST by J. S. Choi
Modified: 2023-10-01 16:09 PDT (History)
5 users (show)

See Also:


Attachments
CSS Quotes Bug Demonstration (2.52 KB, text/html)
2018-02-09 06:06 PST, J. S. Choi
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description J. S. Choi 2018-02-09 06:06:54 PST
Created attachment 333481 [details]
CSS Quotes Bug Demonstration

Observe the attached file when served over file:// or over http://localhost, as well as https://jschoi.org/18/webkit-quotes-test and https://codepen.io/js-choi/pen/wyJaaG.

In all four, the quotation marks below surrounding .y (i.e., open-quote and close-quote) should be asterisks (*…*). However, when served over file:// or http://localhost, they appear as straight quote marks ("…"), and when served over https:, they appear as curly quote marks (“…”) (cf. this page hosted on https://jschoi.org and this page hosted on CodePen). No matter where it is hosted, the quotes become the correct asterisks (*…*) if the text-indent of .x is changed to zero.

This has been tested on STP Release 49 (WebKit 13606.1.3.3) on macOS 10.13.3, as well as Safari on iOS 11.2.5.
Comment 1 Brent Fulgham 2022-07-15 14:07:51 PDT
The test case works in Chrome and Firefox, but not Safari 15.5+.
Comment 2 Radar WebKit Bug Importer 2022-07-15 14:08:02 PDT
<rdar://problem/97093255>
Comment 3 Ahmad Saleem 2023-10-01 16:09:38 PDT
Still reproducible WebKit ToT (268710@main). CCing - Vitor and Tim and adding 'BrowserCompat'.