1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-05-07 11:36:15 +02:00

Merge branch 'sd/userdiff-css-update'

Userdiff for CSS update.

* sd/userdiff-css-update:
  userdiff: expand detected chunk headers for css
This commit is contained in:
Junio C Hamano 2020-10-27 15:09:46 -07:00
commit 2810828d7c
6 changed files with 27 additions and 1 deletions

View File

@ -0,0 +1,4 @@
[class*="RIGHT"] {
background : #000;
border : 10px ChangeMe #C6C6C6;
}

View File

@ -0,0 +1,10 @@
@keyframes RIGHT {
from {
background : #000;
border : 10px ChangeMe #C6C6C6;
}
to {
background : #fff;
border : 10px solid #C6C6C6;
}
}

View File

@ -0,0 +1,4 @@
.RIGHT {
background : #000;
border : 10px ChangeMe #C6C6C6;
}

4
t/t4018/css-id-selector Normal file
View File

@ -0,0 +1,4 @@
#RIGHT {
background : #000;
border : 10px ChangeMe #C6C6C6;
}

View File

@ -0,0 +1,4 @@
:RIGHT {
background : #000;
border : 10px ChangeMe #C6C6C6;
}

View File

@ -200,7 +200,7 @@ PATTERNS("csharp",
"|[-+*/<>%&^|=!]=|--|\\+\\+|<<=?|>>=?|&&|\\|\\||::|->"),
IPATTERN("css",
"![:;][[:space:]]*$\n"
"^[_a-z0-9].*$",
"^[:[@.#]?[_a-z0-9].*$",
/* -- */
/*
* This regex comes from W3C CSS specs. Should theoretically also