8000 [css-text-3] hanging-punctuation effect on inline/block bounds · Issue #4222 · w3c/csswg-drafts · GitHub
[go: up one dir, main page]

Skip to content

[css-text-3] hanging-punctuation effect on inline/block bounds #4222

@stantonmarcum

Description

@stantonmarcum

https://drafts.csswg.org/css-text-3/#hanging-punctuation-property

Hanging punctuation is defined to allow glyphs to display outside of the line box. However it's not clear if the bounds for things like border, background-color, and selection should include the overhang or not.

Safari's implementation includes the bounds if applied inline, but the overhang does not seem to affect the box bounds. This behavior is fine with me, but wondering if we should standardize it somewhere.

Safari Rendered Output

Screen Shot 2019-08-19 at 3 45 53 PM

https://codepen.io/stantonm/pen/ZEzpJpY

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0