Skip to content

Commit

Permalink
Fix typos in the doc of SimpleSelector (#1251)
Browse files Browse the repository at this point in the history
Co-authored-by: Natalie Weizenbaum <nweiz@google.com>
  • Loading branch information
stof and nex3 committed Apr 15, 2021
1 parent f681906 commit 7106bac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/ast/selector/simple.dart
Expand Up @@ -14,7 +14,7 @@ abstract class SimpleSelector extends Selector {
/// Pseudo selectors that contain selectors, like `:not()` and `:matches()`,
/// can have a range of possible specificities.
///
/// Specifity is represented in base 1000. The spec says this should be
/// Specificity is represented in base 1000. The spec says this should be
/// "sufficiently high"; it's extremely unlikely that any single selector
/// sequence will contain 1000 simple selectors.
int get minSpecificity => 1000;
Expand Down Expand Up @@ -48,7 +48,7 @@ abstract class SimpleSelector extends Selector {
SimpleSelector addSuffix(String suffix) =>
throw SassScriptException('Invalid parent selector "$this"');

/// Returns the compoments of a [CompoundSelector] that matches only elements
/// Returns the components of a [CompoundSelector] that matches only elements
/// matched by both this and [compound].
///
/// By default, this just returns a copy of [compound] with this selector
Expand Down

0 comments on commit 7106bac

Please sign in to comment.