Open Bug 1359398 Opened 7 years ago Updated 2 years ago

HTMLEditor::IsEmptyCell() returns odd result in some cases

Categories

(Core :: DOM: Editor, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: masayuki, Unassigned)

References

Details

HTMLEditor::IsEmptyCell() behaves really odd.

* When it doesn't have children, returns false.
* When it has two or more children, returns true even if all of them are invisible (e.g., text nodes which have only whitespaces).
* When it's not a cell but doesn't have visible and editable descendants, returns true.
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.