mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +09:00
Merge remote-tracking branch 'origin/tracking' into custom
This commit is contained in:
commit
9175504ffc
25 changed files with 75 additions and 75 deletions
|
|
@ -406,7 +406,7 @@ HTMLEditor::FindSelectionRoot(nsINode* aNode)
|
|||
// If the content is in read-write state but is not editable itself,
|
||||
// return it as the selection root.
|
||||
if (content->IsElement() &&
|
||||
content->AsElement()->State().HasState(NS_EVENT_STATE_MOZ_READWRITE)) {
|
||||
content->AsElement()->State().HasState(NS_EVENT_STATE_READWRITE)) {
|
||||
return content.forget();
|
||||
}
|
||||
return nullptr;
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
<html class="reftest-wait">
|
||||
<body>
|
||||
<style>
|
||||
:-moz-read-only { color: red; }
|
||||
:-moz-read-write { color: green; }
|
||||
:read-only { color: red; }
|
||||
:read-write { color: green; }
|
||||
</style>
|
||||
<script>
|
||||
onload = function() {
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<style>
|
||||
:-moz-read-only { color: green; }
|
||||
:-moz-read-write { color: red; }
|
||||
:read-only { color: green; }
|
||||
:read-write { color: red; }
|
||||
</style>
|
||||
<body onload="document.designMode='on';document.designMode='off'">
|
||||
<div>test</div>
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<style>
|
||||
:-moz-read-only { color: green; }
|
||||
:-moz-read-write { color: red; }
|
||||
:read-only { color: green; }
|
||||
:read-write { color: red; }
|
||||
</style>
|
||||
<body onload="document.designMode='on';document.designMode='off'">
|
||||
<div>test</div>
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<style>
|
||||
:-moz-read-only { color: red; }
|
||||
:-moz-read-write { color: green; }
|
||||
:read-only { color: red; }
|
||||
:read-write { color: green; }
|
||||
</style>
|
||||
<body onload="document.designMode='on';document.designMode='off'">
|
||||
<div contenteditable>test</div>
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<style>
|
||||
:-moz-read-write + span {
|
||||
:read-write + span {
|
||||
display: none;
|
||||
}
|
||||
span {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<style>
|
||||
:-moz-read-only + span {
|
||||
:read-only + span {
|
||||
display: none;
|
||||
}
|
||||
span {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<style>
|
||||
:-moz-read-write + span {
|
||||
:read-write + span {
|
||||
display: none;
|
||||
}
|
||||
span {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<style>
|
||||
:-moz-read-write + span {
|
||||
:read-write + span {
|
||||
display: none;
|
||||
}
|
||||
span {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue