Closed Bug 829428 Opened 12 years ago Closed 12 years ago

Assertion failure: "AncestorHasDirAuto set on node but not its children" with non-HTML element

Categories

(Core :: DOM: Core & HTML, defect)

x86_64
macOS
defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla21
Tracking Status
firefox20 --- fixed
firefox21 --- verified

People

(Reporter: jruderman, Assigned: smontagu)

References

Details

(Keywords: assertion, regression, testcase)

Attachments

(4 files)

Assertion failure: !aElement->AncestorHasDirAuto() || child->AncestorHasDirAuto() (AncestorHasDirAuto set on node but not its children), at content/base/src/DirectionalityUtils.cpp:688
Attachment #701785 - Flags: review?(ehsan) → review+
Comment on attachment 701786 [details] [diff] [review]
The testcase for checkin

rs=me
Attachment #701786 - Flags: review+
Blocks: 830098
https://hg.mozilla.org/mozilla-central/rev/af13d04d949e
https://hg.mozilla.org/mozilla-central/rev/5d19aad2dab3
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
Comment on attachment 701785 [details] [diff] [review]
Make DoesNotParticipateInAutoDirection return true for non-HTML elements; and make WalkDescendantsSetDirAuto consistent with SetDirOnBind

[Approval Request Comment]
Bug caused by (feature/regressing bug #): bug 548206 or one of it's follow-ups
User impact if declined: possible incorrect resolution of elements with dir=auto
Testing completed (on m-c, etc.): Baked on m-c since 2013-01-15
Risk to taking this patch (and alternatives if risky): None known
String or UUID changes made by this patch: None
Attachment #701785 - Flags: approval-mozilla-aurora?
Attachment #701785 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Yeah, Aurora doesn't have bug 828166 so the trunk patch doesn't build there.
Hi !
Can occitan language be added on :
http://hg.mozilla.org/releases/mozilla-aurora/file/tip/browser/locales/shipped-locales
and
http://www.mozilla.org/en-US/firefox/all-aurora.html

Files are availables on http://mozilla.locamotion.org/oc/firefox/

Best regards
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 12 has nothing to do with this bug.
Status: REOPENED → RESOLVED
Closed: 12 years ago12 years ago
Resolution: --- → FIXED
Keywords: regression
Issue reproducible with the debug build from 2013-01-10. (assertion failure + Firefox crash)

Verified fixed with Firefox 21 latest debug build, on Mac OSX 10.8.3 (no assertion failure + no Firefox crash)

Build ID: 20130426142004
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: