Commit Graph

567 Commits

Author SHA1 Message Date
Xidorn Quan
bfb0d2cc6e Bug 1069519 part 2 - Make line height calculation be aware of ruby annotations. r=dholbert
--HG--
extra : source : e8c8f94afde330276b5d907520d93da10e8f998c
2015-01-08 16:02:41 +11:00
Simon Montagu
1eacdee679 Bug 1079154 patch 5: convert callers of ApplyRelativePosition, ReflowChild and FinishReflowChild in layout/generic to the logical versions, r=jfkthame 2015-01-06 23:10:07 -08: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
61ff35b52e Bug 1114792 - Rename nsStyleContext::IsDirectlyInsideRuby to IsInlineDescendantOfRuby. r=dbaron
--HG--
extra : rebase_source : c28b41828c7d02ab26803c583bae15a218a5da05
2014-12-31 16:39:43 +11:00
Xidorn Quan
3cf39e53b5 Bug 1103832 - Initialize mLineIsEmpty and mLineAtStart of ruby annotations to false. r=dbaron
--HG--
extra : source : e33bd169b681e446973a67e7aa6976ca530c8bc2
2014-12-10 15:57:14 +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
4156dfaf68 Bug 1055665 part 2 - Make nsLineLayout::VerticalAlignLine not rely on line box. r=roc
--HG--
extra : source : c9cc22b10e21bf80d1129e8a01319b05e546b922
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
d732a076a4 Bug 1108429 part 7 - Modify jusitication computation to take ruby into account. r=roc
--HG--
extra : source : dc85c8f239aa5f08d31ada2f1346ad1965bdd4c2
2014-12-15 10:19:38 +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
a759fbf567 Bug 1108429 part 5 - Enable justification computation when there is ruby. r=roc
--HG--
extra : source : a70242f72a280e7f1ceab6b6fa4ece13bd807dee
2014-12-13 22:18:16 +11:00
Xidorn Quan
e8df246df7 Bug 1108429 part 4 - Handle isize reservation in sync annotation rect. r=roc
--HG--
extra : source : 9cd4da9858ad4a314cef0354ec73b8bd635c5ca9
2014-12-13 16:13:12 +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
2331038635 Bug 1098272 part 1 - Suppress line breaks inside ruby boxes. r=dbaron,roc
--HG--
extra : rebase_source : 2e884fd15244a265011e3241be084c5a1c6fd66e
extra : source : 0ea7212c131401abff6a097773ae93cdfa05dcde
2014-12-22 15:17:55 +11:00
Xidorn Quan
244888aa06 Bug 1039009 - Handle float in the base line layout. r=dbaron
--HG--
extra : rebase_source : 981a5ae2bb8f8bf7852398ea944c6e07ed283292
extra : source : b661631e125ab0ffa2bdfa44201fe59571189423
2014-12-10 10:49:13 +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
87cab6fb46 Bug 1107721 - Create PFD for root span. r=dbaron
--HG--
extra : source : 1b8c074e34182cd77158e1c09defe1231c25248e
2014-12-10 09:40:14 +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
347abfe9b0 Bug 1107721 - Allocate PerFrameData & PerSpanData from the base line layout. r=dbaron
--HG--
extra : source : 2444a14f27efcb9d69417d3333dfe809572b5dd0
2014-12-05 15:31:42 -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
Simon Montagu
33a271e5bd Bug 1105137: treat nsFloatManager's mOrigin as an offset, not a point, and rename it to mOffset to make that clearer, r=jfkthame 2014-12-11 03:56:03 -08: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
2c2899d58e Bug 1084370 - Fix handling of vertical-align in lines with vertical writing mode. r=smontagu 2014-11-13 12:58:30 +00:00
Jonathan Kew
34fea182cd Bug 1093553 - Improve handling of line-height metrics, block ascent, etc., in vertical writing mode. r=smontagu 2014-11-13 08:58:06 +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
Jonathan Kew
a2a1b29517 Bug 1094914 - part 1 - Don't confuse frame and line writing-modes in nsLineLayout. 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
Jonathan Watt
5767be9b18 No bug - Get rid of some unnecessary nsRenderingContext.h includes and nsRenderingContext forward declarations.
--HG--
extra : rebase_source : 2e682062b0c4fe3c1e916ed7c7b7ca98ec3b54d3
2014-11-06 22:07:35 +00: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
Jonathan Watt
4f23ebac06 Bug 1088625, part 3 - Remove nsRenderingContext's SetFont, FontMetrics and SetTextRunRTL methods now that no one uses them any more. r=mstange 2014-10-24 16:28:15 +01:00
Jonathan Watt
a0f005a778 Bug 1088625, part 1 - Add lots of missing nsFontMetrics.h and gfxTextRun.h includes 2014-10-24 16:28:14 +01:00
Jonathan Kew
83ad786e39 Bug 1087954 - Fix invalid mix of logical/physical coordinate systems in nsLineLayout::AllowForStartMargin. r=smontagu 2014-10-24 12:24:40 +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
Simon Montagu
e753ab75a0 Bug 1062963 patch 3: make nsFloatManager's origin a LogicalPoint, adapt GetFlowAreas, AddFloats, ClearFloats, etc. to use it and make nsFloatManager region functions work with logical region. r=jfkthame 2014-10-21 15:16:12 -07:00
Simon Montagu
5c79483958 Bug 1062963 patch 1: Logical coordinates in nsLineLayout:ReflowFrame and CanPlaceFrame. r=jfkthame 2014-10-21 15:16:11 -07:00
Mats Palmgren
f2d23931c0 Bug 1085701 - Report the allocation size to the OOM abort. r=roc 2014-10-21 15:42:24 +00:00
Phil Ringnalda
b2eb743d9b Backed out 4 changesets (bug 1062963, bug 1079139) for failures in 427129-table-caption.html in b2g reftest-6 and Android 2.3 reftest-5
Backed out changeset a9672db96a5d (bug 1079139)
Backed out changeset 241c23570a62 (bug 1062963)
Backed out changeset 90172cc0b012 (bug 1062963)
Backed out changeset 71211c4a4acc (bug 1062963)
2014-10-19 18:44:16 -07:00
Simon Montagu
3134a81fca Bug 1079139: make nsFlowAreaRect.mRect a LogicalRect. r=jfkthame 2014-10-19 12:32:17 -07:00
Simon Montagu
3f0d7f2fcc Bug 1062963 patch 3: make nsFloatManager's origin a LogicalPoint, adapt GetFlowAreas, AddFloats, ClearFloats, etc. to use it and make nsFloatManager region functions work with logical region. r=jfkthame 2014-10-19 12:32:17 -07:00
Simon Montagu
ec5af204d9 Bug 1062963 patch 1: Logical coordinates in nsLineLayout:ReflowFrame and CanPlaceFrame. r=jfkthame 2014-10-19 12:32:16 -07:00
Jonathan Kew
75e3fc9c57 Bug 1083104 - Fix misuse of physical instead of logical dimension for line breaking. r=smontagu 2014-10-16 09:40:20 +01:00
Simon Montagu
ceafcb2a98 Bug 1076986: make LogicalMargin and LogicalRect's IsEmpty the same as nsMargin and nsRect, r=jfkthame 2014-10-04 23:02:36 -07:00