Commit Graph
248 Commits
Author SHA1 Message Date
Xidorn Quan b8ac4d9b8b Bug 1225018 part 3 - Use font metrics of emphasis marks to compute required leading. r=jfkthame 2015-12-08 12:55:01 -05:00
Xidorn Quan 865565a937 Bug 1040668 part 12 - Add line leadings for emphasis marks if necessary. r=dholbert 2015-11-28 11:56:33 +11:00
Xidorn Quan d4c0d50a73 Bug 1040668 part 11 - Move line leadings adjusting code into a separate function in nsLineLayout. r=dholbert 2015-11-28 11:56:33 +11:00
Xidorn Quan 63aaf6ddd5 Bug 1052924 followup - Move the XXX comment to the right field. DONTBUILD 2015-11-19 18:00:25 +11:00
Jonathan Kew 7e8bda5a72 Bug 1131451 part 1 - Replace containerWidth with containerSize in logical-coordinate classes and APIs, frame classes, etc. r=dholbert 2015-07-16 10:07:57 +01:00
Cameron McCormack a562bdc57f Bug 1120300 - Export WritingModes.h as mozilla/WritingModes.h. r=jfkthame 2015-03-26 18:29:31 +11:00
Xidorn Quan d59168f5f4 Bug 1141842 - Add LastOptionalBreakPriority to nsLineLayout to simplify some code. r=roc 2015-03-11 14:14:48 +11:00
Xidorn Quan ca2c06410b Bug 1135361 - Fix position of ruby annotation in vertical-rl mode when justification is applied to the base. r=jfkthame 2015-02-24 14:46:29 +11:00
Xidorn Quan b2d101e93b Bug 1134206 part 1 - Remove mZeroEffectiveSpanBox flag from PerSpanData. r=roc 2015-02-19 22:39:19 +13:00
Xidorn Quan 7caaa0049c Bug 1133697 part 3 - Make ruby text frame not continue text run. r=roc 2015-02-18 17:20:02 +13:00
Xidorn Quan 19159bd2a2 Bug 1055676 part 2 - Move inter-frame justification assignment to an independent function. r=roc 2015-02-17 18:01:49 +13:00
Xidorn Quan 12f34c58c5 Bug 1132008 part 3 - Remove unused code in nsLineLayout. r=dbaron
This code was originally introduced in bug 1055665 part 3.
2015-02-17 14:25:18 +13:00
Xidorn Quan 90e48a933c Bug 1132008 part 2 - Sync bounds of <rt>s in line layout. r=dbaron 2015-02-17 14:25:18 +13:00
Simon Montagu f9ca39cffa Bug 1131013: when setting the position of inline frames in vertical writing modes with right-to-left direction, subtract the inline start from the container height to get the correct vertical position. r=jfkthame 2015-02-11 01:43:03 -08:00
Xidorn Quan ae1d61d2a8 Bug 1089431 part 3 - Make line breaking inside ruby be triggered at correct time. r=jfkthame 2015-02-11 10:26:56 +11:00
Nicholas Nethercote 0247de46d8 Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo. 2015-02-09 14:34:50 -08:00
Andrew McCreight e048a7df33 Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Nicholas Nethercote 40ab0270d5 Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo. 2015-02-04 20:05:36 -08:00
Xidorn Quan 11ba09d7e1 Bug 1121684 - Move one-liners in nsLineLayout.cpp to the header. r=roc 2015-01-15 15:52:27 +11:00
Xidorn Quan 0549a155fe Bug 1055658 part 4 - Revert RubyReflowState. r=dbaron 2015-01-13 20:04:41 +11:00
Xidorn Quan ddac03b9f3 Bug 1055658 part 2 - Add relative positioning support for ruby annotations. r=dbaron 2015-01-13 20:04:41 +11:00
Xidorn Quan 28553e1eb1 Bug 1055658 part 1 - Move code for applying relative position to an independent method. r=dbaron 2015-01-13 20:04:41 +11:00
Xidorn Quan 36c59f69fd Bug 1120313 - Fix nested ruby inside ruby annotation. r=dbaron 2015-01-13 15:14:46 +11:00
Nigel Babu 2492f633d1 Backed out 4 changesets (bug 1055658) for M5 bustage on a CLOSED TREE
Backed out changeset 3cbd9323c896 (bug 1055658)
Backed out changeset 99e071295c42 (bug 1055658)
Backed out changeset 55119d19e4c5 (bug 1055658)
Backed out changeset e82f640cb53f (bug 1055658)
2015-01-12 10:43:11 +05:30
Xidorn Quan cdb8162daf Bug 1055658 part 4 - Revert RubyReflowState. r=dbaron 2015-01-12 14:31:55 +11:00
Xidorn Quan 11018e292e Bug 1055658 part 2 - Add relative positioning support for ruby annotations. r=dbaron 2015-01-12 14:31:55 +11:00
Xidorn Quan d830976b63 Bug 1055658 part 1 - Move code for applying relative position to an independent method. r=dbaron 2015-01-12 14:31:55 +11:00
Xidorn Quan 084bf1de6a Bug 1117597 - Sync bounds of ruby annotation containers. r=roc 2015-01-07 12:47:09 +11:00
Xidorn Quan bc60219a63 Bug 1116635 - Fix interaction between ruby alignment and trimmed whitespace. r=roc 2015-01-07 12:47:09 +11:00
Xidorn Quan 6e53ba9ae1 Bug 1116037 part 11 - Add RubyReflowState for sharing states between ruby level boxes. r=dbaron 2014-12-30 11:16:30 +11:00
Xidorn Quan 10dbd31052 Bug 1055665 part 3 - Position ruby annotations and set the line size of them correctly. r=dholbert 2014-12-09 17:47:26 +11:00
Xidorn Quan a611c6b3f9 Bug 1108429 part 8 - Implement default ruby alignment. r=roc 2014-12-15 10:33:59 +11:00
Xidorn Quan d9e75049f5 Bug 1108429 part 6 - Record inner justification opportunities for each frame. r=roc 2014-12-15 09:57:36 +11:00
Xidorn Quan d66c397776 Bug 1108429 part 3 - Add flag to indicate the existance of ruby. r=roc 2014-12-13 11:48:30 +11:00
Xidorn Quan 08ab6bf9b0 Bug 1109937 - Change flags in PerFrameData to use bit fields. r=roc 2014-12-23 10:22:26 +11:00
Xidorn Quan 8c00730899 Bug 1081770 - Move ruby annotation frames when text-align: justify is applied to ruby bases. r=dbaron 2014-12-09 17:43:24 +11:00
Xidorn Quan e8c311d112 Bug 1107721 - Add method for attaching frame data to base line layout. r=dbaron 2014-12-10 09:49:45 +11:00
Xidorn Quan ca24b9d4a1 Bug 1107721 - Handle unlinking pfds linked to other levels. r=dbaron 2014-12-09 09:30:23 +11:00
Xidorn Quan e8642d5904 Bug 1107721 - Separate pfd unlinking code to method UnlinkFrame. r=dbaron
The comment of UnlinkFrame says that the PFDs of linked annotations
won't be freed immediately, which is not implemented in this patch,
but in the next patch.
2014-12-09 09:14:49 +11:00
Xidorn Quan 3e1b50d2fd Bug 1107721 - Add pointers to PerFrameData of different level. r=dbaron 2014-12-05 15:57:12 -08:00
Xidorn Quan 6737561b22 Bug 1107721 - Add pointer to the base line layout in nsLineLayout. r=dbaron 2014-12-05 15:05:51 -08:00
Xidorn Quan c4272d5853 Bug 1052924 - Add assertion and comments pointing out that ruby base container frames do not have an mBlockRS, but that's OK since they are never the containing block for floats. r=dbaron 2014-11-26 15:52:49 +11:00
Xidorn Quan b0f0fcc4a3 Bug 1096152 - Use frame instead of content to track break position. r=dbaron 2014-11-14 16:41:14 +11:00
Jonathan Kew 1b6a02d61c Bug 1088025 - part 1 - Ensure nsBlockReflowState has a constrained mContainerWidth before we reflow lines into the container. r=dbaron 2014-11-13 08:58:03 +00:00
Jonathan Kew f761e31283 Bug 1094914 - part 2 - Store margins and borders using line's writing mode in perFrameData, to avoid writing-mode conversions. r=smontagu 2014-11-13 08:58:02 +00:00
Xidorn Quan 9cf6197f83 Bug 1063857 - Implement new justification algorithm. r=roc,masayuki 2014-11-10 12:25:17 +11:00
Carsten "Tomcat" Book f74c7bbb38 Backed out changeset 53d51e7fbb9e (bug 1063857) for Android Reftest Failures 2014-11-04 10:59:46 +01:00
Xidorn Quan 08d8f0ff5d Bug 1063857 - Implement new justification algorithm. r=roc,masayuki 2014-11-02 15:07:00 +01:00
Simon Montagu 6c0342d043 Bug 1082844: when converting between logical and physical coordinates in nsLineLayout, use the width of the containing block as container-width for the root span, and the width of the root span for child spans. r=jfkthame 2014-10-22 05:14:41 -07:00
Simon Montagu 00fa156476 Bug 1079139: make nsFlowAreaRect.mRect a LogicalRect. r=jfkthame 2014-10-21 15:16:13 -07:00