Bug 1820116 - Enable new join-split node direction which is compatible with the other browsers in the Nightly channel and early beta builds by default r=m_kato,smaug

For collecting more feedback from testers, let's enable the new and better
join-split node direction in the Nightly channel and early beta builds.
One of the main purposes of this change is, if we get feedback of some intranet
web apps which are instantiated in local servers, we can write a hack like
bug 1514940 before shipping the release since the block-list per domain cannot
support such apps.

Differential Revision: https://phabricator.services.mozilla.com/D172092
This commit is contained in:
Masayuki Nakano 2023-03-21 23:58:05 +00:00
Родитель 050517a46f
Коммит f55be5d9fc
7 изменённых файлов: 77 добавлений и 39 удалений

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

@ -4887,7 +4887,7 @@
# true: Right node will be created (at splitting) and deleted (at joinining)
- name: editor.join_split_direction.compatible_with_the_other_browsers
type: bool
value: false
value: @IS_EARLY_BETA_OR_EARLIER@
mirror: always
# Delay to mask last input character in password fields.

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

@ -1,9 +1,11 @@
[cloning-attributes-at-splitting-element.tentative.html]
[Cloning attributes at splitting an element in contenteditable]
expected: FAIL
expected:
if not early_beta_or_earlier: FAIL
[Cloning attributes at splitting an element in contenteditable 6]
expected: FAIL
expected:
if not early_beta_or_earlier: FAIL
[Cloning attributes at splitting an element in contenteditable 7]
expected: FAIL
@ -12,22 +14,26 @@
expected: FAIL
[Cloning attributes at splitting an element in contenteditable 18]
expected: FAIL
expected:
if not early_beta_or_earlier: FAIL
[Cloning attributes at splitting an element in contenteditable 19]
expected: FAIL
[Cloning attributes at splitting an element in contenteditable 24]
expected: FAIL
expected:
if not early_beta_or_earlier: FAIL
[Cloning attributes at splitting an element in contenteditable 25]
expected: FAIL
[Cloning attributes at splitting an element in contenteditable 30]
expected: FAIL
expected:
if not early_beta_or_earlier: FAIL
[Cloning attributes at splitting an element in contenteditable 31]
expected: FAIL
expected:
if not early_beta_or_earlier: FAIL
[Cloning attributes at splitting an element in contenteditable 32]
expected: FAIL

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

@ -1,12 +1,15 @@
[undo-insertparagraph-after-moving-split-nodes.html]
[Undo insertParagraph after moving right node to different paragraph]
expected: FAIL
expected:
if not early_beta_or_earlier: FAIL
[Undo insertParagraph after moving left node to different paragraph]
expected: FAIL
expected:
if not early_beta_or_earlier: FAIL
[Undo insertParagraph after moving right node into the left node]
expected: FAIL
expected:
if not early_beta_or_earlier: FAIL
[Undo insertParagraph after moving left node into the right node]
expected: FAIL

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

@ -1,23 +1,30 @@
[white-spaces-after-execCommand-insertlinebreak.tentative.html]
prefs: [editor.white_space_normalization.blink_compatible:true]
[execCommand("insertlinebreak", false, "") at "a      [\]   b"]
expected: FAIL
expected:
if not early_beta_or_earlier: FAIL
[execCommand("insertlinebreak", false, "") at "a       [\]  b"]
expected: FAIL
expected:
if not early_beta_or_earlier: FAIL
[execCommand("insertlinebreak", false, "") at "a        [\] b"]
expected: FAIL
expected:
if not early_beta_or_earlier: FAIL
[execCommand("insertlinebreak", false, "") at "a   [\]      b"]
expected: FAIL
expected:
if not early_beta_or_earlier: FAIL
[execCommand("insertlinebreak", false, "") at "a    [\]     b"]
expected: FAIL
expected:
if not early_beta_or_earlier: FAIL
[execCommand("insertlinebreak", false, "") at "a         [\]b"]
expected: FAIL
expected:
if not early_beta_or_earlier: FAIL
[execCommand("insertlinebreak", false, "") at "a     [\]    b"]
expected: FAIL
expected:
if not early_beta_or_earlier: FAIL

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

@ -3,7 +3,8 @@
expected:
if (os == "android") and fission: [OK, TIMEOUT]
[execCommand("insertparagraph", false, "") at "<div>a&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[\]b</div>"]
expected: FAIL
expected:
if not early_beta_or_earlier: FAIL
[execCommand("insertparagraph", false, "") at "<div>a&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[\]&nbsp;&nbsp;b</div>"]
expected: FAIL
@ -30,4 +31,5 @@
expected: FAIL
[execCommand("insertparagraph", false, "") at "<div>a&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[\]&nbsp;b</div>"]
expected: FAIL
expected:
if not early_beta_or_earlier: FAIL

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

@ -335,34 +335,44 @@
expected: FAIL
[[["defaultparagraphseparator","div"\],["delete",""\]\] "<p style=background-color:aqua>foo<p>[\]bar" compare innerHTML]
expected: FAIL
expected:
if not early_beta_or_earlier: FAIL
[[["defaultparagraphseparator","p"\],["delete",""\]\] "<p style=background-color:aqua>foo<p>[\]bar" compare innerHTML]
expected: FAIL
expected:
if not early_beta_or_earlier: FAIL
[[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["delete",""\]\] "<p style=background-color:aqua>foo<p style=background-color:tan>[\]bar" compare innerHTML]
expected: FAIL
expected:
if not early_beta_or_earlier: FAIL
[[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["delete",""\]\] "<p style=background-color:aqua>foo<p style=background-color:tan>[\]bar" compare innerHTML]
expected: FAIL
expected:
if not early_beta_or_earlier: FAIL
[[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["delete",""\]\] "<p style=background-color:aqua>foo<p style=background-color:tan>[\]bar" compare innerHTML]
expected: FAIL
expected:
if not early_beta_or_earlier: FAIL
[[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["delete",""\]\] "<p style=background-color:aqua>foo<p style=background-color:tan>[\]bar" compare innerHTML]
expected: FAIL
expected:
if not early_beta_or_earlier: FAIL
[[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["delete",""\]\] "<p>foo<p style=background-color:tan>[\]bar" compare innerHTML]
expected: FAIL
expected:
if not early_beta_or_earlier: FAIL
[[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["delete",""\]\] "<p>foo<p style=background-color:tan>[\]bar" compare innerHTML]
expected: FAIL
expected:
if not early_beta_or_earlier: FAIL
[[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["delete",""\]\] "<p>foo<p style=background-color:tan>[\]bar" compare innerHTML]
expected: FAIL
expected:
if not early_beta_or_earlier: FAIL
[[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["delete",""\]\] "<p>foo<p style=background-color:tan>[\]bar" compare innerHTML]
expected: FAIL
expected:
if not early_beta_or_earlier: FAIL
[[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["delete",""\]\] "<p style=text-decoration:underline>foo<p>[\]bar" compare innerHTML]
expected: FAIL

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

@ -263,34 +263,44 @@
expected: FAIL
[[["defaultparagraphseparator","div"\],["forwarddelete",""\]\] "<p style=background-color:aqua>foo[\]<p>bar" compare innerHTML]
expected: FAIL
expected:
if not early_beta_or_earlier: FAIL
[[["defaultparagraphseparator","p"\],["forwarddelete",""\]\] "<p style=background-color:aqua>foo[\]<p>bar" compare innerHTML]
expected: FAIL
expected:
if not early_beta_or_earlier: FAIL
[[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["forwarddelete",""\]\] "<p style=background-color:aqua>foo[\]<p style=background-color:tan>bar" compare innerHTML]
expected: FAIL
expected:
if not early_beta_or_earlier: FAIL
[[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["forwarddelete",""\]\] "<p style=background-color:aqua>foo[\]<p style=background-color:tan>bar" compare innerHTML]
expected: FAIL
expected:
if not early_beta_or_earlier: FAIL
[[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["forwarddelete",""\]\] "<p style=background-color:aqua>foo[\]<p style=background-color:tan>bar" compare innerHTML]
expected: FAIL
expected:
if not early_beta_or_earlier: FAIL
[[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["forwarddelete",""\]\] "<p style=background-color:aqua>foo[\]<p style=background-color:tan>bar" compare innerHTML]
expected: FAIL
expected:
if not early_beta_or_earlier: FAIL
[[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["forwarddelete",""\]\] "<p>foo[\]<p style=background-color:tan>bar" compare innerHTML]
expected: FAIL
expected:
if not early_beta_or_earlier: FAIL
[[["stylewithcss","false"\],["defaultparagraphseparator","div"\],["forwarddelete",""\]\] "<p>foo[\]<p style=background-color:tan>bar" compare innerHTML]
expected: FAIL
expected:
if not early_beta_or_earlier: FAIL
[[["stylewithcss","true"\],["defaultparagraphseparator","p"\],["forwarddelete",""\]\] "<p>foo[\]<p style=background-color:tan>bar" compare innerHTML]
expected: FAIL
expected:
if not early_beta_or_earlier: FAIL
[[["stylewithcss","false"\],["defaultparagraphseparator","p"\],["forwarddelete",""\]\] "<p>foo[\]<p style=background-color:tan>bar" compare innerHTML]
expected: FAIL
expected:
if not early_beta_or_earlier: FAIL
[[["stylewithcss","true"\],["defaultparagraphseparator","div"\],["forwarddelete",""\]\] "<p style=text-decoration:underline>foo[\]<p>bar" compare innerHTML]
expected: FAIL