-
Notifications
You must be signed in to change notification settings - Fork 759
[css-containment] Fix layout containment and fragmentainer interaction #34
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
Changes from 1 commit
4ce37eb
29c0b70
f88fc8c
54d6873
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -138,6 +138,37 @@ Layout Containment</h3> | |
|
|
||
| 2. The element must be a <a>formatting context</a>. | ||
|
|
||
| 3. If a <a>fragmentation context</a> participates in <a>layout containment</a>, | ||
| the first element with <a>layout containment</a> | ||
| affecting the <a>fragmentation context</a> | ||
| must “trap” the remainder of the <a>fragmented flow</a>. | ||
| <a>Fragmentation</a> must not continue past the <a>layout containment</a> boundary, | ||
| and the last <a>fragmentation container</a> | ||
| within the first <a>layout containment</a> boundary | ||
| is treated as if it is the last <a>fragmentation container</a> | ||
| in its <a>fragmentation context</a>. | ||
|
|
||
| If subsequent <a>fragmentation containers</a> in the <a>fragmentation context</a> | ||
| are only generated when more content remains in the <a>fragmented flow</a>, | ||
| then they are not generated. | ||
| If they would exist regardless, | ||
| they remain part of the <a>fragmentation context</a>, | ||
| but do no receive any content from the <a>fragmented flow</a>. | ||
|
|
||
| Specifically: | ||
| - <a spec=css-regions>CSS Regions</a> following the one which traps the content | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do you actually need the spec='' attribute here? It looks like there's only two refs, one from the TR and one from the ED of the Regions spec.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Bikeshed complains if you don't. I think they're not exported.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Well, you know what to do. (Export those terms! You can fix the database yourself!)
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe I can, but I don't know how to. Where is TFM for that, so that I can R it?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Shorter answer: Add an
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oops, I actually knew that one, but assumed based on file extension .src.html that css-regions was not under bikeshed, and then I didn't know. But it is, so I'll fix this. How often is the database refreshed once I've done this?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The linking database is managed by Shepherd, and it parses all the CSS specs, not just those produced by Bikeshed (though the other specs may or may not have their <dfn>s marked up to be recognized properly). The spec database for drafts is updated within minutes after a push. Specs on /TR get updated at least once per day (midnight pacific time).
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good to know the update is a fast one. As for figuring out what to do on non bikeshed specs... Let's just bikeshed them all. |
||
| are still considered part of the <a spec=css-regions>region chain</a> | ||
| as returned by the {{getRegions()}} method | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just to make future problems less likely, better to qualify all attribute/method references with the interface they're from, like |
||
| of the {{NamedFlow}} interface. | ||
| - the {{regionOverset}} attribute of the {{Region}} interface | ||
| of the region which traps the content | ||
| is set to ''overset'' if the content doesn't fit, | ||
| even if it is not the last region in the region chain. | ||
| - If the computed value of the 'continue' property | ||
| on an element with <a>layout containment</a> | ||
| would otherwise have been ''continue/auto'' or ''continue/fragments'', | ||
| it must instead compute to ''continue/overflow''. | ||
|
|
||
| Possible optimizations that can be enabled by <a>layout containment</a> include (but are not limited to): | ||
|
|
||
| 1. When the style or contents of a descendant of the containing element is changed, | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"do not"