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

Fix typos in the doc of SimpleSelector #1251

Merged
merged 2 commits into from Apr 15, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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