import changes from rmottola/Arctic-Fox:

- Bug 1130891 part 1 - Add W3C HTML5 ruby tags to atom list. r=smaug (ea17ccc67)
- Bug 1130891 part 2 - Add option in document encoder for including ruby annotation in plain text. r=roc (d3e0dff72)
- Bug 1130891 part 3 - Add param to HTMLCopy to allow copy with ruby annotation. r=smaug (8e75e87a7)
- Bug 1130891 part 4 - Do copy with ruby when the whole selection is inside ruby. r=smaug (891d7590d)
- Bug 1140741 - Teach JitProfilingFrameIterator to read DebugModeOSRInfo. (r=djvj) (f468e332e)
This commit is contained in:
2020-02-01 07:53:25 +08:00
parent a61b8c3d3f
commit 603e20b300
12 changed files with 129 additions and 12 deletions
+5
View File
@@ -124,6 +124,11 @@ protected:
// We have already checked that our parent is visible.
return true;
}
if (aNode->IsHTMLElement(nsGkAtoms::rp)) {
// Ruby parentheses are part of ruby structure, hence
// shouldn't be stripped out even if it is not displayed.
return true;
}
return false;
}
bool isVisible = frame->StyleVisibility()->IsVisible();