Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
Kazuhiro-Mimaki committed May 10, 2024
1 parent 3f45256 commit 55de9c7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions crates/biome_css_analyze/src/keywords.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3826,7 +3826,7 @@ pub const KNOWN_SAFARI_PROPERTIES: [&str; 644] = [
];

// https://github.com/known-css/known-css-properties/blob/master/source/browsers/samsung_internet-23.0.json
pub const KNOWN_SUMSUNG_INTERNET_PROPERTIES: [&str; 608] = [
pub const KNOWN_SAMSUNG_INTERNET_PROPERTIES: [&str; 608] = [
"-webkit-align-content",
"-webkit-align-items",
"-webkit-align-self",
Expand Down Expand Up @@ -5028,7 +5028,7 @@ mod tests {
use super::{
FUNCTION_KEYWORDS, KNOWN_EDGE_PROPERTIES, KNOWN_EXPLORER_PROPERTIES,
KNOWN_FIREFOX_PROPERTIES, KNOWN_PROPERTIES, KNOWN_SAFARI_PROPERTIES,
KNOWN_SUMSUNG_INTERNET_PROPERTIES, KNOWN_US_BROWSER_PROPERTIES, MEDIA_FEATURE_NAMES,
KNOWN_SAMSUNG_INTERNET_PROPERTIES, KNOWN_US_BROWSER_PROPERTIES, MEDIA_FEATURE_NAMES,
};

#[test]
Expand Down Expand Up @@ -5082,7 +5082,7 @@ mod tests {

#[test]
fn test_kown_sumsung_internet_properties_order() {
for items in KNOWN_SUMSUNG_INTERNET_PROPERTIES.windows(2) {
for items in KNOWN_SAMSUNG_INTERNET_PROPERTIES.windows(2) {
assert!(items[0] < items[1], "{} < {}", items[0], items[1]);
}
}
Expand Down
4 changes: 2 additions & 2 deletions crates/biome_css_analyze/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use crate::keywords::{
FONT_STYLE_KEYWORDS, FONT_VARIANTS_KEYWORDS, FONT_WEIGHT_ABSOLUTE_KEYWORDS,
FONT_WEIGHT_NUMERIC_KEYWORDS, FUNCTION_KEYWORDS, KNOWN_CHROME_PROPERTIES,
KNOWN_EDGE_PROPERTIES, KNOWN_EXPLORER_PROPERTIES, KNOWN_FIREFOX_PROPERTIES, KNOWN_PROPERTIES,
KNOWN_SAFARI_PROPERTIES, KNOWN_SUMSUNG_INTERNET_PROPERTIES, KNOWN_US_BROWSER_PROPERTIES,
KNOWN_SAFARI_PROPERTIES, KNOWN_SAMSUNG_INTERNET_PROPERTIES, KNOWN_US_BROWSER_PROPERTIES,
LEVEL_ONE_AND_TWO_PSEUDO_ELEMENTS, LINE_HEIGHT_KEYWORDS, MEDIA_FEATURE_NAMES,
OTHER_PSEUDO_ELEMENTS, SHADOW_TREE_PSEUDO_ELEMENTS, SYSTEM_FAMILY_NAME_KEYWORDS,
VENDOR_PREFIXES, VENDOR_SPECIFIC_PSEUDO_ELEMENTS,
Expand Down Expand Up @@ -138,7 +138,7 @@ pub fn is_known_properties(prop: &str) -> bool {
|| KNOWN_EXPLORER_PROPERTIES.binary_search(&prop).is_ok()
|| KNOWN_FIREFOX_PROPERTIES.binary_search(&prop).is_ok()
|| KNOWN_SAFARI_PROPERTIES.binary_search(&prop).is_ok()
|| KNOWN_SUMSUNG_INTERNET_PROPERTIES
|| KNOWN_SAMSUNG_INTERNET_PROPERTIES
.binary_search(&prop)
.is_ok()
|| KNOWN_US_BROWSER_PROPERTIES.binary_search(&prop).is_ok()
Expand Down

0 comments on commit 55de9c7

Please sign in to comment.