Граф коммитов

248 Коммитов

Автор SHA1 Сообщение Дата
Xidorn Quan 272514670b Bug 1225018 part 3 - Use font metrics of emphasis marks to compute required leading. r=jfkthame
--HG--
extra : source : 47345d7b24f414e278a3f8cc688d2f77132d73ef
2015-12-08 12:55:01 -05:00
Xidorn Quan 95b800f4ce Bug 1040668 part 12 - Add line leadings for emphasis marks if necessary. r=dholbert
--HG--
extra : source : cb34c48bff0ccf4024385d392dc58bc1f672ea23
2015-11-28 11:56:33 +11:00
Xidorn Quan 20e40d505a Bug 1040668 part 11 - Move line leadings adjusting code into a separate function in nsLineLayout. r=dholbert
--HG--
extra : source : f4d53f54b2e925eef8da6c6749497888527057bb
2015-11-28 11:56:33 +11:00
Xidorn Quan 65859175cd Bug 1052924 followup - Move the XXX comment to the right field. DONTBUILD 2015-11-19 18:00:25 +11:00
Jonathan Kew 4e6c40d7ea 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 04722fa8f9 Bug 1120300 - Export WritingModes.h as mozilla/WritingModes.h. r=jfkthame 2015-03-26 18:29:31 +11:00
Xidorn Quan 3bddba82c5 Bug 1141842 - Add LastOptionalBreakPriority to nsLineLayout to simplify some code. r=roc
--HG--
extra : source : 99f9967c5eef6b1d032ae0b3b778a06b28e21d07
2015-03-11 14:14:48 +11:00
Xidorn Quan 728e9e7a08 Bug 1135361 - Fix position of ruby annotation in vertical-rl mode when justification is applied to the base. r=jfkthame
--HG--
extra : source : 9e051be10b37ed8c189bcae17fe8cb95b490d661
2015-02-24 14:46:29 +11:00
Xidorn Quan 5b4a640a88 Bug 1134206 part 1 - Remove mZeroEffectiveSpanBox flag from PerSpanData. r=roc
--HG--
extra : source : 63758b6ca39d69218c04b9ecb081a78ba2f87b2e
2015-02-19 22:39:19 +13:00
Xidorn Quan af2bbac201 Bug 1133697 part 3 - Make ruby text frame not continue text run. r=roc
--HG--
extra : source : b9d1f775565347a2bc506b163b91b5c522e0a366
2015-02-18 17:20:02 +13:00
Xidorn Quan 6622361f7b Bug 1055676 part 2 - Move inter-frame justification assignment to an independent function. r=roc
--HG--
extra : source : 8e0084f1fcc9daba3780cbef92b73d6234ad5180
2015-02-17 18:01:49 +13:00
Xidorn Quan c734dc18d4 Bug 1132008 part 3 - Remove unused code in nsLineLayout. r=dbaron
This code was originally introduced in bug 1055665 part 3.

--HG--
extra : source : a784dd2fe15b67f5e9f0ea380db1bfb6d65ad211
2015-02-17 14:25:18 +13:00
Xidorn Quan 63cd3802b6 Bug 1132008 part 2 - Sync bounds of <rt>s in line layout. r=dbaron
--HG--
extra : source : cd29b50ebcc6839c63acbaf9cab4893103967eda
2015-02-17 14:25:18 +13:00
Simon Montagu 9cdb41a6f4 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 65f439f542 Bug 1089431 part 3 - Make line breaking inside ruby be triggered at correct time. r=jfkthame
--HG--
extra : rebase_source : 82e740ba6a5192e68f8dfa5b7f3634dc4dc971f7
extra : source : e4932342e22db87e3da1d7847f6a6c984c56db9f
2015-02-11 10:26:56 +11:00
Nicholas Nethercote 242708cf72 Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Andrew McCreight d3826daa16 Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Nicholas Nethercote d34f0301b8 Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Xidorn Quan 88bf1ccda8 Bug 1121684 - Move one-liners in nsLineLayout.cpp to the header. r=roc
--HG--
extra : source : 1d3128f4f31f9b4998dc09c130657d54e729bb20
extra : amend_source : 21d2320d6699aa6294a233cb515f226500f6879a
2015-01-15 15:52:27 +11:00
Xidorn Quan 7969797ad3 Bug 1055658 part 4 - Revert RubyReflowState. r=dbaron
--HG--
extra : source : 27e60ddbd077439dadd09641ab54fc7eef09c69f
2015-01-13 20:04:41 +11:00
Xidorn Quan 58446e500f Bug 1055658 part 2 - Add relative positioning support for ruby annotations. r=dbaron
--HG--
extra : source : e15efc6ea7d8fd27cbb334fbab2ba85b0f6868dd
2015-01-13 20:04:41 +11:00
Xidorn Quan 109db9aef5 Bug 1055658 part 1 - Move code for applying relative position to an independent method. r=dbaron
--HG--
extra : source : 7ba6cbbf02828b4d6d55bd056e92243423eab6d0
2015-01-13 20:04:41 +11:00
Xidorn Quan 60705d6a24 Bug 1120313 - Fix nested ruby inside ruby annotation. r=dbaron
--HG--
extra : source : ea44dcc7bf0e008d6669a00d107529a97ab1c84d
2015-01-13 15:14:46 +11:00
Nigel Babu 053a7d3408 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 6ba35e648b Bug 1055658 part 4 - Revert RubyReflowState. r=dbaron
--HG--
extra : source : 27e60ddbd077439dadd09641ab54fc7eef09c69f
2015-01-12 14:31:55 +11:00
Xidorn Quan c5346caa22 Bug 1055658 part 2 - Add relative positioning support for ruby annotations. r=dbaron
--HG--
extra : source : 3b6cece1b466a724983927329c56dc1d9555b09a
2015-01-12 14:31:55 +11:00
Xidorn Quan c7dcc6e79f Bug 1055658 part 1 - Move code for applying relative position to an independent method. r=dbaron
--HG--
extra : source : aa1e52e91dd5ae6fdcdc6ca17bd9ec2a0b946f2b
2015-01-12 14:31:55 +11:00
Xidorn Quan b29ae7bea0 Bug 1117597 - Sync bounds of ruby annotation containers. r=roc
--HG--
extra : rebase_source : 336b023e6d44031a3a2adfde42a510b6729d83a3
extra : source : a2e4eb7e9c71f299685e8e4c9175bfb31a27a70b
2015-01-07 12:47:09 +11:00
Xidorn Quan 9a562a2e2b Bug 1116635 - Fix interaction between ruby alignment and trimmed whitespace. r=roc
--HG--
extra : rebase_source : 02452c197129f05cee9ebf1a868c166c3b5c7880
extra : source : 0d467e9425a4a48d358e65227d6f5f0812e8dd0c
2015-01-07 12:47:09 +11:00
Xidorn Quan 3013e06e68 Bug 1116037 part 11 - Add RubyReflowState for sharing states between ruby level boxes. r=dbaron
--HG--
extra : source : c4f342ece9c1548053348dbc317d9857cbe790b6
2014-12-30 11:16:30 +11:00
Xidorn Quan 83ed4953c7 Bug 1055665 part 3 - Position ruby annotations and set the line size of them correctly. r=dholbert
--HG--
extra : source : c4dff2a39c852a249a5ff6e929780d898ba956ac
2014-12-09 17:47:26 +11:00
Xidorn Quan 0cb7562edc Bug 1108429 part 8 - Implement default ruby alignment. r=roc
--HG--
extra : source : 469cb97255e807acd60aea73db7e76e03d9409c9
2014-12-15 10:33:59 +11:00
Xidorn Quan b57d1f90f3 Bug 1108429 part 6 - Record inner justification opportunities for each frame. r=roc
--HG--
extra : source : 40cee8a9a435667520e3cc846783e8c17b252c5a
2014-12-15 09:57:36 +11:00
Xidorn Quan ea6940e783 Bug 1108429 part 3 - Add flag to indicate the existance of ruby. r=roc
--HG--
extra : source : 322ca21457397001c361db0ea766367d19b9b9a1
2014-12-13 11:48:30 +11:00
Xidorn Quan 7042d1e185 Bug 1109937 - Change flags in PerFrameData to use bit fields. r=roc
--HG--
extra : source : 76160496de67f8d8e3f0823613632897ab55fa84
2014-12-23 10:22:26 +11:00
Xidorn Quan 4ee06cf1d6 Bug 1081770 - Move ruby annotation frames when text-align: justify is applied to ruby bases. r=dbaron
--HG--
extra : rebase_source : 959be07c7a44c96eba46963213de01525e5292b0
extra : source : c5e6e8898b2df7b29fe1b2071291bde17d7780fc
2014-12-09 17:43:24 +11:00
Xidorn Quan f9c28c207a Bug 1107721 - Add method for attaching frame data to base line layout. r=dbaron
--HG--
extra : source : 82fe55e167562868c2a9056e08913f630a84fe48
2014-12-10 09:49:45 +11:00
Xidorn Quan 8be20d9f71 Bug 1107721 - Handle unlinking pfds linked to other levels. r=dbaron
--HG--
extra : source : c7f097390cb910d35fc09cc9cd8660d56fcccca2
2014-12-09 09:30:23 +11:00
Xidorn Quan 352948f6fe 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.

--HG--
extra : source : 813840414cb9140b71ae3f337a96236689dac705
2014-12-09 09:14:49 +11:00
Xidorn Quan 2c3631601f Bug 1107721 - Add pointers to PerFrameData of different level. r=dbaron
--HG--
extra : source : 151ebfa898e36d36e5d7216a277ad8f1faa7fa5c
2014-12-05 15:57:12 -08:00
Xidorn Quan 3ba35be862 Bug 1107721 - Add pointer to the base line layout in nsLineLayout. r=dbaron
--HG--
extra : source : 7b1b90d6bba043a68a84bb2faeba95096fa15ca5
2014-12-05 15:05:51 -08:00
Xidorn Quan e254b3d884 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 ef58484437 Bug 1096152 - Use frame instead of content to track break position. r=dbaron
--HG--
extra : amend_source : efab3508002471ed24c629d13985bca4fe4a1376
2014-11-14 16:41:14 +11:00
Jonathan Kew 1bdefeee1e 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 6f8bff7661 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 a85f3a113d Bug 1063857 - Implement new justification algorithm. r=roc,masayuki 2014-11-10 12:25:17 +11:00
Carsten "Tomcat" Book 2032c5061a Backed out changeset 53d51e7fbb9e (bug 1063857) for Android Reftest Failures 2014-11-04 10:59:46 +01:00
Xidorn Quan 6ce2bfc5f9 Bug 1063857 - Implement new justification algorithm. r=roc,masayuki 2014-11-02 15:07:00 +01:00
Simon Montagu aaa297f259 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 8d64967541 Bug 1079139: make nsFlowAreaRect.mRect a LogicalRect. r=jfkthame 2014-10-21 15:16:13 -07:00