gecko/layout/base
Susanna Bowen 377bb6ac71 Bug 1030993 - Basic reflow implementation for ruby frame classes. r=dbaron
To account for spacing between bases or text boxes during reflow, the line
layout which manages the bases updates its inline direction coordinate based on
the preferred inline size for the corresponding text boxes. Next, the base is
reflowed at the correct inline coordinate. Each paired text box is then also
reflowed at the proper inline position determined by (1) the current position of
its corresponding base and (2) its own preferred width.

In computing intrinsic widths, accounting for spacing is less complicated. The
minimum intrinsic width is the width of the widest ruby column, and the
preferred intrinsic width is the sum of all the ruby column widths. Each ruby
column width is the maximum width of its base box and text boxes. These
individual widths are determined using GetPrefISize on the base and text boxes.

Ruby base container frames store a list of pointers to the ruby text container
frames in the segment they denote. This list of pointers is created in the ruby
frame reflow method before calling the reflow method for the ruby base
container. The list exists and is used only during reflow of the main ruby frame
and is cleared before returning from reflow.
2014-08-15 10:34:20 -07:00
..
crashtests Bug 1043163. Avoid negative widths and heights due to overflow. r=mats 2014-08-06 17:19:23 +12:00
tests Backed out 4 changesets (bug 1032878) for probably introducing a leak, creating a CLOSED TREE 2014-08-11 14:27:57 -07:00
ActiveLayerTracker.cpp
ActiveLayerTracker.h
DisplayItemClip.cpp Bug 1041894 - Make FindOpaqueBackgroundColorFor check the DisplayItemClip of items before selecting them. r=roc 2014-07-23 18:12:08 +12:00
DisplayItemClip.h Bug 1041894 - Make FindOpaqueBackgroundColorFor check the DisplayItemClip of items before selecting them. r=roc 2014-07-23 18:12:08 +12:00
DisplayListClipState.cpp Bug 1042423 - Part 2: Add DisplayItemClip constructor for rect + rounded rect. r=roc 2014-07-23 17:21:06 +12:00
DisplayListClipState.h Bug 1048246 - Fix more bad implicit constructors in layout; r=roc 2014-08-07 19:48:38 -04:00
FrameLayerBuilder.cpp Bug 1019693 - Always use tiled thebes layers when we're a descendant of a layer with a critical display port so that the low-resolution drawing area is handled correctly. r=tn 2014-08-08 09:12:01 +12:00
FrameLayerBuilder.h Bug 1019693 - Always use tiled thebes layers when we're a descendant of a layer with a critical display port so that the low-resolution drawing area is handled correctly. r=tn 2014-08-08 09:12:01 +12:00
FramePropertyTable.cpp Bug 1046281 - Use the simpler version of nsTHashtable memory reporters. r=njn 2014-08-05 13:27:41 -07:00
FramePropertyTable.h Bug 1048246 - Fix more bad implicit constructors in layout; r=roc 2014-08-07 19:48:38 -04:00
GeometryUtils.cpp
GeometryUtils.h
MaskLayerImageCache.cpp Bug 1037691 - Fix instances where refcounted classes expose a public destructor. r=ehsan,bent,mayhemer,jrmuizel 2014-07-15 11:37:45 -04:00
MaskLayerImageCache.h Bug 1037691 - Fix instances where refcounted classes expose a public destructor. r=ehsan,bent,mayhemer,jrmuizel 2014-07-15 11:37:45 -04:00
moz.build Backed out changeset 4c4e45496cac (bug 946065) for mochitest crashes on windows; CLOSED TREE 2014-08-06 17:06:57 +01:00
nsArenaMemoryStats.h
nsAutoLayoutPhase.cpp
nsAutoLayoutPhase.h
nsBidi.cpp
nsBidi.h
nsBidiPresUtils.cpp Bug 1049997 - Separate statements declaring multiple pointers into separate statements. r=froydnj 2014-08-08 07:04:45 -07:00
nsBidiPresUtils.h
nsCaret.cpp Bug 1026164, improve focus handling in shadow dom, r=wchen 2014-08-06 02:23:02 +03:00
nsCaret.h Bug 1016184 part 1 - Correct documentation in nsCaret.h. r=ehsan 2014-07-14 23:18:00 +02:00
nsChangeHint.h Bug 996796 patch 7 - Add new restyle types that replace only the data from CSS transitions or animations. r=heycam 2014-08-02 19:37:43 -07:00
nsCompatibility.h
nsCounterManager.cpp Bug 1050009 - Initialize pldhash tables with a length, not a capacity. r=roc. 2014-08-06 06:31:21 -07:00
nsCounterManager.h
nsCSSColorUtils.cpp
nsCSSColorUtils.h Bug 1024930 - Change text highlighting color. r=roc 2014-07-30 00:11:00 -04:00
nsCSSFrameConstructor.cpp Bug 1030993 - Basic reflow implementation for ruby frame classes. r=dbaron 2014-08-15 10:34:20 -07:00
nsCSSFrameConstructor.h Bug 1021952 - Generate anonymous boxes to preserve proper ruby structure r=bz 2014-07-22 19:08:08 -07:00
nsCSSRendering.cpp Bug 1051527 - BackgroundClipState::mHasRounded corners is used uninitialised. r=matt.woodrow. 2014-08-13 11:26:33 +02:00
nsCSSRendering.h Bug 1042423 - Part 5: Remove PaintBackgroundColor. r=roc 2014-07-23 17:23:38 +12:00
nsCSSRenderingBorders.cpp
nsCSSRenderingBorders.h
nsDisplayItemTypes.h
nsDisplayItemTypesList.h
nsDisplayList.cpp Bug 1019693 - Always use tiled thebes layers when we're a descendant of a layer with a critical display port so that the low-resolution drawing area is handled correctly. r=tn 2014-08-08 09:12:01 +12:00
nsDisplayList.h Bug 1051097. Set the initial visible rect correctly on the wrap list item stored inside transform display items. r=roc 2014-08-10 21:59:02 -05:00
nsDisplayListInvalidation.cpp Bug 1003425. When opacity is delegated to an nsDisplayBoxShadowOuter via nsDisplayItem::ApplyOpacity, store the opacity in our geometry so we can invalidate if it changes. r=mattwoodrow 2014-07-22 01:59:10 +12:00
nsDisplayListInvalidation.h Bug 1003425. When opacity is delegated to an nsDisplayBoxShadowOuter via nsDisplayItem::ApplyOpacity, store the opacity in our geometry so we can invalidate if it changes. r=mattwoodrow 2014-07-22 01:59:10 +12:00
nsDocumentViewer.cpp Bug 1048246 - Fix more bad implicit constructors in layout; r=roc 2014-08-07 19:48:38 -04:00
nsFrameManager.cpp Bug 1050009 - Initialize pldhash tables with a length, not a capacity. r=roc. 2014-08-06 06:31:21 -07:00
nsFrameManager.h
nsFrameManagerBase.h
nsFrameTraversal.cpp
nsFrameTraversal.h
nsGenConList.cpp
nsGenConList.h
nsIDocumentViewerPrint.h
nsIFrameTraversal.h
nsILayoutDebugger.h
nsILayoutHistoryState.h
nsIPercentHeightObserver.h
nsIPresShell.h Bug 1048246 - Fix more bad implicit constructors in layout; r=roc 2014-08-07 19:48:38 -04:00
nsIReflowCallback.h
nsIStyleSheetService.idl Bug 1024707 - Add API to register style sheets but without loading them. r=bz 2014-07-09 11:43:33 +02:00
nsLayoutDebugger.cpp Bug 1045864 - Disable layerized background-attachment:fixed when we're using a software compositor. r=roc 2014-08-05 15:25:00 +12:00
nsLayoutHistoryState.cpp
nsLayoutUtils.cpp Bug 1030993 - Basic reflow implementation for ruby frame classes. r=dbaron 2014-08-15 10:34:20 -07:00
nsLayoutUtils.h Bug 1030993 - Basic reflow implementation for ruby frame classes. r=dbaron 2014-08-15 10:34:20 -07:00
nsPresArena.cpp Bug 1046281 - Use the simpler version of nsTHashtable memory reporters. r=njn 2014-08-05 13:27:41 -07:00
nsPresArena.h Bug 1048246 - Fix more bad implicit constructors in layout; r=roc 2014-08-07 19:48:38 -04:00
nsPresContext.cpp Bug 1047509 - Part 11: Remove nsCxPusher in nsPresContext::MediaFeatureValuesChanged. r=bholley 2014-08-07 19:44:03 +01:00
nsPresContext.h Bug 1048246 - Fix more bad implicit constructors in layout; r=roc 2014-08-07 19:48:38 -04:00
nsPresShell.cpp Backed out changeset 411a075b3624 (bug 987030) because it probably caused timeouts of browser_tabview_expander.js. CLOSED TREE 2014-08-08 18:05:40 +02:00
nsPresShell.h Backed out changeset 411a075b3624 (bug 987030) because it probably caused timeouts of browser_tabview_expander.js. CLOSED TREE 2014-08-08 18:05:40 +02:00
nsPresState.h
nsQuoteList.cpp
nsQuoteList.h
nsRefreshDriver.cpp Bug 1053078 - Use a timeout instead of tick count for preventing refresh driver hangs since ASAP mode accumulates tick counts too quickly. r=roc 2014-08-15 14:24:50 +12:00
nsRefreshDriver.h Bug 1053078 - Use a timeout instead of tick count for preventing refresh driver hangs since ASAP mode accumulates tick counts too quickly. r=roc 2014-08-15 14:24:50 +12:00
nsStyleChangeList.cpp
nsStyleChangeList.h
nsStyleSheetService.cpp Bug 1024707 - Add API to register style sheets but without loading them. r=bz 2014-07-09 11:43:33 +02:00
nsStyleSheetService.h Bug 1024707 - Add API to register style sheets but without loading them. r=bz 2014-07-09 11:43:33 +02:00
PaintTracker.cpp
PaintTracker.h
PositionedEventTargeting.cpp Bug 1046101 part.18 Rename NS_TOUCH_EVENT to eTouchEventClass r=smaug 2014-08-04 14:28:53 +09:00
PositionedEventTargeting.h
RestyleManager.cpp Bug 625289 patch 7 - Expose TryStartingTransition. r=heycam 2014-08-13 15:39:01 -07:00
RestyleManager.h Bug 625289 patch 11 - Call RestyleManager::TryStartingTransition during frame construction. r=heycam 2014-08-13 15:39:02 -07:00
RestyleTracker.cpp Bug 996796 patch 6 - Adjust checks of restyle types to accomodate new types weaker than eRestyle_Self. r=heycam 2014-08-02 19:37:43 -07:00
RestyleTracker.h Bug 996796 patch 18 - Fix RestyleTracker to handle restyle hints exactly rather than pessimistically when restyling continuations with varying styles (e.g., spans inside ::first-line or ::first-letter). r=heycam 2014-08-03 13:11:55 -07:00
ScrollbarStyles.h
SelectionCarets.cpp Bug 1050095 - Prevent drag event when calling SelectionCarets::SelectWord(). r=roc 2014-08-06 23:08:00 -04:00
SelectionCarets.h Bug 1023041 - Part 1: Rename SetMouseDownState to SetDragState. r=roc 2014-08-04 00:26:00 -04:00
StackArena.cpp
StackArena.h
TouchCaret.cpp Bug 1046732 - Part 1: Fix incorrect event message used in TouchCaret.cpp. r=ehsan 2014-08-07 01:26:00 -04:00
TouchCaret.h Backed out 9 changesets (bug 1016184) for frequent OSX Gip timeouts. 2014-07-31 13:29:30 -04:00
Units.h Backed out 3 changesets (bug 923512) for mochitest-2 bustage on a CLOSED TREE 2014-08-06 16:36:35 -07:00
UnitTransforms.h Backed out 3 changesets (bug 923512) for mochitest-2 bustage on a CLOSED TREE 2014-08-06 16:36:35 -07:00