WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
ASSIGNED
18109
Implement hanging punctuation
https://bugs.webkit.org/show_bug.cgi?id=18109
Summary
Implement hanging punctuation
Nicholas Shanks
Reported
2008-03-26 03:49:37 PDT
The css3-text module is going nowhere fast, and it's hanging-punctuation declaration is so ill-defined that I can't even figure out what the values mean. Since WebKit is the typographical tiger of the web world, we should come up with something awesome that works for all scripts and locales, which we can submit to the CSS WG.
Attachments
Patch
(19.86 KB, patch)
2016-02-03 12:10 PST
,
Dave Hyatt
no flags
Details
Formatted Diff
Diff
Patch
(19.78 KB, patch)
2016-02-03 12:14 PST
,
Dave Hyatt
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Dave Hyatt
Comment 1
2008-03-27 13:56:16 PDT
Agree 100%. I've wanted this feature for a while (even if it's just opt-in through a new property).
Daniel
Comment 2
2010-08-23 06:55:37 PDT
Any news on this? I checked W3C's specifications and it seems like they don't know how to implement it in a code either. But this would be so useful for any web designer, since, let's admit it, punctuation within the content box at the start of a paragraph really does suck. We need Webkit to lead the way on this, as you guys often do! :) Just wanted to bring this up since the last post on this feature request goes back to 2008.
Dave Hyatt
Comment 3
2016-02-03 12:10:09 PST
Created
attachment 270594
[details]
Patch
WebKit Commit Bot
Comment 4
2016-02-03 12:11:32 PST
Attachment 270594
[details]
did not pass style-queue: ERROR: Source/WebCore/css/CSSPrimitiveValueMappings.h:1634: A case label should not be indented, but line up with its switch statement. [whitespace/indent] [4] ERROR: Source/WebCore/css/CSSParser.cpp:10536: A case label should not be indented, but line up with its switch statement. [whitespace/indent] [4] Total errors found: 2 in 17 files If any of these errors are false positives, please file a bug against check-webkit-style.
Dave Hyatt
Comment 5
2016-02-03 12:14:19 PST
Created
attachment 270595
[details]
Patch
Dave Hyatt
Comment 6
2016-02-03 12:54:49 PST
Initial parsing landed in
r196075
.
Brent Fulgham
Comment 7
2022-07-13 15:16:51 PDT
It doesn't seem like other browsers implemented this.
Sebastian Zartner
Comment 8
2023-05-02 12:49:57 PDT
For what it's worth, the hanging-punctuation property is currently defined at
https://drafts.csswg.org/css-text-3/#hanging-punctuation-property
. Sebastian
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug