Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
qq_14980201
ueditor
提交
75a50766
U
ueditor
项目概览
qq_14980201
/
ueditor
与 Fork 源项目一致
从无法访问的项目Fork
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
U
ueditor
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
75a50766
编写于
11月 07, 2013
作者:
Y
yancend
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[test]
上级
8762f2c2
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
10 addition
and
4 deletion
+10
-4
_test/plugins/table.action.js
_test/plugins/table.action.js
+8
-2
_test/tools/br/config.php
_test/tools/br/config.php
+2
-2
未找到文件。
_test/plugins/table.action.js
浏览文件 @
75a50766
...
...
@@ -333,8 +333,10 @@ test('backspace事件:deleterow', function () {
ua
.
keydown
(
editor
.
body
,
{
'
keyCode
'
:
8
});
setTimeout
(
function
()
{
equal
(
editor
.
body
.
getElementsByTagName
(
'
tr
'
).
length
,
2
,
'
删除整行
'
);
if
(
!
ua
.
browser
.
ie
||
ua
.
browser
.
ie
<
9
){
//todo
equal
(
editor
.
selection
.
getRange
().
collapsed
,
true
,
'
检查光标
'
);
equal
(
editor
.
selection
.
getRange
().
startContainer
,
editor
.
body
.
getElementsByTagName
(
'
td
'
)[
0
],
'
检查光标
'
);
}
start
();
},
100
);
},
50
);
...
...
@@ -357,8 +359,10 @@ test('backspace事件:deletecol', function () {
ua
.
keydown
(
trs
[
0
].
cells
[
0
],
{
'
keyCode
'
:
8
});
setTimeout
(
function
()
{
equal
(
editor
.
body
.
getElementsByTagName
(
'
tr
'
)[
0
].
getElementsByTagName
(
'
td
'
).
length
,
2
,
'
删除整列
'
);
equal
(
editor
.
selection
.
getRange
().
collapsed
,
true
,
'
检查光标
'
);
equal
(
editor
.
selection
.
getRange
().
startContainer
,
editor
.
body
.
getElementsByTagName
(
'
td
'
)[
0
],
'
检查光标
'
);
if
(
!
ua
.
browser
.
ie
||
ua
.
browser
.
ie
<
9
){
//todo
equal
(
editor
.
selection
.
getRange
().
collapsed
,
true
,
'
检查光标
'
);
equal
(
editor
.
selection
.
getRange
().
startContainer
,
editor
.
body
.
getElementsByTagName
(
'
td
'
)[
0
],
'
检查光标
'
);
}
start
();
},
100
);
},
50
);
...
...
@@ -386,8 +390,10 @@ test('表格名称中backspace键', function () {
equal
(
editor
.
body
.
getElementsByTagName
(
'
table
'
).
length
,
1
,
'
不会增加表格数量
'
);
equal
(
editor
.
body
.
getElementsByTagName
(
'
tr
'
).
length
,
3
,
'
不会增加表格行数量
'
);
equal
(
editor
.
body
.
getElementsByTagName
(
'
tr
'
)[
0
].
cells
.
length
,
3
,
'
不会增加表格列数量
'
);
if
(
!
ua
.
browser
.
ie
||
ua
.
browser
.
ie
<
9
){
//todo
equal
(
editor
.
selection
.
getRange
().
collapsed
,
true
,
'
检查光标
'
);
equal
(
editor
.
selection
.
getRange
().
startContainer
,
editor
.
body
.
getElementsByTagName
(
'
td
'
)[
0
],
'
检查光标
'
);
}
start
();
},
100
);
},
200
);
...
...
_test/tools/br/config.php
浏览文件 @
75a50766
...
...
@@ -2,7 +2,7 @@
class
Config
{
public
static
$BROWSERS
=
array
(
'ie8supp'
=>
array
(
'10.81.58.6
3
@8500'
,
"C:
\\
Program Files
\\
Internet Explorer
\\
iexplore.exe"
)
'ie8supp'
=>
array
(
'10.81.58.6
4
@8500'
,
"C:
\\
Program Files
\\
Internet Explorer
\\
iexplore.exe"
)
,
'firefox'
=>
array
(
'10.81.58.86@8500'
,
"C:
\\
Program Files
\\
mozilla firefox
\\
firefox.exe"
)
// 'firefox' => array( '10.81.96.46@8500' , "C:\\Program Files (x86)\\Mozilla Firefox\\firefox.exe" )
...
...
@@ -14,7 +14,7 @@
,
'chrome'
=>
array
(
'10.81.58.63@8500'
,
"C:
\\
Documents and Settings
\\
geqa1
\\
Local Settings
\\
Application Data
\\
Google
\\
Chrome
\\
Application
\\
chrome.exe"
)
,
'ie8main'
=>
array
(
'10.81.58.6
3
@8500'
,
"C:
\\
Program Files
\\
Internet Explorer
\\
iexplore.exe"
)
'ie8main'
=>
array
(
'10.81.58.6
4
@8500'
,
"C:
\\
Program Files
\\
Internet Explorer
\\
iexplore.exe"
)
// , 'ie7' => array( '10.81.58.87@8500' , "C:\\Program Files\\Internet Explorer\\iexplore.exe" )
// , 'opera' => array( '10.81.58.64@8500' , "C:\\Program Files\\Opera\\opera.exe" )
// , 'safari' => array( '10.81.58.63@8500' , "C:\\Program Files\\Safari\\Safari.exe" )
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录