Commit Graph

6642 Commits

Author SHA1 Message Date
Daniel Holbert
0adbe57486 Bug 1155312: Convert flex container nsHTMLReflowMetrics/aDesiredSize-populating code to use logical coords. r=mats 2015-04-17 10:41:23 -07:00
Carsten "Tomcat" Book
f712fa1cba Backed out changeset 5ef9825777a2 (bug 1021499) 2015-04-17 13:14:13 +02:00
Morris Tseng
ec0835d293 Bug 1021499 - Enlarge touch/selection carets touch area. r=roc 2015-04-15 19:15:00 +02:00
Daniel Holbert
eb03343cf8 Bug 1152913 part 3: Make flexbox's PositionTracker classes track whether axis is reversed, & directly convert flex item final sizes/positions to logical coords. r=mats 2015-04-16 12:01:14 -07:00
Jonathan Kew
3c2d5f88ad Bug 1151993 - Apply shrink-wrapping to block frames that are orthogonal to their containing block. r=smontagu 2015-04-07 19:56:58 +01:00
Jonathan Kew
39f9616261 Bug 1144501 - Take account of orthogonal writing modes when adjusting available size to reflow a child frame. r=smontagu 2015-04-07 15:35:30 +01:00
Mats Palmgren
a560dade2b Bug 1153478 part 2 - Remove useless assertions. r=roc 2015-04-16 09:04:19 +00:00
Mats Palmgren
6fe94a0e3d Bug 1153478 part 1 - Add nsInlineFrame::StealFrame and make it deal with being called on the wrong parent for aChild (due to lazy reparenting). r=roc 2015-04-16 09:04:19 +00:00
Xidorn Quan
b1997d8ac7 Bug 1153764 - Avoid explicitly doing break before when there is ruby span. r=roc 2015-04-16 13:42:45 +12:00
Ehsan Akhgari
a7e81d9f03 Bug 956530 - Clear the delayed caret data when clicking on a selected part of a text control if the focus event handler selects the control; r=roc 2015-04-14 08:29:11 -04:00
Xidorn Quan
7b72ded7f4 Bug 1153634 - Weaken the assertion condition to make it match the condition before. r=roc 2015-04-14 09:11:28 +12:00
Nathan Froyd
b5966ed356 Bug 1153267 - part 1 - use smart-pointer .forget() instead of NS_ADDREF+assign; r=ehsan 2015-03-31 10:03:49 -04:00
David Anderson
476d294696 Fix tests that depend on synchronous scrolling. (bug 1140293, r=mstange,masayuki,kgilbert) 2015-04-13 00:51:43 -04:00
Mats Palmgren
c9abe27bec Bug 1143299 - Make frame insertion methods deal with aPrevFrame being on an overflow list. r=roc a=abillings 2015-04-11 00:21:06 +00:00
Daniel Holbert
7d125666bd Bug 1152913 part 2: Convert flexbox 'IsAxisHorizontal' checks to use new logical-axis member data. r=mats 2015-04-10 13:35:42 -07:00
Daniel Holbert
f23d1dd37e Bug 1152913 part 1: Make FlexboxAxisTracker store the WritingMode & representation of how flex axes map to it. r=mats 2015-04-10 13:35:15 -07:00
Timothy Nikkel
6ee590e4fb Bug 1147038. Use the correct clip for root scroll frames in root content documents. r=mstange
Normally a document would size itself to the size of it's "container". If the document is a subdocument it will use the size of the iframe. If it's a root document it will use the size of the widget it is in. Overriding the viewport breaks this link, the document is now sized to whatever size the last call to nsIDOMWindowUtils::SetCSSViewport had. Of course this would produce a weird display on screen so we use this in conjunction with setting a resolution on the document. This means that the layout viewport (the size of the root frame and also approximately mScrollPort) is different from the visual viewport (what's visible on screen). The visual viewport is the composition bounds.
2015-04-09 23:48:00 -05:00
Daniel Holbert
9a87ab2531 Bug 1152951: Delete the copy-constructor and reassignment operator for FlexboxAxisTracker & PositionTracker state-management classes. r=mats 2015-04-10 09:27:54 -07:00
Jonathan Kew
0ae3be7330 Bug 1153140 - Include borderPadding width in the containerWidth for grid item placement. r=mats 2015-04-10 16:56:23 +01:00
Ryan VanderMeulen
7739e3103c Backed out changeset 3366d180e8ee (bug 1145439) for test_scroll_event_ordering.html failures. 2015-04-09 22:59:10 -04:00
Seth Fowler
64b07ec589 Bug 1145439 - Throttle requestAnimationFrame for non-visible iframes. r=mstange,mchang 2015-04-09 17:52:23 -07:00
Mats Palmgren
75b029a916 Bug 1143130 - Initialize nsIFrame::ContentOffsets members, and some additional cleanup. r=roc 2015-04-09 17:57:34 +00:00
Mats Palmgren
6299561ace Bug 1145768 - Use the right begin() iterator to compare with. r=roc
Using the wrong begin() means that RFindLineContaining would hang
in the case the frame isn't on the overflow list.  We should always
find it there though, if it wasn't found on the principal list, so
the bug is harmless apart from the assertion.
2015-04-09 17:57:34 +00:00
Jim Mathies
89c095ec93 Bug 1128238 - Ajust NPP_SetWindow and synth native event coords to account for the chrome offset of remote tabs. Prior to this the content process always assumed the tab was the window origin. r=aklotz 2015-04-08 11:51:49 -05:00
Carsten "Tomcat" Book
8dc1692798 Backed out changeset 1158acbea753 (bug 1140293) for frequent windows m-oth test failures in test_wheeltransaction.xul 2015-04-08 10:22:34 +02:00
Seth Fowler
6195e0cdf5 Bug 1150704 - Use the same dest rect calculation for nsDisplayImage::GetOpaqueRegion and nsDisplayImage::GetDestRect. r=dholbert 2015-04-07 18:55:28 -07:00
Seth Fowler
0237616678 Bug 1150774 (Part 2) - Use the correct units in nsDisplayImageContainer::ConfigureLayer and related code. r=botond 2015-04-07 18:55:28 -07:00
dvander@alliedmods.net
1e605fa9f0 Fix tests that depend on synchronous scrolling. (bug 1140293, r=mstange,masayuki,kgilbert) 2015-04-07 18:20:43 -07:00
Xidorn Quan
24a9de01e5 Bug 1141931 patch 10 - Revert to pass container size instead of only isize for bidi reordering. r=smontagu 2015-04-08 11:22:34 +12:00
Xidorn Quan
90588e8cc1 Bug 1141931 part 8 - Reorder ruby frames regarding their direction. r=jfkthame 2015-04-08 11:22:34 +12:00
Xidorn Quan
2efeb18d5e Bug 1141931 part 7 - Move [Auto]RubyTextContainerArray to RubyUtils and merge RubyTextContainerIterator into AutoRubyTextContainerArray. r=dholbert 2015-04-08 11:22:34 +12:00
Xidorn Quan
c1df223daf Bug 1141931 part 6 - Move Ruby{Segment,Column}Enumerator to RubyUtils. r=dholbert 2015-04-08 11:22:34 +12:00
Xidorn Quan
76a3f2c783 Bug 1141931 part 5 - Eliminate unnecessary includes in header files of ruby frames. r=dholbert 2015-04-08 11:22:34 +12:00
Xidorn Quan
2c09521f7d Bug 1141931 part 3 - Adjust some parameters of functions in nsBidiPresUtils. r=jfkthame
Includes two changes:
* aContainerSize of ReorderFrames, RepositionInlineFrames, RepositionFrame are changed to aContainerISize;
* the type of aContainuationStates in the functions above is changed to const pointer.
2015-04-08 11:22:34 +12:00
Xidorn Quan
513075055f Bug 1141931 part 2 - Eliminate writing-mode mismatch in ruby reflow. r=dholbert 2015-04-08 11:22:34 +12:00
Wes Kocher
51cbd0f3e5 Backed out 10 changesets (bug 1141931) for mochitest-5 failures CLOSED TREE
Backed out changeset c90940067de6 (bug 1141931)
Backed out changeset 96b48288abab (bug 1141931)
Backed out changeset 87281c7ded34 (bug 1141931)
Backed out changeset 6a914ba0b8ec (bug 1141931)
Backed out changeset 9cfea55b5e95 (bug 1141931)
Backed out changeset f432612b6475 (bug 1141931)
Backed out changeset 48cf9568a4b1 (bug 1141931)
Backed out changeset f1ab848b3fa6 (bug 1141931)
Backed out changeset 8a3c71a3b525 (bug 1141931)
Backed out changeset 119d3c0fd0f6 (bug 1141931)
2015-04-07 14:23:57 -07:00
Xidorn Quan
4418fdc9a3 Bug 1141931 patch 10 - Revert to pass container size instead of only isize for bidi reordering. r=smontagu 2015-04-08 08:40:31 +12:00
Xidorn Quan
bdcc3e7be2 Bug 1141931 part 8 - Reorder ruby frames regarding their direction. r=jfkthame 2015-04-08 08:40:31 +12:00
Xidorn Quan
6066c1f395 Bug 1141931 part 7 - Move [Auto]RubyTextContainerArray to RubyUtils and merge RubyTextContainerIterator into AutoRubyTextContainerArray. r=dholbert 2015-04-08 08:40:31 +12:00
Xidorn Quan
ae378e891f Bug 1141931 part 6 - Move Ruby{Segment,Column}Enumerator to RubyUtils. r=dholbert 2015-04-08 08:40:31 +12:00
Xidorn Quan
2b7f849872 Bug 1141931 part 5 - Eliminate unnecessary includes in header files of ruby frames. r=dholbert 2015-04-08 08:40:31 +12:00
Xidorn Quan
71881d9074 Bug 1141931 part 3 - Adjust some parameters of functions in nsBidiPresUtils. r=jfkthame
Includes two changes:
* aContainerSize of ReorderFrames, RepositionInlineFrames, RepositionFrame are changed to aContainerISize;
* the type of aContainuationStates in the functions above is changed to const pointer.
2015-04-08 08:40:31 +12:00
Xidorn Quan
3b7f6e82ef Bug 1141931 part 2 - Eliminate writing-mode mismatch in ruby reflow. r=dholbert 2015-04-08 08:40:31 +12:00
Jonathan Kew
4d41a20eeb Bug 1130907 - patch 2 - Account for writing-mode in nsContainerFrame::DoInlineIntrinsicISize. r=smontagu 2015-04-07 09:24:04 +01:00
Jonathan Kew
6c72783454 Bug 1130907 - patch 1 - Account for writing-mode when incorporating border widths into intrinsic size. r=smontagu 2015-04-07 09:24:04 +01:00
Ryan VanderMeulen
eccfcb8a87 Backed out changeset 8882af540247 (bug 1029451) for intermittent timeouts in the newly-added test. 2015-04-06 11:22:00 -04:00
Tom Tromey
ddd9e95730 Bug 1029451 - Preserve mIsSynthesizedForTests on mouse events. r=ehsan 2015-04-03 08:17:00 -04:00
Mats Palmgren
aa6c74a1bc Bug 1151220 - [css-grid] Fix a couple of typos in InitializeTrackSize. r=dholbert 2015-04-04 08:50:00 -04:00
Wes Kocher
53cbe34051 Backed out changeset b0de9cef013b (bug 1145439) for Gu orange 2015-04-03 14:11:11 -07:00
Seth Fowler
a8cbe4b241 Bug 1145439 - Throttle requestAnimationFrame for non-visible iframes. r=mstange,mchang 2015-04-03 11:51:11 -07:00