Bug 1253330 - Fix heap-tree-item-field heap-tree-item-name inline style (margin-left) in RTL. r=ntim

MozReview-Commit-ID: Irz2x4P7hx4
This commit is contained in:
Steve Chung 2016-08-03 14:24:19 +08:00
Родитель ac64cb089a
Коммит fc3f836b49
4 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -98,7 +98,7 @@ const CensusTreeItem = module.exports = createClass({
dom.span(
{
className: "heap-tree-item-field heap-tree-item-name",
style: { marginLeft: depth * TREE_ROW_HEIGHT }
style: { marginInlineStart: depth * TREE_ROW_HEIGHT }
},
arrow,
pointer,

Просмотреть файл

@ -130,7 +130,7 @@ const DominatorTreeItem = module.exports = createClass({
dom.span(
{
className: "heap-tree-item-field heap-tree-item-name",
style: { marginLeft: depth * TREE_ROW_HEIGHT }
style: { marginInlineStart: depth * TREE_ROW_HEIGHT }
},
arrow,
label,

Просмотреть файл

@ -45,7 +45,7 @@ const DominatorTreeSubtreeFetching = createFactory(createClass({
dom.span({ className: "heap-tree-item-field heap-tree-item-bytes" }),
dom.span({
className: "heap-tree-item-field heap-tree-item-name devtools-throbber",
style: { marginLeft: depth * TREE_ROW_HEIGHT }
style: { marginInlineStart: depth * TREE_ROW_HEIGHT }
})
);
}
@ -87,7 +87,7 @@ const DominatorTreeSiblingLink = createFactory(createClass({
dom.span(
{
className: "heap-tree-item-field heap-tree-item-name",
style: { marginLeft: depth * TREE_ROW_HEIGHT }
style: { marginInlineStart: depth * TREE_ROW_HEIGHT }
},
dom.a(
{

Просмотреть файл

@ -31,7 +31,7 @@ this.test = makeMemoryTest(TEST_URL, function* ({ tab, panel }) {
for (let el of nameElems) {
dumpn(`Found ${el.textContent.trim()}`);
is(el.style.marginLeft, "0px",
is(el.style.marginInlineStart, "0px",
"None of the elements should be an indented/expanded child");
}
});