-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
From the orbital height #371
Conversation
赞!辛苦啦 |
校对认领 |
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.
一些小意见,可以参考下~
|
||
This section describes a set of modern standards for "web components". | ||
这一部门将会讲述关于 「Web Components」 的一系列现代标准。 |
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.
这一部门将会讲述关于 「Web Components」 的一系列现代标准。 | |
这一部分我们将会讲述关于「Web Components」的一系列现代标准。 |
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.
- 部门 => 部分
- 删除直角引号左右的空格(根据这里的译文排版规则指北#简体中文使用直角引号)
|
||
As of now, these standards are under development. Some features are well-supported and integrated into the modern HTML/DOM standard, while others are yet in draft stage. You can try examples in any browser, Google Chrome is probably the most up to date with these features. Guess, that's because Google fellows are behind many of the related specifications. | ||
到目前为止,这些标准仍然在发展中。其中一些特性已经被 HTML/DOM 标准非常好的支持,或者已经被结合进了标准,但是还有部分特性仍然处在草案阶段。你可以在任何浏览器中尝试一些例子,Google Chrome 可能是对这些新特性支持地最好的浏览器。猜测可能是因为 Google 公司的人本身就是很多相关标准的支持者。 |
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.
到目前为止,这些标准仍然在发展中。其中一些特性已经被 HTML/DOM 标准非常好的支持,或者已经被结合进了标准,但是还有部分特性仍然处在草案阶段。你可以在任何浏览器中尝试一些例子,Google Chrome 可能是对这些新特性支持地最好的浏览器。猜测可能是因为 Google 公司的人本身就是很多相关标准的支持者。 | |
到目前为止,这些标准仍然在发展中。其中一些特性已经被很好的支持并集成到了现代 HTML/DOM 标准中,但是还有部分特性仍然处在草案阶段。你可以在任何浏览器中尝试一些例子,Google Chrome 可能是对这些新特性支持得最好的浏览器。猜测可能是因为 Google 公司的人本身就是很多相关标准的支持者。 |
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.
到目前为止,这些标准仍然在发展中。
这句话可否翻译为 到目前为止,这些标准仍然在制定中。
|
||
If something becomes complex -- split it into simpler parts and connect in the most obvious way. | ||
如果某个部分变得复杂了 - 将其拆分成更简单的部分,再以最简明的方式组合起来。 |
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.
如果某个部分变得复杂了 - 将其拆分成更简单的部分,再以最简明的方式组合起来。 | |
如果某个部分变得复杂了 —— 将其拆分成更简单的部分,再以最简明的方式组合起来。 |
2. 用户信息。 | ||
3. 关注推荐。 | ||
4. 提交表格。 | ||
5. (6,7也是) - 消息。 |
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.
5. (6,7也是) - 消息。 | |
5. (6,7也是) —— 消息。 |
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.
这里的 --
符号,是不是要改成中文的破折号我不是太清楚。但是在这个页面中请保持一致(71行)。
这里我校对后都改成了 ——
,如有问题再商议!
|
||
There exist many frameworks and development methodologies to build them, each one with its own bells and whistles. Usually, special CSS classes and conventions are used to provide "component feel" -- CSS scoping and DOM encapsulation. | ||
现在已经有了很多框架和开发方法论可以实现组件化,它们各个都有自己的卖点。通常情况下,采用特殊的 CSS 类命名和一些规范,已经可以带来 「组件化的感觉」 - 即 CSS 作用域和 DOM 封装。 |
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.
现在已经有了很多框架和开发方法论可以实现组件化,它们各个都有自己的卖点。通常情况下,采用特殊的 CSS 类命名和一些规范,已经可以带来 「组件化的感觉」 - 即 CSS 作用域和 DOM 封装。 | |
现在已经有了很多框架和开发方法论可以实现组件化,它们各个都有自己的卖点。通常情况下,采用特殊的 CSS 类命名和一些规范,已经可以带来「组件化的感觉」 —— 即 CSS 作用域和 DOM 封装。 |
- [Shadow DOM](https://dom.spec.whatwg.org/#shadow-trees) -- to create an internal DOM for the component, hidden from the others. | ||
- [CSS Scoping](https://drafts.csswg.org/css-scoping/) -- to declare styles that only apply inside the Shadow DOM of the component. | ||
- [Event retargeting](https://dom.spec.whatwg.org/#retarget) and other minor stuff to make custom components better fit the development. | ||
- [Custom elements](https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements) -- 用于自定义 HTML 元素. |
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.
- [Custom elements](https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements) -- 用于自定义 HTML 元素. | |
- [Custom elements](https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements) —— 用于自定义 HTML 元素。 |
- [Event retargeting](https://dom.spec.whatwg.org/#retarget) and other minor stuff to make custom components better fit the development. | ||
- [Custom elements](https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements) -- 用于自定义 HTML 元素. | ||
- [Shadow DOM](https://dom.spec.whatwg.org/#shadow-trees) -- 为组件创造内部 DOM,它对外部是不可见的。 | ||
- [CSS Scoping](https://drafts.csswg.org/css-scoping/) -- 申明只对内部 Shadow DOM 作用的样式。 |
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.
- [CSS Scoping](https://drafts.csswg.org/css-scoping/) -- 申明只对内部 Shadow DOM 作用的样式。 | |
- [CSS Scoping](https://drafts.csswg.org/css-scoping/) —— 申明仅应用于组件的 Shadow DOM 内的样式。 |
|
||
In the next chapter we'll go into details of "Custom Elements" -- the fundamental and well-supported feature of web components, good on its own. | ||
在下一篇中我们将会更细致地讲述 「Custom Elements」 - 一个已经被很广泛支持的 Web Components 重要组成部分。 |
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.
在下一篇中我们将会更细致地讲述 「Custom Elements」 - 一个已经被很广泛支持的 Web Components 重要组成部分。 | |
在下一篇中我们将会更细致地讲述「Custom Elements」 —— 一个已经被很广泛支持的 Web Components 重要组成部分。 |
@leviding @lycheeEng 已经按照意见修改了 |
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.
很赞,各位辛苦啦~
No description provided.