gecko-dev/layout/reftests/bidi
L. David Baron 9b308e257b Bug 1567036 - Clear BidiParagraphData::mPrevFrame when ResolveParagraphWithinBlock creates a new continuation, which invalidates its relationship to the line iterator. r=jfkthame
This patch adds an assertion that documents the invariant that this code
needs to maintain to manage the line iterator correctly.  Failing to
meet that invariant would also cause additional assertions in my
work-in-progress on bug 1300293.

It then adds two assignments of mPrevFrame to null that make that
assertion hold.

The first assignment to null is tested by a number of tests already in
our test suite, including
layout/reftests/w3c-css/received/css-writing-modes/block-plaintext-004.html
and layout/reftests/bidi/unicode-bidi-plaintext.html , which would hit
the added assertion if that assignment to null were not present.

The second assignment to null was untested in our test suite (though it
showed up when doing view-source: of https://html.spec.whatwg.org/ ), so
I've added a reftest (1567036-1.html) that hits the added assertion if
that second assignment to null is not present.

Differential Revision: https://phabricator.services.mozilla.com/D38438

--HG--
extra : moz-landing-system : lando
2019-07-18 20:09:04 +00:00
..
dirAuto Bug 1392106 - Annotate more failing tests as random on Win7. r=jmaher 2018-09-10 15:30:44 -04:00
numeral Bug 1369941: Replace single integers N in fuzzy() and fuzzy-if() with 0-N ranges. r=dholbert 2018-08-09 20:10:21 +00:00
83958-1-ref.html
83958-1a.html
83958-1b.html
83958-1c.html
83958-2-ref.html
83958-2a.html
83958-2b.html
115921-1-ref.html
115921-1.html
115921-2-ref.html
115921-2.html
151407-1-ref.html
151407-1.html
151407-1a.html
151407-2-auto-ref.html
151407-2-auto.html
151407-2-empty-ref.html
151407-2-empty.html
151407-2-foopy.html
151407-2-ltr-ref.html
151407-2-ltr.html
151407-2-rtl-ref.html
151407-2-rtl.html
151407-3-auto-ref.html
151407-3-auto.html
151407-3-empty-ref.html
151407-3-foopy.html
151407-3-ltr-ref.html
151407-3-ltr.html
151407-3-rtl-ref.html
151407-3-rtl.html
229367-1-ref.html
229367-1.html
229367-2-ref.html
229367-2.html
229367-3-ref.html
229367-3.html
258928-1-ref.html
258928-1.html
263359-1-ref.html
263359-1.html
263359-1a.html
263359-1b.html
263359-2-ref.html
263359-2.html
263359-3-ref.html
263359-3.html
263359-4-ref.html
263359-4.html
267459-1-ref.html
267459-1.html
267459-2-ref.html
267459-2.html
299065-1-ref.html
299065-1.html
305643-1-ref.html
305643-1.html
332655-1-ref.html
332655-1.html
332655-2-ref.html
332655-2.html
381279-1-ref.html
381279-1.html
386339-ref.html
386339.html
409375-ref.html
409375.html
413542-1-ref.html
413542-1.html
413542-2-ref.html
413542-2.html
413928-1-ref.html
413928-1.html
413928-2-ref.html
413928-2.html
425338-1-ref.html
425338-1a.html
425338-1b.html
489517-1-ref.html
489517-1.html
489887-1-ref.html
489887-1.html
492231-1-ref.html
492231-1.html
496006-1-ref.html
496006-1.html
503269-1-ref.html
503269-1.html
503957-1-ref.html
503957-1.html
525740-1-ref.html
525740-1.html
536963-1-ref.html
536963-1.html
562169-1-ref.html
562169-1.html
562169-1a.html
562169-2-ref.html
562169-2.html
562169-2a.html
562169-3-ref.html
562169-3.html
562169-3a.html
562169-4-ref.html
562169-4.html
588739-1.html
588739-2.html
588739-3.html
588739-ref.html
612843-1-ref.html
612843-1.html
613149-1-ref.html
613149-1a.html
613149-1b.html
613149-2-ref.html
613149-2a.html
613149-2b.html
613157-1-ref.html
613157-1.html
613157-2-ref.html
613157-2.html
662288-1-ref.html
662288-1.html
670226-1-ref.html
670226-1.html
676245-1-ref.html
676245-1.html
698291-1-frame.html
698291-1-ref.html
698291-1.html
698706-1-ref.html
698706-1.html
704837-1-ref.html
704837-1.html
712600-1-ref.html
712600-1.html
712600-2-dyn.html
712600-2-ref.html
712600-2.html
712600-3-ref.html
712600-3.html
718236-1-ref.html
718236-1.html
718236-2-ref.html
718236-2.html
718236-3-ref.html
718236-3.html
726420-1-ref.html
726420-1.html
726460-1-ref.html
726460-1.html
729047-1-ref.html
729047-1.html
730562-1-ref.html
730562-1.html
746987-1-ref.html
746987-1.html
746987-2-ref.html
746987-2.html
746987-3-ref.html
746987-3.html
746987-4-ref.html
746987-4.html
779003-1-dynamic.html
779003-1-ref.html
779003-1.html
817406-1-ref.html
817406-1.html
817406-2-ref.html
817406-2.html
817406-3.html
817406-4-ref.html
817406-4.html
847242-1-ref.html
847242-1.html
869833-1-ref.xul
869833-1.xul
922530-1-ref.html
922530-1.html
922550-1-ref.html
922550-1.html
989994-1-ref.html
989994-1.html
1067268-1-ref.html
1067268-1.html
1069941-inline-bidi-border-1-ref.html
1069941-inline-bidi-border-1.html
1069941-inline-bidi-margin-1-ref.html
1069941-inline-bidi-margin-1.html
1155359-1-ref.xul
1155359-1.xul
1157726-1-ref.html
1157726-1.html
1161752-1-embed.html
1161752-2-embed.html
1161752-3-embed.html
1161752-4-embed.html
1161752-5-embed-ref.html Bug 1382327 - (reftest) Rename reftest-print to reftest-paged. r=dbaron 2017-07-26 22:53:46 -07:00
1161752-5-embed.html Bug 1382327 - (reftest) Rename reftest-print to reftest-paged. r=dbaron 2017-07-26 22:53:46 -07:00
1161752-ref.html
1161752.html
1217833-1-ref.html
1217833-1.html
1217833-2-ref.html
1217833-2.html
1231175-1-ref.html
1231175-1.html
1366623-1-ref.html Bug 1366623 - Reftest for reflow of a frame that formerly required bidi resolution (and so got a BidiDataProperty attached) but no longer has any bidi content, so the previously-attached property sticks has become obsolete. r=dholbert 2017-05-23 15:21:54 +01:00
1366623-1.html Bug 1366623 - Reftest for reflow of a frame that formerly required bidi resolution (and so got a BidiDataProperty attached) but no longer has any bidi content, so the previously-attached property sticks has become obsolete. r=dholbert 2017-05-23 15:21:54 +01:00
1426042-1-ref.html Bug 1426042 - Reftest for bidi reordering where line has an empty trailing ::after pseudo-element. r=dholbert 2018-01-05 13:58:42 +00:00
1426042-1.html Bug 1426042 - Reftest for bidi reordering where line has an empty trailing ::after pseudo-element. r=dholbert 2018-01-05 13:58:42 +00:00
1556414-1-ref.html Bug 1556414, mark document having bidi also when bidi is only in shadow DOM, r=edgar 2019-06-05 12:03:29 +00:00
1556414-1.html Bug 1556414, mark document having bidi also when bidi is only in shadow DOM, r=edgar 2019-06-05 12:03:29 +00:00
1567036-1-ref.html Bug 1567036 - Clear BidiParagraphData::mPrevFrame when ResolveParagraphWithinBlock creates a new continuation, which invalidates its relationship to the line iterator. r=jfkthame 2019-07-18 20:09:04 +00:00
1567036-1.html Bug 1567036 - Clear BidiParagraphData::mPrevFrame when ResolveParagraphWithinBlock creates a new continuation, which invalidates its relationship to the line iterator. r=jfkthame 2019-07-18 20:09:04 +00:00
bdi-element-ref.html
bdi-element.html
bidi-000-ref.html
bidi-000.html
bidi-001-j.html
bidi-001-ref.html
bidi-001-v.html
bidi-001.html
bidi-002-ref.html
bidi-002.html
bidi-003-ref.html
bidi-003.html
bidi-004-j.html
bidi-004-ref.html
bidi-004.html
bidi-005-ref.html
bidi-005.html
bidi-006-j.html Bug 1322780 - Part 2: Support unprefixed min-content and max-content. r=mats,emilio 2018-12-18 18:47:37 +00:00
bidi-006-ref.html
bidi-006.html Bug 1322780 - Part 2: Support unprefixed min-content and max-content. r=mats,emilio 2018-12-18 18:47:37 +00:00
bidiMirroring-ref.svg
bidiMirroring.js
bidiMirroring.svg
bidiSVG-01-ref.svg
bidiSVG-01.svg
bidiSVG-02-ref.svg
bidiSVG-02.svg
bidiSVG-03-ref.svg
bidiSVG-03.svg
bidiSVG-04-ref.svg
bidiSVG-04.svg
bidiSVG-05-ref.svg
bidiSVG-05.svg
brackets-1a-ltr-ref.html
brackets-1a-ltr.html
brackets-1a-rtl-ref.html
brackets-1a-rtl.html
brackets-1b-ltr-ref.html
brackets-1b-ltr.html
brackets-1b-rtl-ref.html
brackets-1b-rtl.html
brackets-1c-ltr-ref.html
brackets-1c-ltr.html
brackets-1c-rtl-ref.html
brackets-1c-rtl.html
brackets-2a-ltr-ref.html
brackets-2a-ltr.html
brackets-2a-rtl-ref.html
brackets-2a-rtl.html
brackets-2b-ltr-ref.html
brackets-2b-ltr.html
brackets-2b-rtl-ref.html
brackets-2b-rtl.html
brackets-2c-ltr-ref.html
brackets-2c-ltr.html
brackets-2c-rtl-ref.html
brackets-2c-rtl.html
brackets-3a-ltr-ref.html
brackets-3a-ltr.html
brackets-3a-rtl-ref.html
brackets-3a-rtl.html
brackets-3b-ltr-ref.html
brackets-3b-ltr.html
brackets-3b-rtl-ref.html
brackets-3b-rtl.html
clone-intrinsic-size-bidi-ref.html Bug 1552357 - Improve intrinsic sizing of inlines. r=jfkthame 2019-05-29 01:25:12 +02:00
clone-intrinsic-size-bidi.html Bug 1552357 - Improve intrinsic sizing of inlines. r=jfkthame 2019-05-29 01:25:12 +02:00
logicalmarquee.html
marquee-ref.html
mirroring-01-ref.html
mirroring-01.html
mirroring-02-ref.html
mirroring-02.html
mirroring-03-ref.html
mirroring-03.html
mixedChartype-00-j.html
mixedChartype-00-ref.html
mixedChartype-00.html
mixedChartype-01-j.html
mixedChartype-01-ref.html
mixedChartype-01.html
mixedChartype-02-j.html
mixedChartype-02-ref.html
mixedChartype-02.html
mixedChartype-03-j.html
mixedChartype-03-ref.html
mixedChartype-03.html
reftest.list Bug 1567036 - Clear BidiParagraphData::mPrevFrame when ResolveParagraphWithinBlock creates a new continuation, which invalidates its relationship to the line iterator. r=jfkthame 2019-07-18 20:09:04 +00:00
slice-intrinsic-size-bidi-ref.html Bug 1552357 - Improve intrinsic sizing of inlines. r=jfkthame 2019-05-29 01:25:12 +02:00
slice-intrinsic-size-bidi.html Bug 1552357 - Improve intrinsic sizing of inlines. r=jfkthame 2019-05-29 01:25:12 +02:00
unicode-bidi-anonymous-001-ref.html
unicode-bidi-anonymous-001.html
unicode-bidi-anonymous-002-ref.html
unicode-bidi-anonymous-002.html
unicode-bidi-isolate-aharon-ref.html
unicode-bidi-isolate-aharon.html
unicode-bidi-isolate-basic-ref.html
unicode-bidi-isolate-basic.html
unicode-bidi-isolate-basic.js
unicode-bidi-plaintext-ref.html
unicode-bidi-plaintext-textarea-1.html
unicode-bidi-plaintext-textarea-2.html
unicode-bidi-plaintext-textarea-3.html
unicode-bidi-plaintext-textarea-4.html
unicode-bidi-plaintext-textarea-ref.html
unicode-bidi-plaintext.html
visualmarquee.html
with-first-letter-1-ref.html
with-first-letter-1a.html
with-first-letter-1b.html
with-first-letter-2-ref.html
with-first-letter-2a.html
with-first-letter-2b.html