зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1520779 Part 3: Hook up the IA2_TEXT_BOUNDARY_PARAGRAPH to the internal nsIAccessibleText::BOUNDARY_PARAGRAPH support, r=Jamie
Depends on D90115 Differential Revision: https://phabricator.services.mozilla.com/D90116
This commit is contained in:
Родитель
b1af3b9011
Коммит
5d0775549a
|
@ -460,6 +460,8 @@ static IA2TextBoundaryType GetIA2TextBoundary(
|
|||
return IA2_TEXT_BOUNDARY_WORD;
|
||||
case nsIAccessibleText::BOUNDARY_LINE_START:
|
||||
return IA2_TEXT_BOUNDARY_LINE;
|
||||
case nsIAccessibleText::BOUNDARY_PARAGRAPH:
|
||||
return IA2_TEXT_BOUNDARY_PARAGRAPH;
|
||||
default:
|
||||
MOZ_CRASH();
|
||||
}
|
||||
|
|
|
@ -437,8 +437,9 @@ AccessibleTextBoundary ia2AccessibleText::GetGeckoTextBoundary(
|
|||
return nsIAccessibleText::BOUNDARY_WORD_START;
|
||||
case IA2_TEXT_BOUNDARY_LINE:
|
||||
return nsIAccessibleText::BOUNDARY_LINE_START;
|
||||
case IA2_TEXT_BOUNDARY_PARAGRAPH:
|
||||
return nsIAccessibleText::BOUNDARY_PARAGRAPH;
|
||||
// case IA2_TEXT_BOUNDARY_SENTENCE:
|
||||
// case IA2_TEXT_BOUNDARY_PARAGRAPH:
|
||||
// XXX: not implemented
|
||||
default:
|
||||
return -1;
|
||||
|
|
Загрузка…
Ссылка в новой задаче