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

Miscellaneous editorial fixes #388

Conversation

palemieux
Copy link
Contributor

Reformat features table (#363)
Add link to constraints in features table (#359)
Fix #background disposition (#374)
Misc editorial fixes (#375)
Add deprecation warning to ittp:progressivelyDecodable (#376)
Add link to constraints in features table (#380)

Add link to constraints in features table (#359)
Fix #background disposition (#374)
Misc editorial fixes (#375)
Add deprecation warning to ittp:progressivelyDecodable (#376)
Add link to constraints in features table (#380)
@palemieux palemieux added this to the imsc1.1 PR milestone Jun 13, 2018
@palemieux palemieux self-assigned this Jun 13, 2018
@palemieux palemieux requested a review from nigelmegitt June 13, 2018 21:54
@spoeschel
Copy link

The color coding somehow has not been added to all features dispositions. Affected are:

  • #displayAspectRatio
  • #permitFeatureNarrowing
  • #region-timing
  • #ruby (Text profile)
  • #set-fill
  • #timeBase-smpte

@spoeschel
Copy link

Add link to constraints in features table (#359)

Links to the following clauses seem to be missing (assuming only normative constraints are considered):

  • 7.12.17 #timing
  • 8.4.4 #fontFamily
  • 8.4.5 #lineHeight

In my opinion the links are sometimes a bit confusing e.g. #extent-region is permitted for both profiles, but the constraints only affect the Text profile. For #extent-root in the line below, the respective constraints apply to both profiles however. I'm not sure if it would be helpful to somehow indicate here to which profile(s) the related constraints belong.

@spoeschel
Copy link

Fix #background disposition (#374)

The second feature in the #background disposition should be #background-image instead of #backgroundColor-image. And for some reason, the features #background-image and #backgroundClip are now missing in the table.

Copy link
Contributor

@nigelmegitt nigelmegitt left a comment

Choose a reason for hiding this comment

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

Have added some further comments additional to those raised by @spoeschel, which I haven't duplicated, but agree with.

</tr>

<tr>
<td><code>#timing</code></td>

<td colspan="2">permitted</td>
<td colspan="2" class="permitted">permitted</td>
Copy link
Contributor

Choose a reason for hiding this comment

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

There's a recommendation (using SHOULD conformance language) against #timing in 7.12.17 that should be linked here.

@@ -4356,9 +3827,12 @@ <h3>General</h3>
<section class='appendix'>
<h3>#progressivelyDecodable</h3>

<p class="deprecation">The <code>#progressivelyDecodable</code> feature is designated as <em>permitted-deprecated</em> in the
profiles defined by this specification.</p>
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this change is intended to address #376 but that issue proposes adding the deprecation warning to §7.8.2 where itts:progressivelyDecodable is specified. I propose adding it in both places.

<td><code>#font</code></td>

<td colspan='2'>prohibited</td>
<code>#extent-image</code>, and <code>#extent-measure</code>.<br>
Copy link
Contributor

Choose a reason for hiding this comment

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

The TTML2 #extent-version-2 feature now also includes #extent-root-version-2 which further includes #extent-auto-version-2. I think we need to be explicit about the handling of those here, even though there's a blanket prohibition on TTML2 features not mentioned.

Copy link
Contributor Author

@palemieux palemieux Jun 14, 2018

Choose a reason for hiding this comment

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

This PR is not intended to cover the recent refactoring of features in TTML2. This PR is intended to be an editorial pass assuming nothing changed in TTML2. A future PR will address the refactoring of features in TTML2.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have opened #390

@@ -71,6 +71,9 @@
.inline-note {font-size: small}
.deprecation {background-color: lavender; border: 3px double; margin: 2px;}
.deprecation::before {content: "\26A0"; margin:0.2em; font-size:2em; float:left;}
td.permitted::first-line { color: green }
td.prohibited::first-line { color: #ff6666 }
td.permitted-deprecated::first-line { color: orange }
Copy link
Contributor

Choose a reason for hiding this comment

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

Have you checked the contrast of this colour against white, for accessibility?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have not checked. These colors/styles are a placeholder at this point.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have opened #391


<td colspan='2'>prohibited</td>
<td colspan="3" style="text-align:center"><em>Relative to the TT Feature namespace</em><br>
All features specified in [[TTML2]] are <em>prohibited</em> unless specified otherwise below</td>
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd like to review this approach with the WG, in case there's a strong view that we should list all features explicitly. Also, it should read "introduced" rather than "specified".

Copy link
Contributor Author

Choose a reason for hiding this comment

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

All features specified in TTML2 (including features carried over from TTML1) that are not specified in the table are prohibited

Choose a reason for hiding this comment

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

When prohibited features are no longer contained in the table, it could be difficult during standardization to tell if a new TTML feature is prohibitied in IMSC or has not yet been considered in IMSC.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

IMSC 1.1 reference TTML 2.0 explicitly, so there cannot be confusion since the list of features in TTML2.0 will not change.

@spoeschel
Copy link

And for some reason, the features #background-image and #backgroundClip are now missing in the table.

OK, this makes sense, as the table header now states that unlisted features are prohibited.

@spoeschel
Copy link

Add deprecation warning to ittp:progressivelyDecodable (#376)

In 7.8.2, a similar box is required as well.

@css-meeting-bot
Copy link
Member

The Working Group just discussed Miscellaneous editorial fixes imsc#388, and agreed to the following:

  • SUMMARY: Pierre to make changes as discussed.
The full IRC log of that discussion <nigel> Topic: Miscellaneous editorial fixes imsc#388
<nigel> github: https://github.com//pull/388
<nigel> Nigel: Given that Stefan and I have given feedback, what do we need to discuss in the meeting?
<nigel> Pierre: I'd like to walk through your feedback Nigel so we can close this and move on.
<nigel> .. It's important to merge this pull request to allow other work to proceed.
<nigel> Pierre: You've requested that features link back to constraints.
<nigel> Nigel: Yes, based on whether there are conformance keywords, rather than just limiting
<nigel> .. to SHALLs and SHALL NOTs.
<nigel> Pierre: Okay, I can deal with that.
<nigel> .. There a bunch of things that you and Stefan noted that are related to changes in TTML2
<nigel> .. but this pull request is not intended to address those. I want to deal with the TTML2
<nigel> .. feature refactoring separately, and not address https://github.com//pull/388#discussion_r195347251
<nigel> .. here.
<nigel> Nigel: Okay, have we got an issue open for it?
<nigel> Pierre: We can open an omnibus issue - it's next on my list.
<nigel> Nigel: Sure, I don't mind taking that approach to allow this to continue.
<nigel> Pierre: [colour contrast question]
<nigel> Nigel: If the answer is "no" you haven't checked then fine, put that on and raise an issue
<nigel> .. to deal with it, then we can proceed.
<nigel> Pierre: Okay, I can do that.
<nigel> Nigel: [TTML2 prohibition comment] I think you mean introduced rather than specified?
<nigel> Pierre: No, really everything in TTML2. I think we should omit prohibited things. It's been
<nigel> .. a source of errors when we tried to track features in TTML2 so it makes it easier to
<nigel> .. maintain if we just include features with some support, and easier to read.
<nigel> Nigel: I think we need to include all dependent features that are potential parts or related
<nigel> .. to bigger "group" features even if they are in fact prohibited, just for clarity. The
<nigel> .. `#extent-auto-version-2` comment above is a good example.
<nigel> Pierre: That makes sense, that will be done.
<nigel> Nigel: We can move that into the TTML2 feature change mop-up issue?
<nigel> Pierre: Yes, absolutely.
<nigel> i/Nigel: I think/Nigel: [TTML2 features comment]
<nigel> Pierre: I wanted to make sure that we didn't think that excluding prohibited features is a
<nigel> .. bad idea. That is the major substantial change in this pull request.
<nigel> Nigel: Just testing the idea. Is it clear and unambiguous? Yes.
<nigel> .. Is it helpful for implementers? Not sure.
<nigel> Pierre: That's not clear to me either.
<nigel> .. For authors it's much easier.
<nigel> Cyril: It's easier from an editor's point of view.
<nigel> .. I think I'm fine with that.
<nigel> Nigel: One more point - the deprecation warning on ittp:progressivelyDecodable.
<nigel> Pierre: I'll add that.
<nigel> .. If I make those changes we discussed will you be able to approve them early tomorrow your time Nigel?
<nigel> Nigel: Yes, I don't see why not.
<nigel> SUMMARY: Pierre to make changes as discussed.

@palemieux
Copy link
Contributor Author

@spoeschel Per #390, I plan to do a complete pass in a separate PR to address changes made by TTML2 CR2

@palemieux
Copy link
Contributor Author

palemieux commented Jun 15, 2018

Nigel: I think we need to include all dependent features that are potential parts or related
.. to bigger "group" features even if they are in fact prohibited, just for clarity. The

@nigelmegitt I tried to implement this, and it didn't really work since this means some prohibited features are included in the table, and some are not, which is even more confusing. I am open to suggestions, or just leaving as is.

@nigelmegitt
Copy link
Contributor

@palemieux how about noting that the prohibited related features are prohibited (and listing them) as a note under the features to which they are related, rather than including them in the main table? For example:

Note that the related TTML2 features #foo-version-2 and #bar-version-2 are prohibited

@spoeschel
Copy link

@palemieux:
I agree that it is confusing when some prohibited features are included and some aren't.

However strictly speaking this is already the case with this MR, as features that are prohibited in only one of the two profiles are still in the table (they have to, of course).

Maybe it would make sense to add a list (in prose) after the TTML table, that contains all features that are prohibited in both IMSC profiles.

@palemieux
Copy link
Contributor Author

Maybe it would make sense to add a list (in prose) after the TTML table, that contains all features that are prohibited in both IMSC profiles.

@spoeschel The challenge is making sure that list is up-to-date. Otherwise, what happens to a feature that is not included in the table? It is permitted, or prohibited? This actually happened with #writingMode-horizontal-rl in image profile in IMSC1.

@palemieux
Copy link
Contributor Author

Note that the related TTML2 features #foo-version-2 and #bar-version-2 are prohibited

This will burden the table significantly:

  • some entries will have a note about dependent features and a note about prohibited dependent features.
  • some dependent features might be prohibited in one profile, but not the other

In fact, instead of listing dependent features, I am wondering if a simply link to the feature in TTML2 should be provided.

@nigelmegitt
Copy link
Contributor

Maybe it would make sense to add a list (in prose) after the TTML table, that contains all features that are prohibited in both IMSC profiles.

@spoeschel , @palemieux already made the point that maintaining the list of prohibited features is an onerous editorial task, and adding such a list would not help. I think a middle way to mention the related prohibited features by note, locally, and not try to list them all in prose, would be better.

@palemieux
Copy link
Contributor Author

@nigelmegitt Having tried a couple of options, I feel that the current approach, i.e. listing dependent features but not stating their individual disposition, is the least terrible: the reader does not have to jump to TTML2 to determine dependent features, and can easily determine whether a feature is supported by IMSC 1.1 by searching the document for each of the dependent features. Maybe there is a smarter approach, but I have not seen it yet.

@nigelmegitt
Copy link
Contributor

I am wondering if a simply link to the feature in TTML2 should be provided.

@palemieux I wondered that too; it certainly has the merit of being easy to traverse to the definition.

@nigelmegitt
Copy link
Contributor

the current approach, i.e. listing dependent features but not stating their individual disposition, is the least terrible

@palemieux right, but then the list of dependent features needs to be complete, yes?

Copy link
Contributor

@nigelmegitt nigelmegitt left a comment

Choose a reason for hiding this comment

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

Approving now so that the editor can merge this and make further progress. If you do that @palemieux but there are outstanding comments not yet addressed please could you raise issues for those comments, so we continue to track them? I'm conscious that this is blocking you at the moment, so want to unblock it as per your request.

@spoeschel
Copy link

@palemieux

The challenge is making sure that list is up-to-date. Otherwise, what happens to a feature that is not included in the table? It is permitted, or prohibited?

Good point; I see that list wouldn't be a good option.

I am wondering if a simply link to the feature in TTML2 should be provided.

This would make life definitely easier.

@spoeschel
Copy link

After separating the two (permitted) provisions for #extent-region due to the different additional constraint for each profile, the same should be done for #origin.

Otherwise it seems fine to me for now.

@palemieux
Copy link
Contributor Author

@spoeschel I have opened #393

@palemieux palemieux merged commit 97ef61a into master Jun 15, 2018
@palemieux palemieux deleted the issues-359-363-374-375-376-380-reformat-features-table+misc-editorial-issues branch July 17, 2018 15:04
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