Paragraph content: - This town is 100 km away. - « Est-ce Paris ? » -- Consecutive non-breaking spaces: ' ' - Text padded using editor-generated pattern. +- Consecutive non-breaking spaces: " "
diff --git a/devtools/client/debugger/src/components/SecondaryPanes/Frames/FrameIndent.js b/devtools/client/debugger/src/components/SecondaryPanes/Frames/FrameIndent.js index d52f3f6c7bbd..55eb5da08a2f 100644 --- a/devtools/client/debugger/src/components/SecondaryPanes/Frames/FrameIndent.js +++ b/devtools/client/debugger/src/components/SecondaryPanes/Frames/FrameIndent.js @@ -6,6 +6,8 @@ import React from "react"; export default function FrameIndent() { return ( - + + + ); } diff --git a/devtools/client/debugger/src/components/SecondaryPanes/Frames/Frames.css b/devtools/client/debugger/src/components/SecondaryPanes/Frames/Frames.css index ec5da2230847..5f57f97e5174 100644 --- a/devtools/client/debugger/src/components/SecondaryPanes/Frames/Frames.css +++ b/devtools/client/debugger/src/components/SecondaryPanes/Frames/Frames.css @@ -150,10 +150,6 @@ left: -9999px; } -.frames .frame-indent { - white-space: pre; -} - .call-stack-pane [role="listitem"] .location-async-cause { height: 20px; line-height: 20px; diff --git a/devtools/client/inspector/computed/test/browser_computed_select-and-copy-styles-02.js b/devtools/client/inspector/computed/test/browser_computed_select-and-copy-styles-02.js index 99c3bdc0b91c..8df2e25cf41f 100644 --- a/devtools/client/inspector/computed/test/browser_computed_select-and-copy-styles-02.js +++ b/devtools/client/inspector/computed/test/browser_computed_select-and-copy-styles-02.js @@ -20,11 +20,11 @@ add_task(async function() { expectedPattern = "text-align: left;[\\r\\n]+" + "element[\\r\\n]+" + - "Best Match this.style[\\r\\n]+" + + "Best Match this.style[\\r\\n]+" + "left[\\r\\n]+" + "width: 25px;[\\r\\n]+" + "element[\\r\\n]+" + - "Best Match this.style[\\r\\n]+" + + "Best Match this.style[\\r\\n]+" + "25px[\\r\\n]*"; info("Expanding computed view properties"); diff --git a/devtools/client/shared/components/SmartTrace.css b/devtools/client/shared/components/SmartTrace.css index 320869fb2835..270d38949cf6 100644 --- a/devtools/client/shared/components/SmartTrace.css +++ b/devtools/client/shared/components/SmartTrace.css @@ -30,10 +30,6 @@ white-space: normal; } -.frames .frame-indent { - white-space: pre; -} - .frames .title { text-overflow: ellipsis; white-space: nowrap; diff --git a/dom/base/test/test_bug650784.html b/dom/base/test/test_bug650784.html index 368b96acb2f9..aacc3428993c 100644 --- a/dom/base/test/test_bug650784.html +++ b/dom/base/test/test_bug650784.html @@ -23,8 +23,8 @@ is(s.convertToPlainText("foo", c.OutputLFLineBreak, 0), "foo", "Wrong conversion is(s.convertToPlainText("foo foo foo", c.OutputWrap | c.OutputLFLineBreak, 7), "foo foo\nfoo", "Wrong conversion result 2"); is(s.convertToPlainText("
foo", c.OutputLFLineBreak, 0), "foo", "Wrong conversion result 3"); is(s.convertToPlainText("foo", c.OutputNoScriptContent, 0), "barfoo", "Wrong conversion result 4"); -is(s.convertToPlainText("foo\u00A0 bar", c.OutputPersistNBSP | c.OutputLFLineBreak, 0), "foo\u00A0 bar", "Wrong conversion result 5"); -is(s.convertToPlainText("foo\u00A0 bar", c.OutputLFLineBreak, 0), "foo bar", "Wrong conversion result 6"); +is(s.convertToPlainText("foo\u00A0bar", c.OutputPersistNBSP | c.OutputLFLineBreak, 0), "foo\u00A0bar", "Wrong conversion result 5"); +is(s.convertToPlainText("foo\u00A0bar", c.OutputLFLineBreak, 0), "foo bar", "Wrong conversion result 6"); is(s.convertToPlainText("Paragraph content: - This town is 100 km away. - « Est-ce Paris ? » -- Consecutive non-breaking spaces: ' ' - Text padded using editor-generated pattern. +- Consecutive non-breaking spaces: " "