Bug 1134280 - Get rid of Tag() - patch 2.8 - dom/html - Fix all the occurrences, m=smaug, r=surkov
This commit is contained in:
@@ -567,7 +567,7 @@ nsTextInputSelectionImpl::CompleteMove(bool aForward, bool aExtend)
|
||||
{
|
||||
nsIContent *child = parentDIV->GetLastChild();
|
||||
|
||||
if (child->Tag() == nsGkAtoms::br)
|
||||
if (child->IsHTMLElement(nsGkAtoms::br))
|
||||
{
|
||||
--offset;
|
||||
hint = CARET_ASSOCIATE_AFTER; // for Bug 106855
|
||||
|
||||
Reference in New Issue
Block a user