Nothing Special   »   [go: up one dir, main page]

Closed Bug 1881096 Opened 8 months ago Closed 4 months ago

Ensure nsPrintJob works for selection that across the shadow boundary

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
129 Branch
Tracking Status
firefox129 --- fixed

People

(Reporter: sefeng, Assigned: sefeng)

References

Details

Attachments

(4 files)

No description provided.
Blocks: 1881097

This is added to support the use case of nsPrintJob where new
ranges were created and elements within these ranges are removed.

Assignee: nobody → sefeng
Status: NEW → ASSIGNED

Because nsPrintJob would remove characters from the selected boundary
nodes, the offsets of the boundaries needs to be updated if this
happens.

This patch addes the support to it.

Pushed by sefeng@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2d732ba0d3b6 Invalidate the boundary offset when a child of container is being removed for CrossShadowBoundaryRange r=emilio,jjaschke,dom-core https://hg.mozilla.org/integration/autoland/rev/5480477f3599 Add basic support of character removal to CrossShadowBoundaryRange r=emilio,jjaschke,dom-core https://hg.mozilla.org/integration/autoland/rev/8b36a043c1b3 Make nsPrintJob handles shadow-crossing selection r=emilio https://hg.mozilla.org/integration/autoland/rev/9140b67be69e Add tests for shadow-crossing selection r=emilio,jjaschke,dom-core
Regressions: 1904049
Regressions: 1907228
Regressions: 1907464
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: