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

Clarify use of 'applies to' in style property definition tables (#1088). #1089

Merged
merged 3 commits into from
Jul 11, 2019

Conversation

skynavga
Copy link
Collaborator

Closes #1088.

@skynavga skynavga added this to the 2ED-FPWD milestone May 24, 2019
@skynavga skynavga self-assigned this May 24, 2019
spec/ttml2.xml Show resolved Hide resolved
@caribouW3 caribouW3 removed their request for review May 24, 2019 12:21
Copy link
Contributor

@palemieux palemieux left a comment

Choose a reason for hiding this comment

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

If the CSS definition is going to be used, then it should be used verbatim, without the extraneous moreover....

@cconcolato
Copy link
Contributor

The CSS specification seems clear that the "applies to" line is normative and not "intended to be of a general nature" without normative impact as the PR seems to suggest.

1.4.2.3 Applies to
This part lists the elements to which the property applies. All elements are considered to have all properties, but some properties have no rendering effect on some types of elements. For example, the 'clear' property only affects block-level elements."

What matters is for implementers to be sure that if the condition given in the "applies to" line is not meant, then they can ignore the property for rendering (not for inheritance).

@nigelmegitt
Copy link
Contributor

I could accept just the CSS definition. In other words, in the proposal, delete "Moreover" and all the new text after it.

@skynavga skynavga requested review from palemieux and nigelmegitt and removed request for palemieux May 29, 2019 14:15
@palemieux
Copy link
Contributor

The updated prose resolves my comment at #1089 (review) . I am keeping my blocker so that all related PRs can be evaluated in light of #1043

@skynavga
Copy link
Collaborator Author

skynavga commented Jun 2, 2019

I'd like to point out that XSL-FO 1.1 includes the following elaboration in its use of applies to in Appendix B.4 (emphasis added).

For each property the formatting objects it applies to is listed. It should be noted, however, that for some formatting objects there are qualifications on applicability or values permitted.

Since TTML based its original use of applies to on XSL-FO, by way of analogy, we should probably include this elaboration in the note proposed by this PR.

@skynavga skynavga added the agenda label Jun 3, 2019
@nigelmegitt
Copy link
Contributor

@skynavga I don't think the elaboration adds much of any use: if the Applies to row on the style attribute table further qualifies the set of elements, that is obvious from the context. I don't think there's anything incorrect in the content of the elaboration though.

@skynavga
Copy link
Collaborator Author

skynavga commented Jun 4, 2019

@nigelmegitt the point of my mentioning this was that XSL-FO is saying that the prose of style property definitions define further qualifications on applies to, and that the appendix B.4 (in XSL-FO), which effectively serves the same function of our (and CSS's) applies to entry in style property definition tables, does not itself specify such qualifications: meaning, we do not need to place such qualifications in our applies to table entries either, and might want to add similar language in this PR beyond simply citing CSS;

@nigelmegitt
Copy link
Contributor

@skynavga that may well be the intent of the text but taking it out of context and just looking at the additional sentence, there's nothing to indicate where the additional qualifications are specified, so it doesn't serve the purpose you may have been hoping it does.

Even with the additional context behind the proposal I still think that transplanting it into TTML would not add anything useful, and for that reason I think we should not do so.

@css-meeting-bot
Copy link
Member

The Timed Text Working Group just discussed Clarify use of 'applies to' in style property definition tables (ttml2#1088)..

The full IRC log of that discussion <nigel> Topic: Clarify use of 'applies to' in style property definition tables (ttml2#1088).
<nigel> github: https://github.com//pull/1089
<cyril> scribe: cyril
<cyril> nigel: this one is about 'applies to'
<cyril> ... we're looking at pull 1089
<cyril> ... this PR adds a note
<cyril> pal: that should be part of the broader discussion
<cyril> ... in isolation it makes sense
<cyril> ... the real issue is what do we write in "applies to"
<cyril> glenn: are you asking us to approve or not the whole collections of PR? as a whole?
<cyril> ... the intent was dividing them because they are orthogonal
<cyril> nigel: if we can't agree on what 'applies to' mean, we cannot move on
<cyril> pal: depending on the context of applies to the meaning might change
<cyril> nigel: if we know what 'applies to' should mean, then we can put it
<cyril> ... the current proposal says make it say what CSS does
<cyril> nigel: are you agreeing?
<cyril> pal: I think we should assume that that's the case and move forward
<cyril> ... let's not merge now
<cyril> glenn: I think the chair needs to make a determination on how to move forward
<cyril> nigel: we have agreement can we move forward?
<cyril> glenn: Pierre has put a blocker for process reasons and I don't agree with
<cyril> nigel: moving forward means having a common ground
<cyril> ... is there any objection to adding this text?
<cyril> ... hearing nothing, we have agreement in principle
<cyril> glenn: before you move on, we have 2 approvals on this PR but a blocker
<cyril> ... we need Pierre to remove his blocker
<cyril> nigel: I'm sure Pierre will remove his blocker
<cyril> github: https://github.com//pull/1079
<cyril> github: https://github.com//pull/1089

@skynavga
Copy link
Collaborator Author

skynavga commented Jul 4, 2019

I am withdrawing this PR and closing it since no progress appears possible.

@skynavga skynavga closed this Jul 4, 2019
@skynavga skynavga deleted the issue-1088-style-property-definition-table branch July 4, 2019 16:11
@nigelmegitt nigelmegitt restored the issue-1088-style-property-definition-table branch July 4, 2019 16:17
@skynavga skynavga removed their assignment Jul 4, 2019
@skynavga skynavga reopened this Jul 11, 2019
@skynavga skynavga removed the agenda label Jul 11, 2019
@skynavga
Copy link
Collaborator Author

Based upon today's TTWG call, we have full approval to merge this (which I reopened above).

@skynavga skynavga merged commit fb4aba8 into master Jul 11, 2019
@skynavga skynavga deleted the issue-1088-style-property-definition-table branch July 11, 2019 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Expand on style property definition table.
5 participants