servo: Merge #13439 - Fix some links in the style doc (from servo:shinglyu-patch-1-1); r=Wafflespeanut
authorShing Lyu <shing.lyu@gmail.com>
Fri, 30 Sep 2016 03:11:07 -0500
changeset 339782 4d61566cdbbfbb9927abc862f32d67e2a06b1021
parent 339781 164955232a8734c9dae47841439a3bf4fb34ce95
child 339783 042660e03661303bbbcaedb50feebd107f0cb640
push id31307
push usergszorc@mozilla.com
push dateSat, 04 Feb 2017 00:59:06 +0000
treeherdermozilla-central@94079d43835f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersWafflespeanut
servo: Merge #13439 - Fix some links in the style doc (from servo:shinglyu-patch-1-1); r=Wafflespeanut <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because It's doc <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Source-Repo: https://github.com/servo/servo Source-Revision: 4ec2f08e77b16e30f40d95d1ae8d79fc9da49b0f
servo/docs/components/style.md
--- a/servo/docs/components/style.md
+++ b/servo/docs/components/style.md
@@ -35,17 +35,17 @@ Layout's [`wrapper`][layout-wrapper] mod
 layout traits have the required traits implemented.
 
 <a name="stylist"></a>
 ## The Stylist
 
 The [`stylist`][stylist] structure is the one that holds all the selectors and
 device characteristics for a given document.
 
-The stylesheets' CSS rules are converted into [`Rule`][selectors-rules]s, and
+The stylesheets' CSS rules are converted into [`Rule`][selectors-rule]s, and
 introduced in a [`SelectorMap`][selectors-selectormap] depending on the
 pseudo-element (see [`PerPseudoElementSelectorMap`][per-pseudo-selectormap]),
 stylesheet origin (see [`PerOriginSelectorMap`][per-origin-selectormap]), and
 priority (see the `normal` and `important` fields in
 [`PerOriginSelectorMap`][per-origin-selectormap]).
 
 This structure is effectively created once per [pipeline][docs-pipeline], in the
 LayoutThread corresponding to that pipeline.
@@ -144,15 +144,15 @@ that you didn't find it here so it can b
 [style-dom-traits]: http://doc.servo.org/style/dom/index.html
 [layout-wrapper]: http://doc.servo.org/layout/wrapper/index.html
 [pseudo-cascade-type]: http://doc.servo.org/style/selector_impl/enum.PseudoElementCascadeType.html
 [servo-pseudo-elements]: http://doc.servo.org/style/selector_impl/enum.PseudoElement.html
 [mdn-pseudo-before]: https://developer.mozilla.org/en/docs/Web/CSS/::before
 [mdn-pseudo-after]: https://developer.mozilla.org/en/docs/Web/CSS/::after
 [mdn-pseudo-selection]: https://developer.mozilla.org/en/docs/Web/CSS/::selection
 [stylist]: http://doc.servo.org/style/selector_matching/struct.Stylist.html
-[selectors-selectormap]: http://doc.servo.org/style/selector_matching/struct.SelectorMap.html
-[selectors-rule]: http://doc.servo.org/style/selector_matching/struct.Rule.html
+[selectors-selectormap]: http://doc.servo.org/selectors/matching/struct.SelectorMap.html
+[selectors-rule]: http://doc.servo.org/selectors/matching/struct.Rule.html
 [per-pseudo-selectormap]: http://doc.servo.org/style/selector_matching/struct.PerPseudoElementSelectorMap.html
 [per-origin-selectormap]: http://doc.servo.org/style/selector_matching/struct.PerOriginSelectorMap.html
 [docs-pipeline]: https://github.com/servo/servo/blob/master/docs/glossary.md#pipeline
 [properties-module]: http://doc.servo.org/style/properties/index.html
 [properties-cascade-fn]: http://doc.servo.org/style/properties/fn.cascade.html