mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-29 09:52:50 -10:00
Now that this is a pref that is different in different versions, tests have to work no matter what the pref's value is. For tests that actually tested line-breaking-related behavior, I made them test all three separator values. For tests that tested something else and only incidentally depend on the default paragraph separator, I set defaultParagraphSeparator to "div". MozReview-Commit-ID: 8m7eoFRXpEy
52 lines
2.2 KiB
INI
52 lines
2.2 KiB
INI
[insertlinebreak.html]
|
|
type: testharness
|
|
prefs: [editor.use_div_for_default_newlines: true]
|
|
[[["insertlinebreak",""\]\] "<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<tr><td>baz<td>quz</table>" compare innerHTML]
|
|
expected: FAIL
|
|
|
|
[[["insertlinebreak",""\]\] "<xmp>foo[\]bar</xmp>" compare innerHTML]
|
|
expected: FAIL
|
|
|
|
[[["insertlinebreak",""\]\] "<script>foo[\]bar</script>baz" compare innerHTML]
|
|
expected: FAIL
|
|
|
|
[[["insertlinebreak",""\]\] "<listing>foo[\]bar</listing>" compare innerHTML]
|
|
expected: FAIL
|
|
|
|
[[["insertlinebreak",""\]\] "<p>foo<span style=color:#aBcDeF>[bar\]</span>baz" compare innerHTML]
|
|
expected: FAIL
|
|
|
|
[[["insertlinebreak",""\]\] "<p>foo<span style=color:#aBcDeF>{bar}</span>baz" compare innerHTML]
|
|
expected: FAIL
|
|
|
|
[[["insertlinebreak",""\]\] "<p>foo{<span style=color:#aBcDeF>bar</span>}baz" compare innerHTML]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","true"\],["insertlinebreak",""\]\] "<p>[foo<span style=color:#aBcDeF>bar\]</span>baz" compare innerHTML]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","false"\],["insertlinebreak",""\]\] "<p>[foo<span style=color:#aBcDeF>bar\]</span>baz" compare innerHTML]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","true"\],["insertlinebreak",""\]\] "<p>{foo<span style=color:#aBcDeF>bar}</span>baz" compare innerHTML]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","false"\],["insertlinebreak",""\]\] "<p>{foo<span style=color:#aBcDeF>bar}</span>baz" compare innerHTML]
|
|
expected: FAIL
|
|
|
|
[[["insertlinebreak",""\]\] "<p>foo<span style=color:#aBcDeF>[bar</span>baz\]" compare innerHTML]
|
|
expected: FAIL
|
|
|
|
[[["insertlinebreak",""\]\] "<p>foo<span style=color:#aBcDeF>{bar</span>baz}" compare innerHTML]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","true"\],["insertlinebreak",""\]\] "<p>foo<span style=color:#aBcDeF>[bar</span><span style=color:#fEdCbA>baz\]</span>quz" compare innerHTML]
|
|
expected: FAIL
|
|
|
|
[[["stylewithcss","false"\],["insertlinebreak",""\]\] "<p>foo<span style=color:#aBcDeF>[bar</span><span style=color:#fEdCbA>baz\]</span>quz" compare innerHTML]
|
|
expected: FAIL
|
|
|
|
[[["insertlinebreak",""\]\] "<table><tr><td>[foo<td>bar\]<tr><td>baz<td>quz</table>" compare innerHTML]
|
|
expected: FAIL
|
|
|