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

Issue 710734 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Apr 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Compat



Sign in to add a comment

conditional support ( @supports test ) testing of 'caption-side: left' is incorrect

Reported by goo...@gtalbot.org, Apr 12 2017

Issue description

UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

Example URL:
http://www.gtalbot.org/BrowserBugsSection/CSS3ConditionalRules/supports-caption-side-left.html

Steps to reproduce the problem:
Load self-explanatory test. Chrome (all versions) does *not* support 'caption-side: left'.

What is the expected behavior?
Since Chrome does not support 'caption-side: left', then Chrome, in that test page, should display "DOES NOT SUPPORT" in red.

What went wrong?
Chrome, in that test page, displays "SUPPORTS" in green. But again, this is not true: Chrome (all versions) does *not* support 'caption-side: left'.

Does it occur on multiple sites: N/A

Is it a problem with a plugin? No 

Did this work before? No 

Does this work in other browsers? Yes

Chrome version: 59.0.3067.0  Channel: dev
OS Version: 
Flash Version: irrelevant

Thread starts here:

http://lists.w3.org/Archives/Public/www-style/2017Apr/0021.html

2 people, besides me, believe that Chrome has a bug.

- - - - - - - -

"
The ‘@supports’ rule is a conditional group rule whose condition tests whether the user agent supports CSS property:value pairs. Authors can use it to write style sheets that use new features when available but degrade gracefully when those features are not supported. (...)
"
https://www.w3.org/TR/css3-conditional/#at-supports

Therefore, a supported property with an unsupported value must cause the @supports condition to fail.

- - - - - - -

The test discloses the user agent string (thanks to a small inline script) so that I can use the test page for browsers in browser shot service sites.
 
Labels: Needs-Triage-M59
Cc: jmukthavaram@chromium.org
Components: Blink>HTML>Script
Labels: -Needs-Triage-M59 M-60 OS-Mac OS-Windows
Status: Untriaged (was: Unconfirmed)
Able to reproduce the issue on Linux Ubuntu 14.04,Mac 10.12.4 & Windows 7 using chrome reported version-59.0.3067.0 ,stable-57.0.2987.133 & Canary-60.0.3072.0 as per the URL mentioned in comment#0.

In Chrome test page ,it displayed as "SUPPORTS" in green when user navigate to below URL.
http://www.gtalbot.org/BrowserBugsSection/CSS3ConditionalRules/supports-caption-side-left.html

This is non-regression issue observed from M30.Hence marking it as 'Untriaged' & confirming this issue to get more inputs from dev.

Please find the attached screencast for reference.
Thanks!!
710734.mp4
313 KB View Download

Comment 3 by eco...@igalia.com, Apr 17 2017

Components: -Blink>HTML>Script Blink>CSS
So the thing is that we parse all four values of caption-side, yet we only check against bottom in layout[1].

I don't think there's a particular reason we're parsing all the values?

[1]: https://cs.chromium.org/search/?q=CaptionSide+package:%5Echromium$&type=cs
Status: Available (was: Untriaged)
While this does appear to be a bug in Chrome, according to https://developer.mozilla.org/en-US/docs/Web/CSS/caption-side Edge also does not support 'caption-side', but testing the provided test in Edge also says 'Supports'.


Labels: Update-Quarterly

Comment 7 by r...@opera.com, Apr 21 2017

Owner: eco...@igalia.com
Status: Started (was: Available)
Could this be set to fixed now?

Comment 8 by eco...@igalia.com, Apr 21 2017

Status: Fixed (was: Started)
Yes, thanks rune.

Sign in to add a comment