зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
ac64cb089a
Коммит
fc3f836b49
|
@ -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");
|
||||
}
|
||||
});
|
||||
|
|
Загрузка…
Ссылка в новой задаче