Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shadow stacking limitations when Vertical offset is negative #2193

Open
melissaperreault opened this issue Jan 4, 2023 · 0 comments
Open
Labels
Category: Bug Something isn't working

Comments

@melissaperreault
Copy link
Contributor

melissaperreault commented Jan 4, 2023

Describe the current behavior

Shadow stacking limitations (Video of behavior)
When vertical shadow offsets for either the global media or content container settings are negative (upward), the shadow could overlap the row above (natural CSS behavior) if there isn't enough gap. The issue here is there are 2 different child elements within an image with text creating their own shadows with an existing stacking relationship of their own, which further adds to the complexity that we've been able to solve for in other sections.

Describe the expected behavior

Potentially on:

Version information (Dawn, browsers and operating systems)

  • Dawn Version: 7.0.1
  • Chrome Version 108.0.5359.124
  • macOS Version 13.1

Possible solution

Have the shadow appear below regardless of the orientation.

@melissaperreault melissaperreault added the Category: Bug Something isn't working label Jan 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant