New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 717571 link

Starred by 2 users

Issue metadata

Status: Archived
Owner:
Last visit 29 days ago
Closed: Dec 20
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

Inspecting css that is within an @supports declaration looks the same as normal CSS - should have visual indicator

Reported by jonmclar...@gmail.com, May 2 2017

Issue description

Chrome Version: 58.0.3029.81
Stable build of Chrome

This seems like a bit of a flaw in Chrome's current implementation of @supports.
When inspecting an element that has styling which is in an @supports declaration, there is no indication that the class/styles are within an @supports. All of the other @media, @print etc, queries are displayed, @supports is equally as important to display.

Here's a test case
https://codepen.io/thewebtech/pen/aWwEZr

Steps To Reproduce:
(1) go to the page above.
(2) inspect the body of the page.


Expected Result:
Like it shows for @media(max-width:767px) or any other query, it should display the styles are within the query. 

Actual Result:
http://pocket-giants.d.pr/nXVEc+
No indication at all.

How frequently does this problem reproduce? Always

What is the impact to the user? 
Impacts only developers and can cause confusion.


 
Cc: ligim...@chromium.org
Labels: Needs-Triage-M58 Needs-Bisect
Cc: kavvaru@chromium.org
Components: Blink>CSS
Labels: Needs-Feedback
Unable to reproduce the issue on windows 7 using chrome version 58.0.3029.96 with the below steps

1.Opened the URL https://codepen.io/thewebtech/pen/aWwEZr
2.Inspect on the body of the page
3.Observed the same behaviour as mentioned in screen shot

Please find the attached screen shot for the same.
Would you mind please provide us the expected screen shot to triage the issue from test team end.

Thanks,
717571.png
163 KB View Download
You appear to mis-understand. Your screenshot DOES show the problem.

"@supports" is not indicated ANYWHERE in the inspector, and this is important.

It displays as if it's simply an overriding style but it's more complicated than that because it's within an @supports query.

If you had say:
 @media(min-width:768px){
body{color:teal;}
}
then you inspected the text you would see that the body{color:teal} is within the @media for min-width:768px;

Since @supports only triggers the styles on browsers that claim to support both @supports AND the tested property and value, it is important to be able to see when your styles are within @supports or not. Much in the same way it's important to be able to see media queries when they are active or not.
Hi, bumping this post so it doesn't get forgotten.

Someone please address this issue.

Comment 5 by e...@chromium.org, Feb 1 2018

Labels: -Needs-Feedback
Status: Untriaged (was: Unconfirmed)
Bumping back to triage queue.

Comment 6 by e...@chromium.org, Feb 5 2018

Components: -Blink>CSS Platform>DevTools
Owner: lushnikov@chromium.org
Status: Assigned (was: Untriaged)
WOO!

Glad to see someone addressing it.
Status: Archived (was: Assigned)
DevTools bug triage: archiving low-pri low-demand bugs.

Sign in to add a comment