forked from Floorp-Projects/Floorp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1628770 - Restrict "empty editable block" bits to contenteditable…
… roots. r=jfkthame This is what other UAs do. Differential Revision: https://phabricator.services.mozilla.com/D70423
- Loading branch information
Showing
5 changed files
with
32 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
...rm/tests/html/editing/editing-0/contenteditable/contenteditable-with-empty-block-ref.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<!doctype html> | ||
<title>Test reference</title> | ||
<div> | ||
Foo | ||
<div></div> | ||
Bar | ||
</div> |
11 changes: 11 additions & 0 deletions
11
...atform/tests/html/editing/editing-0/contenteditable/contenteditable-with-empty-block.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!doctype html> | ||
<title>contenteditable doesn't cause inner empty blocks to grow.</title> | ||
<link rel="author" title="Emilio Cobos Álvarez" href="mailto:[email protected]"> | ||
<link rel="author" title="Mozilla" href="https://mozilla.org"> | ||
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1628770"> | ||
<link rel="match" href="contenteditable-with-empty-block-ref.html"> | ||
<div contenteditable> | ||
Foo | ||
<div></div> | ||
Bar | ||
</div> |