Skip to content

Commit 4ca6ca1

Browse files
committed
[cssom][cssom-view] Editorial: Fix spelling errors
1 parent 7c14597 commit 4ca6ca1

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

cssom-view/Overview.bs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ element's <a>block flow direction</a> and <a>inline base direction</a>, as follo
149149
<dd>Leftward and upward.
150150

151151
<dt>If the <a>block flow direction</a> is left-to-right and the <a>inline base direction</a> is right-to-left
152-
<dd>Righward and upward.
152+
<dd>Rightward and upward.
153153
</dl>
154154

155155
The term <dfn>scrolling area</dfn> refers to a box of a <a>viewport</a> or an element that has the following edges, depending on the
@@ -491,7 +491,7 @@ The <dfn method for=Window>moveBy(<var>x</var>, <var>y</var>)</dfn> method must
491491
1. Let <var>source</var> be the <a>responsible browsing context</a> of the <a>incumbent settings object</a>.
492492
1. If <var>source</var> is not <a>allowed to resize and move</a> <var>target</var>, terminate these steps.
493493
1. Optionally, clamp <var>x</var> and <var>y</var> in a user-agent-defined manner so that the window does not move outside the available space.
494-
1. Move <var>target</var>'s window <var>x</var> CSS pixels of <var>target</var> righward and <var>y</var> CSS pixels of <var>target</var> downward.
494+
1. Move <var>target</var>'s window <var>x</var> CSS pixels of <var>target</var> rightward and <var>y</var> CSS pixels of <var>target</var> downward.
495495

496496

497497
The <dfn method for=Window>resizeTo(<var>x</var>, <var>y</var>)</dfn> method must follow these steps:
@@ -511,7 +511,7 @@ The <dfn method for=Window>resizeBy(<var>x</var>, <var>y</var>)</dfn> method mus
511511
1. Let <var>source</var> be the <a>responsible browsing context</a> of the <a>incumbent settings object</a>.
512512
1. If <var>source</var> is not <a>allowed to resize and move</a> <var>target</var>, terminate these steps.
513513
1. Optionally, clamp <var>x</var> and <var>y</var> in a user-agent-defined manner so that the window does not get too small or bigger than the available space.
514-
1. Resize <var>target</var>'s window by moving its right edge <var>x</var> CSS pixels of <var>target</var> righward and its bottom edge <var>y</var> CSS pixels of <var>target</var> downward.
514+
1. Resize <var>target</var>'s window by moving its right edge <var>x</var> CSS pixels of <var>target</var> rightward and its bottom edge <var>y</var> CSS pixels of <var>target</var> downward.
515515
1. Optionally, move <var>target</var>'s window in a user-agent-defined manner so that it does not grow outside the available space.
516516

517517
A <a>browsing context</a> <var>A</var> is <dfn>allowed to resize and move</dfn> a <a>browsing context</a> <var>B</var> if all the following conditions are met:
@@ -923,7 +923,7 @@ result of running these steps:
923923
1. If there is no <a>viewport</a> associated with the document, return null.
924924
1. If either argument is negative, <var>x</var> is greater
925925
than the <a>viewport</a> width excluding the size of a rendered
926-
scroll bar (if any), <var>y</var> is greather than the
926+
scroll bar (if any), <var>y</var> is greater than the
927927
<a>viewport</a> height excluding the size of a rendered scroll bar
928928
(if any) return null.
929929
1. If at the coordinates <var>x</var>,<var>y</var>
@@ -1549,7 +1549,7 @@ The <dfn method for=GeometryUtils lt="getBoxQuads(options)|getBoxQuads()">getBox
15491549

15501550
cross-frames not allowed, throw WrongDocumentError?
15511551

1552-
points are flatterned (3d transform), z=0. like getClientRect
1552+
points are flattened (3d transform), z=0. like getClientRect
15531553

15541554
test block in inline
15551555

@@ -1702,7 +1702,7 @@ generally not listed.
17021702
* The {{Element/scrollIntoView()}} method on {{Element}} was changed and extended.
17031703
* The {{Element/scrollTop}} and {{Element/scrollLeft}} IDL attributes on {{Element}} changed to no
17041704
longer take an object; the {{Element/scroll()}}, {{Element/scrollTo()}} and
1705-
{{Element/scrollBy()}} mehtods were added instead.
1705+
{{Element/scrollBy()}} methods were added instead.
17061706
* The {{Element/scrollWidth}}, {{Element/scrollHeight}}, {{Element/clientTop}},
17071707
{{Element/clientLeft}}, {{Element/clientWidth}} and {{Element/clientHeight}} IDL attributes on
17081708
{{Element}} were changed back to return integers.

cssom/Overview.bs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -733,13 +733,13 @@ represents a style sheet as defined by the CSS specification. In the CSSOM a
733733
for the first style sheet, but is empty for the second and third style sheets.
734734

735735
<pre>
736-
&lt;style lt="papaya whip">
736+
&lt;style title="papaya whip">
737737
body { background: #ffefd5; }
738738
&lt;/style>
739739
</pre>
740740

741741
<pre>
742-
&lt;style lt="">
742+
&lt;style title="">
743743
body { background: orange; }
744744
&lt;/style>
745745
</pre>
@@ -765,9 +765,9 @@ represents a style sheet as defined by the CSS specification. In the CSSOM a
765765
The following <a>CSS style sheets</a> have
766766
their <a>alternate flag</a> set:
767767

768-
<pre>&lt;?xml-stylesheet alternate="yes" lt="x" href="data:text/css,&hellip;"?></pre>
768+
<pre>&lt;?xml-stylesheet alternate="yes" title="x" href="data:text/css,&hellip;"?></pre>
769769

770-
<pre>&lt;link rel="alternate stylesheet" lt="x" href="data:text/css,&hellip;"></pre>
770+
<pre>&lt;link rel="alternate stylesheet" title="x" href="data:text/css,&hellip;"></pre>
771771
</div>
772772

773773

@@ -1556,7 +1556,7 @@ The <dfn attribute for=CSSRule>type</dfn> attribute must return the CSS rule typ
15561556
<dt>If the object is a {{CSSStyleRule}}
15571557
<dd>Return <dfn const for=CSSRule>STYLE_RULE</dfn> (numeric value 1).
15581558
<dt>If the object is a {{CSSImportRule}}
1559-
<dd>Return <dfn const for=CSSRule>IMPORT_RULE</dfn> (numberic value 3).
1559+
<dd>Return <dfn const for=CSSRule>IMPORT_RULE</dfn> (numeric value 3).
15601560
<dt>If the object is a {{CSSMediaRule}}
15611561
<dd>Return <dfn const for=CSSRule>MEDIA_RULE</dfn> (numeric value 4).
15621562
<dt>If the object is a {{CSSFontFaceRule}}
@@ -1901,7 +1901,7 @@ To <dfn>serialize a CSS declaration block</dfn> <var>declaration block</var> mea
19011901

19021902
Note: The serialization of an empty CSS declaration block is the empty string.
19031903

1904-
Note: The serialization of a non-empty CSS declaration block does not include any surrounding whitespace, i.e., no whitepsace appears
1904+
Note: The serialization of a non-empty CSS declaration block does not include any surrounding whitespace, i.e., no whitespace appears
19051905
before the first property name and no whitespace appears after the final semicolon delimiter that follows the last property value.
19061906

19071907
The <dfn id=concept-shorthands-preferred-order>preferred order</dfn> of a list of shorthand properties <var>shorthands</var> is as follows:

0 commit comments

Comments
 (0)