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

[css-transitions-1] transition-property and transition shorthand conflict on whether none can be listed #2031

Open
fantasai opened this issue Dec 3, 2017 · 1 comment
Labels
css-transitions-1 Current Work

Comments

@fantasai
Copy link
Collaborator

fantasai commented Dec 3, 2017

transition-property: none | <single-transition-property>#
transition: [ [ none | <single-transition-property> ] || <time> || <single-timing-function> || <time> ]#

The transition shorthand allows none to be listed multiple times, but the transition-property shorthand it's supposed to be assigned into doesn't allow that. One of these syntaxes is therefore wrong.

@fantasai fantasai added the css-transitions-1 Current Work label Dec 3, 2017
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this issue Sep 24, 2019
… shorthand, a=testonly

Automatic update from web-platform-tests
[css-animations] [css-transitions] parse shorthand (#19195)

Parsing tests for animation and transition shorthands.
https://drafts.csswg.org/css-animations/#animation
https://drafts.csswg.org/css-transitions/#transition-shorthand-property

Open issues:
w3c/csswg-drafts#2031
w3c/csswg-drafts#4034
w3c/csswg-drafts#4223
--

wpt-commits: edffcf9ef316c6906591e734cea5bb42c8a60fdf
wpt-pr: 19195
xeonchen pushed a commit to xeonchen/gecko that referenced this issue Sep 25, 2019
… shorthand, a=testonly

Automatic update from web-platform-tests
[css-animations] [css-transitions] parse shorthand (#19195)

Parsing tests for animation and transition shorthands.
https://drafts.csswg.org/css-animations/#animation
https://drafts.csswg.org/css-transitions/#transition-shorthand-property

Open issues:
w3c/csswg-drafts#2031
w3c/csswg-drafts#4034
w3c/csswg-drafts#4223
--

wpt-commits: edffcf9ef316c6906591e734cea5bb42c8a60fdf
wpt-pr: 19195
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this issue Sep 26, 2019
WPT for animation and transition shorthand computed values.

Open spec issues:
    w3c/csswg-drafts#2031
    w3c/csswg-drafts#4034
    w3c/csswg-drafts#4223

Change-Id: I3cac663f8a4cdce53856a9152e7b38033be9a76b
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this issue Sep 26, 2019
WPT for animation and transition shorthand computed values.

Open spec issues:
    w3c/csswg-drafts#2031
    w3c/csswg-drafts#4034
    w3c/csswg-drafts#4223

Change-Id: I3cac663f8a4cdce53856a9152e7b38033be9a76b
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this issue Sep 27, 2019
WPT for animation and transition shorthand computed values.

Open spec issues:
    w3c/csswg-drafts#2031
    w3c/csswg-drafts#4034
    w3c/csswg-drafts#4223

Change-Id: I3cac663f8a4cdce53856a9152e7b38033be9a76b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1827317
Auto-Submit: Eric Willigers <ericwilligers@chromium.org>
Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
Reviewed-by: Stephen McGruer <smcgruer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#700825}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this issue Sep 27, 2019
WPT for animation and transition shorthand computed values.

Open spec issues:
    w3c/csswg-drafts#2031
    w3c/csswg-drafts#4034
    w3c/csswg-drafts#4223

Change-Id: I3cac663f8a4cdce53856a9152e7b38033be9a76b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1827317
Auto-Submit: Eric Willigers <ericwilligers@chromium.org>
Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
Reviewed-by: Stephen McGruer <smcgruer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#700825}
aarongable pushed a commit to chromium/chromium that referenced this issue Sep 27, 2019
WPT for animation and transition shorthand computed values.

Open spec issues:
    w3c/csswg-drafts#2031
    w3c/csswg-drafts#4034
    w3c/csswg-drafts#4223

Change-Id: I3cac663f8a4cdce53856a9152e7b38033be9a76b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1827317
Auto-Submit: Eric Willigers <ericwilligers@chromium.org>
Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
Reviewed-by: Stephen McGruer <smcgruer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#700825}
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this issue Oct 7, 2019
…nd transition, a=testonly

Automatic update from web-platform-tests
CSS: Test computed value for animation and transition

WPT for animation and transition shorthand computed values.

Open spec issues:
    w3c/csswg-drafts#2031
    w3c/csswg-drafts#4034
    w3c/csswg-drafts#4223

Change-Id: I3cac663f8a4cdce53856a9152e7b38033be9a76b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1827317
Auto-Submit: Eric Willigers <ericwilligers@chromium.org>
Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
Reviewed-by: Stephen McGruer <smcgruer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#700825}

--

wpt-commits: 8530693c047e221fb2f55070082eb79620c56084
wpt-pr: 19320
xeonchen pushed a commit to xeonchen/gecko that referenced this issue Oct 7, 2019
…nd transition, a=testonly

Automatic update from web-platform-tests
CSS: Test computed value for animation and transition

WPT for animation and transition shorthand computed values.

Open spec issues:
    w3c/csswg-drafts#2031
    w3c/csswg-drafts#4034
    w3c/csswg-drafts#4223

Change-Id: I3cac663f8a4cdce53856a9152e7b38033be9a76b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1827317
Auto-Submit: Eric Willigers <ericwilligers@chromium.org>
Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
Reviewed-by: Stephen McGruer <smcgruer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#700825}

--

wpt-commits: 8530693c047e221fb2f55070082eb79620c56084
wpt-pr: 19320
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this issue Oct 7, 2019
…nd transition, a=testonly

Automatic update from web-platform-tests
CSS: Test computed value for animation and transition

WPT for animation and transition shorthand computed values.

Open spec issues:
    w3c/csswg-drafts#2031
    w3c/csswg-drafts#4034
    w3c/csswg-drafts#4223

Change-Id: I3cac663f8a4cdce53856a9152e7b38033be9a76b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1827317
Auto-Submit: Eric Willigers <ericwilligerschromium.org>
Commit-Queue: Stephen McGruer <smcgruerchromium.org>
Reviewed-by: Stephen McGruer <smcgruerchromium.org>
Cr-Commit-Position: refs/heads/master{#700825}

--

wpt-commits: 8530693c047e221fb2f55070082eb79620c56084
wpt-pr: 19320

UltraBlame original commit: c7015155594cd0b9aca8ec471c3ae4119fc62fec
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this issue Oct 7, 2019
…nd transition, a=testonly

Automatic update from web-platform-tests
CSS: Test computed value for animation and transition

WPT for animation and transition shorthand computed values.

Open spec issues:
    w3c/csswg-drafts#2031
    w3c/csswg-drafts#4034
    w3c/csswg-drafts#4223

Change-Id: I3cac663f8a4cdce53856a9152e7b38033be9a76b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1827317
Auto-Submit: Eric Willigers <ericwilligerschromium.org>
Commit-Queue: Stephen McGruer <smcgruerchromium.org>
Reviewed-by: Stephen McGruer <smcgruerchromium.org>
Cr-Commit-Position: refs/heads/master{#700825}

--

wpt-commits: 8530693c047e221fb2f55070082eb79620c56084
wpt-pr: 19320

UltraBlame original commit: c7015155594cd0b9aca8ec471c3ae4119fc62fec
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this issue Oct 7, 2019
…nd transition, a=testonly

Automatic update from web-platform-tests
CSS: Test computed value for animation and transition

WPT for animation and transition shorthand computed values.

Open spec issues:
    w3c/csswg-drafts#2031
    w3c/csswg-drafts#4034
    w3c/csswg-drafts#4223

Change-Id: I3cac663f8a4cdce53856a9152e7b38033be9a76b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1827317
Auto-Submit: Eric Willigers <ericwilligerschromium.org>
Commit-Queue: Stephen McGruer <smcgruerchromium.org>
Reviewed-by: Stephen McGruer <smcgruerchromium.org>
Cr-Commit-Position: refs/heads/master{#700825}

--

wpt-commits: 8530693c047e221fb2f55070082eb79620c56084
wpt-pr: 19320

UltraBlame original commit: c7015155594cd0b9aca8ec471c3ae4119fc62fec
@cdoublev
Copy link
Collaborator

cdoublev commented Sep 8, 2022

Did you missed the transition prose for this rule? (explained in this thread from the archive)

If there is more than one <single-transition> in the shorthand, and any of the transitions has none as the <single-transition-property>, then the declaration is invalid.

EDIT: actually this rule does not make sense because <single-transition-property> does not include none.

Or do you mean that this rule should be hard coded in its value definition, eg.:

Name: transition
Value: <single-transition> [ , [<single-transition-property> || <time> || <easing-function> || <time>]# ]?

<single-transition> = <'transition-property'> || <time> || <easing-function> || <time>

Obviously it would be less confusing to rename <single-transition-property>.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
css-transitions-1 Current Work
Projects
None yet
Development

No branches or pull requests

2 participants