Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
CoCo_Code_Op2
next.js
提交
48ca2f2c
N
next.js
项目概览
CoCo_Code_Op2
/
next.js
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
N
next.js
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
48ca2f2c
编写于
8月 04, 2020
作者:
J
Joe Haddad
提交者:
GitHub
8月 04, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix CSS grid-column shorthand syntax (#15848)
上级
e0d0c2eb
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
20 addition
and
12 deletion
+20
-12
packages/next/package.json
packages/next/package.json
+1
-1
test/integration/css-fixtures/compilation-and-prefixing/styles/global.css
.../css-fixtures/compilation-and-prefixing/styles/global.css
+4
-0
test/integration/css/test/index.test.js
test/integration/css/test/index.test.js
+6
-2
yarn.lock
yarn.lock
+9
-9
未找到文件。
packages/next/package.json
浏览文件 @
48ca2f2c
...
@@ -87,7 +87,7 @@
...
@@ -87,7 +87,7 @@
"cacache"
:
"13.0.1"
,
"cacache"
:
"13.0.1"
,
"chokidar"
:
"2.1.8"
,
"chokidar"
:
"2.1.8"
,
"css-loader"
:
"3.5.3"
,
"css-loader"
:
"3.5.3"
,
"cssnano-simple"
:
"1.0.
5
"
,
"cssnano-simple"
:
"1.0.
6
"
,
"find-cache-dir"
:
"3.3.1"
,
"find-cache-dir"
:
"3.3.1"
,
"jest-worker"
:
"24.9.0"
,
"jest-worker"
:
"24.9.0"
,
"loader-utils"
:
"2.0.0"
,
"loader-utils"
:
"2.0.0"
,
...
...
test/integration/css-fixtures/compilation-and-prefixing/styles/global.css
浏览文件 @
48ca2f2c
...
@@ -12,6 +12,10 @@
...
@@ -12,6 +12,10 @@
transform
:
translate3d
(
0px
,
0px
);
transform
:
translate3d
(
0px
,
0px
);
}
}
.css-grid-shorthand
{
grid-column
:
span
2
;
}
.g-docs-sidenav
.filter
::-webkit-input-placeholder
{
.g-docs-sidenav
.filter
::-webkit-input-placeholder
{
opacity
:
80%
;
opacity
:
80%
;
}
}
test/integration/css/test/index.test.js
浏览文件 @
48ca2f2c
...
@@ -163,7 +163,7 @@ describe('CSS Support', () => {
...
@@ -163,7 +163,7 @@ describe('CSS Support', () => {
expect
(
expect
(
cssContent
.
replace
(
/
\/\*
.*
?\*\/
/g
,
''
).
trim
()
cssContent
.
replace
(
/
\/\*
.*
?\*\/
/g
,
''
).
trim
()
).
toMatchInlineSnapshot
(
).
toMatchInlineSnapshot
(
`"@media (min-width:480px) and (max-width:767px){::-moz-placeholder{color:green}:-ms-input-placeholder{color:green}::-ms-input-placeholder{color:green}::placeholder{color:green}}.flex-parsing{flex:0 0 calc(50% - var(--vertical-gutter))}.transform-parsing{transform:translate3d(0,0)}.g-docs-sidenav .filter::-webkit-input-placeholder{opacity:80%}"`
`"@media (min-width:480px) and (max-width:767px){::-moz-placeholder{color:green}:-ms-input-placeholder{color:green}::-ms-input-placeholder{color:green}::placeholder{color:green}}.flex-parsing{flex:0 0 calc(50% - var(--vertical-gutter))}.transform-parsing{transform:translate3d(0,0)}.
css-grid-shorthand{grid-column:span 2}.
g-docs-sidenav .filter::-webkit-input-placeholder{opacity:80%}"`
)
)
// Contains a source map
// Contains a source map
...
@@ -184,7 +184,7 @@ describe('CSS Support', () => {
...
@@ -184,7 +184,7 @@ describe('CSS Support', () => {
const
{
version
,
mappings
,
sourcesContent
}
=
JSON
.
parse
(
cssMapContent
)
const
{
version
,
mappings
,
sourcesContent
}
=
JSON
.
parse
(
cssMapContent
)
expect
({
version
,
mappings
,
sourcesContent
}).
toMatchInlineSnapshot
(
`
expect
({
version
,
mappings
,
sourcesContent
}).
toMatchInlineSnapshot
(
`
Object {
Object {
"mappings": "AAAA,+CACE,mBACE,WACF,CAFA,uBACE,WACF,CAFA,wBACE,WACF,CAFA,cACE,WACF,CACF,CAEA,cACE,2CACF,CAEA,mBACE,0BACF,CAEA,mDACE,WACF",
"mappings": "AAAA,+CACE,mBACE,WACF,CAFA,uBACE,WACF,CAFA,wBACE,WACF,CAFA,cACE,WACF,CACF,CAEA,cACE,2CACF,CAEA,mBACE,0BACF,CAEA,
oBACE,kBACF,CAEA,
mDACE,WACF",
"sourcesContent": Array [
"sourcesContent": Array [
"@media (480px <= width < 768px) {
"@media (480px <= width < 768px) {
::placeholder {
::placeholder {
...
@@ -200,6 +200,10 @@ describe('CSS Support', () => {
...
@@ -200,6 +200,10 @@ describe('CSS Support', () => {
transform: translate3d(0px, 0px);
transform: translate3d(0px, 0px);
}
}
.css-grid-shorthand {
grid-column: span 2;
}
.g-docs-sidenav .filter::-webkit-input-placeholder {
.g-docs-sidenav .filter::-webkit-input-placeholder {
opacity: 80%;
opacity: 80%;
}
}
...
...
yarn.lock
浏览文件 @
48ca2f2c
...
@@ -5571,19 +5571,19 @@ cssnano-preset-default@^4.0.7:
...
@@ -5571,19 +5571,19 @@ cssnano-preset-default@^4.0.7:
postcss-svgo "^4.0.2"
postcss-svgo "^4.0.2"
postcss-unique-selectors "^4.0.1"
postcss-unique-selectors "^4.0.1"
cssnano-preset-simple@1.1.
4
:
cssnano-preset-simple@1.1.
5
:
version "1.1.
4
"
version "1.1.
5
"
resolved "https://registry.yarnpkg.com/cssnano-preset-simple/-/cssnano-preset-simple-1.1.
4.tgz#7b287a31df786348565d02342df71af8f758ac8
2"
resolved "https://registry.yarnpkg.com/cssnano-preset-simple/-/cssnano-preset-simple-1.1.
5.tgz#3a26829988ca20f5ffdb6d41c1df5b791db8a19
2"
integrity sha512-
EYKDo65W+AxMViUijv/hvhbEnxUjmu3V7omcH1MatPOwjRLrAgVArUOE8wTUyc1ePFEtvV8oCT4/QSRJDorm/A
==
integrity sha512-
/zuE8EMVg7KFNR5Olj0ZnaMs3vtswcUcnr86zdVVCrhx3rY5DVDHWSiFE9/IGNl0SSVqi3AekPEnoNoLcQFHQw
==
dependencies:
dependencies:
postcss "^7.0.32"
postcss "^7.0.32"
cssnano-simple@1.0.
5
:
cssnano-simple@1.0.
6
:
version "1.0.
5
"
version "1.0.
6
"
resolved "https://registry.yarnpkg.com/cssnano-simple/-/cssnano-simple-1.0.
5.tgz#66ee528f3a4e60754e2625ea9f51ac315f5f0a92
"
resolved "https://registry.yarnpkg.com/cssnano-simple/-/cssnano-simple-1.0.
6.tgz#e2e33c57b2b829a330467c7dbb15100bac37c8ea
"
integrity sha512-
NJjx2Er1C3pa75v1GwMKm0w6xAp1GsW2Ql1As4CWPNFxTgYFN5e8wblYeHfna13sANAhyIdSIPqKJjBO4CU5Eg
==
integrity sha512-
q34pHOD8TFmZ6Etua7zJiebAl+8dV3Jb5O2pOdmCNJ/Ia8By9NQXk8at5WVW8qCVBFLm9ge5oaFXgU3FBFVTYw
==
dependencies:
dependencies:
cssnano-preset-simple "1.1.
4
"
cssnano-preset-simple "1.1.
5
"
postcss "^7.0.32"
postcss "^7.0.32"
cssnano-util-get-arguments@^4.0.0:
cssnano-util-get-arguments@^4.0.0:
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录