Closed Bug 836890 Opened 12 years ago Closed 12 years ago

Assertion failure: "AncestorHasDirAuto set on node but not its children" with nested dir=auto

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

(3 files)

Assertion failure: !aElement->AncestorHasDirAuto() || child->AncestorHasDirAuto() (AncestorHasDirAuto set on node but not its children), at content/base/src/DirectionalityUtils.cpp:672
Simon - please nominate for tracking on Firefox 20 if this is a critical issue.
Assignee: nobody → smontagu
Attached file Patch
We add the AncestorHasDirAuto flag when adding a new element, but we need to add it to a new text-node also.
Attachment #710095 - Flags: review?(ehsan)
Attachment #710095 - Flags: review?(ehsan) → review+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
Can we get an aurora approval nomination here so this could get uplifted (if low risk) before we merge FF20 to Beta next Tuesday?
Flags: needinfo?(smontagu)
Comment on attachment 710095 [details] Patch [Approval Request Comment] Bug caused by (feature/regressing bug #): bug 548206 User impact if declined: Text could appear in the wrong directionality in some dynamic situations with bidirectional text Testing completed (on m-c, etc.): baked on m-c since 2013-02-06 Risk to taking this patch (and alternatives if risky): small risk of regressions in other dynamic situations with bidirectional text String or UUID changes made by this patch: None
Attachment #710095 - Flags: approval-mozilla-aurora?
Flags: needinfo?(smontagu)
Comment on attachment 710095 [details] Patch Approving for uplift, we want this fix even with the small risk of regression on bidi text.
Attachment #710095 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Keywords: regression
Issue reproducible with the debug build from 2013-01-31. (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: