mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 14:52:16 +00:00
Bug 1738701 - Fix getNumberOfChars for tspan and textPath elements r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D151164
This commit is contained in:
parent
ec32b38edb
commit
1c3f01bcb5
@ -73,7 +73,7 @@ Maybe<int32_t> SVGTextContentElement::GetNonLayoutDependentNumberOfChars() {
|
||||
SVGTextFrame* frame = GetSVGTextFrameForNonLayoutDependentQuery();
|
||||
if (!frame || frame != GetPrimaryFrame()) {
|
||||
// Only support this fast path on <text>, not child <tspan>s, etc.
|
||||
return Some(0);
|
||||
return Nothing();
|
||||
}
|
||||
|
||||
uint32_t num = 0;
|
||||
|
@ -1,3 +0,0 @@
|
||||
[getextentofchar.html]
|
||||
[Multiple chunks in a tspan]
|
||||
expected: FAIL
|
Loading…
Reference in New Issue
Block a user