Skip to content

Conversation

@fantasai
Copy link
Collaborator

@fantasai fantasai commented Sep 7, 2022

Addresses remaining points in #7044 (comment)

@fantasai fantasai force-pushed the view-timeline-phases branch from 829f280 to 77d04a1 Compare September 8, 2022 00:09
[Exposed=Window]
interface AnimationTimeline {
readonly attribute double? currentTime;
CSSNumericValue? getCurrentTime(optional CSSOMString rangeName);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still using spaces, for some reason?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So usually when I write preformatted code I indent my source with tabs and indent the preformatted code with spaces. Are you saying that Bikeshed converts tabs to spaces in the output?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. It'll preserve spaces if you use them, but for pre it changes tabs into 4 spaces.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I'll do that in a separate commit for the whole file maybe. Since the rest of the IDL also uses 2-space indents here.

@fantasai fantasai force-pushed the view-timeline-phases branch from c7369b5 to ba56688 Compare September 8, 2022 01:20
The CSS ''@keyframes'' rule is extended thus:

<pre class="prod">
<<keyframe-selector>> = from | to | <<percentage>> | <<timeline-range-name>> <<percentage>>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should these animation property changes go in the css-animations spec?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Eventually, yes. Right now CSS Animations 2 is only an ED and it's not clear what the plan is for FPWD.

* the [=end=] [=border edge=] of the element’s [=principal box=]
coincides with the [=end=] edge of its [=view progress visibility range=].

<dt><dfn>entry</dfn>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be enter

Copy link
Collaborator Author

@fantasai fantasai Sep 15, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should it? Kinda feels like phase names make more sense as nouns than verbs, but I'm open to debating it. Marked as an issue for now.

Represents the range during which the [=principal box=]
is either fully contained by, or fully covers,
its [=view progress visibility range=] within the [=scrollport=].
* 0% progress represents the earlier position at which:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar remark to the one above about the “View Progress Visibility Range” (vpvr) – it depends on how you look at it when naming the edges.

Maybe split this up differently so it talks about subjects smaller/larger then the possible area?

  • For subjects whose size is smaller than the vpvr:
    • 0% progress = the end border edge of the element’s principal box coinciding with the end edge of the vpvr
    • 100% progress = the start border edge of the element’s principal box coinciding with the start edge of the vpvr
  • For subjects whose size is larger than the vpvr:
    • 0% progress = the start border edge of the element’s principal box coinciding with the start edge of the
    • 100% progress = the end border edge of the element’s principal box coinciding with the end edge of the

Copy link
Collaborator Author

@fantasai fantasai Sep 15, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar remark to the one above about the “View Progress Visibility Range” (vpvr) – it depends on how you look at it when naming the edges.

Edges are named according to the writing mode, this is already defined at the bottom of the section.

Maybe split this up differently so it talks about subjects smaller/larger then the possible area?

Sure, could do that. Maybe in a follow-up commit? It does mess with parallel construction a bit and then have to pick which condition handles the "equal to" situation...

* 100% is equivalent to 100% of the ''animation-timeline-range/cover'' range.
</dl>

ISSUE: Insert diagrams.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can help with this.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That would be super helpful!

@fantasai fantasai force-pushed the view-timeline-phases branch from ba56688 to c9e4be5 Compare September 15, 2022 16:57
@fantasai fantasai force-pushed the view-timeline-phases branch from c9e4be5 to a21abcc Compare September 15, 2022 17:01
@fantasai fantasai merged commit 4afadca into w3c:main Sep 15, 2022
@fantasai fantasai deleted the view-timeline-phases branch September 15, 2022 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants