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

(Update and) Integrate Rendering README into code #10389

Merged
merged 3 commits into from
Jun 1, 2017

Conversation

goderbauer
Copy link
Member

No description provided.

/// Update the semantics for render objects marked as needing a semantics
/// upadate.
///
/// Initially, only the root node, as scheduled by [scheduleInitialSemantics].
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: period should be a comma

@@ -1180,7 +1204,11 @@ class PipelineOwner {
bool _debugDoingSemantics = false;
final List<RenderObject> _nodesNeedingSemantics = <RenderObject>[];

/// Update the semantics for all render objects.
/// Update the semantics for render objects marked as needing a semantics
/// upadate.
Copy link
Contributor

Choose a reason for hiding this comment

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

typo

@@ -2533,8 +2574,10 @@ abstract class RenderObject extends AbstractNode implements HitTestTarget {
if (annotator != null)
return new _ImplicitSemanticsFragment(renderObjectOwner: this, annotator: annotator, children: children);
_semantics = null;
if (children == null)
if (children == null) {
// Introduces no semantics and has no descendants that introduce semantic
Copy link
Contributor

Choose a reason for hiding this comment

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

add "s." to the end of this line

@@ -2547,6 +2590,9 @@ abstract class RenderObject extends AbstractNode implements HitTestTarget {
///
/// The default implementation mirrors the behavior of
/// [visitChildren()] (which is supposed to walk all the children).
///
/// The implementation has to return the children in paint order skipping all
/// children that are not relevant for semantics.
Copy link
Contributor

Choose a reason for hiding this comment

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

These three paragraphs should be tweaked a bit, they're a bit repetitive right now.

@Hixie
Copy link
Contributor

Hixie commented Jun 1, 2017

LGTM

@goderbauer goderbauer merged commit 498cfc6 into flutter:master Jun 1, 2017
@goderbauer goderbauer deleted the renderingReadme branch June 1, 2017 19:52
@goderbauer goderbauer added the a: accessibility Accessibility, e.g. VoiceOver or TalkBack. (aka a11y) label Oct 17, 2017
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a: accessibility Accessibility, e.g. VoiceOver or TalkBack. (aka a11y)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants