Birunthan Mohanathas
a29151dc87
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Neil Deakin
19545a1a28
Bug 1132518, add a flag to nsIFrameTraversal to skip the popup checks, r=mats
2015-07-13 06:07:49 -04:00
Tim Taubert
59b839ab05
Bug 834830 - Add nsISelectionController.SELECTION_URLSTRIKEOUT to enable striking out parts of the URL in the URL bar r=roc
2015-07-08 15:45:21 +02:00
Markus Stange
a947998735
Bug 1178382 - Ignore overflow: -moz-hidden-unscrollable on <select size=n> listboxes. r=roc
...
forms.css sets overflow: -moz-hidden-unscrollable on all select elements.
ApplyOverflowClipping in nsFrame.cpp applies overflow clips that are not managed by scroll frames.
nsCSSFrameConstructor::ConstructSelectFrame creates an nsListControlFrame for listbox select elements.
nsListControlFrame is an nsHTMLScrollFrame.
As a result, the clip as applied twice - once by the nsHTMLScrollFrame, and then again by ApplyOverflowClipping.
Adding an exception for nsListControlFrame to ShouldApplyOverflowClipping gets rid of the double clip.
But we still need to apply the clip when calculating the frame's visual overflow rect, so we add the
list box frame type to the list of special-cased frames in UnionBorderBoxes.
2015-07-06 17:57:37 -04:00
Simon Montagu
48d331ff82
Bug 1180178: Add writing-mode and logical coordinates to frame dumps, r=jfkthame
2015-07-07 06:37:30 -07:00
Jonathan Kew
3dd8633878
Bug 1181087 - part 1 - Eliminate the few callers of physical-coordinate setters on the logical-coordinate geometry classes. r=smontagu
2015-07-07 14:20:09 +01:00
Lee Salzman
fad233b142
Bug 771367 - Support compositor animation for pseudo-elements. r=dbaron
2015-07-01 11:55:51 -04:00
Jonathan Kew
2e820e821b
Bug 1174711 - patch 4 - Rename mSpecialHeightReflow to mSpecialBSizeReflow, and update comments to match. r=dholbert
2015-06-22 10:33:34 +01:00
Jonathan Kew
ac7784827a
Bug 1174711 - patch 1 - Rename nsIPercentHeightObserver to nsIPercentBSizeObserver, and update related frame methods to match. r=dholbert
2015-06-22 10:33:34 +01:00
Mats Palmgren
71f08511bd
Bug 1174450 part 9c - Rename local var 'orthogonal' to 'verticalAxis' and simplify getting the GetComputedBorderWidth sides. r=jfkthame
2015-06-16 11:21:04 +00:00
Mats Palmgren
fcb056fcd4
Bug 1174450 part 9 - Remove the nsRenderingContext* param from Intrinsic*SizeOffsets methods since it's unused. r=jfkthame
2015-06-16 11:21:04 +00:00
Mats Palmgren
0d694139d2
Bug 1174450 part 8 - Add a new method nsIFrame::IntrinsicBSizeOffsets. r=jfkthame
2015-06-16 11:21:04 +00:00
Jonathan Kew
a0016ac6be
Bug 1079151 - patch 2 - Convert nsAbsoluteContainingBlock to use logical coordinates. r=smontagu
2015-06-05 08:47:09 +01:00
Simon Montagu
e6de936024
Bug 1147834: Use abstract coordinates in nsHTMLReflowState, r=jfkthame
2015-06-04 03:43:02 -07:00
Ryan VanderMeulen
c86afc17c0
Backed out changeset 4126c66c9a80 (bug 1166728) for Gaia sound_manager_test.js failures.
...
CLOSED TREE
2015-05-29 15:16:53 -04:00
Kyle Zentner
3d8d101f51
Bug 1166728 - Remove box-sizing: padding-box, as per CSS WG. r=dholbert
2015-05-29 09:17:00 -04:00
Ryan VanderMeulen
b4f972448b
Backed out changeset 541cd29ea626 (bug 1166728) because the updated patch wasn't posted to the bug.
2015-05-29 12:48:22 -04:00
Kyle Zentner
e89b7c3c14
Bug 1166728 - Remove box-sizing: padding-box, as per CSS WG. r=dholbert
2015-05-27 09:57:00 -04:00
Ryan VanderMeulen
d6ec37dedb
Backed out changeset dd96df1da2b5 (bug 1166728) for making test_bug320799.html permafail on Mulet.
...
CLOSED TREE
2015-05-28 11:01:18 -04:00
Kyle Zentner
e085cc0fac
Bug 1166728 - Remove box-sizing: padding-box, as per CSS WG. r=dholbert
2015-05-27 09:57:00 -04:00
Botond Ballo
3c50c1e080
Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj
2015-05-26 14:33:55 -04:00
Phil Ringnalda
4c7e666e55
Back out 3 changesets (bug 1119980) for emulator-l bustage
...
CLOSED TREE
Backed out changeset 12ce98475c6e (bug 1119980)
Backed out changeset bdb8d05f8870 (bug 1119980)
Backed out changeset a68a18840492 (bug 1119980)
2015-05-25 18:48:51 -07:00
Botond Ballo
3602e7412d
Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj
2015-05-25 20:45:17 -04:00
Eric Rahm
ddc8ac650b
Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj
2015-05-19 11:15:34 -07:00
Jose' Rios
fea85bb007
Bug 1142295 - Closing descriptor when GECKO_DISPLAY_REFLOW_RULES_FILE is setted. r=erahm
2015-05-14 17:07:00 -07:00
Jonathan Watt
ea50a9c4c0
Bug 1165893 - Fix rounding issue in nsDisplaySelectionOverlay::Paint. r=mattwoodrow
2015-05-04 14:35:22 +01:00
Jonathan Kew
b45f261251
Bug 1159305 - patch 2 - Clean up layout code by using the new accessors. r=smontagu
2015-05-11 11:37:46 +01:00
Markus Stange
6d6e33904f
Bug 1147194 - Do scroll info layer hoisting when building the display list. r=tn
2015-04-30 14:54:48 -04:00
Mats Palmgren
5d7fa88ea8
Bug 1153757 - Tweak DoGetParentStyleContext to exclude pseudos with a non-primary frame from using a display:contents parent as the style context parent. r=heycam
2015-04-29 13:13:47 +00:00
Xidorn Quan
e8df90d3ac
Bug 1156222 - Check frame type instead of display type for ruby and simplify code. r=dholbert
2015-04-23 13:32:53 +12:00
Nicolas Silva
ea494e1155
Bug 1155621 - Remove no-op gfx2DGlue conversion helpers. r=Bas
2015-04-21 17:22:30 +02:00
Nicolas Silva
d73f54cb00
Bug 1155621 - Make nsIntRect and nsIntPoint typedefs of mozilla::gfx::IntRect and mozilla::gfx::IntPoint. r=Bas
2015-04-21 17:04:57 +02:00
Ehsan Akhgari
9aaa361672
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
Nathan Froyd
023e3d5c3f
Bug 1153267 - part 1 - use smart-pointer .forget() instead of NS_ADDREF+assign; r=ehsan
2015-03-31 10:03:49 -04:00
Mats Palmgren
fa1148962b
Bug 1143130 - Initialize nsIFrame::ContentOffsets members, and some additional cleanup. r=roc
2015-04-09 17:57:34 +00:00
Jonathan Kew
4d2cd9c151
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
Mats Palmgren
fe65991446
Bug 1148971 - Make nsITheme::GetMinimumWidgetSize return a LayoutDeviceIntSize result instead of the unit-less nsIntSize type. r=roc
2015-03-30 11:36:14 -04:00
Carsten "Tomcat" Book
1dadb1db1d
Backed out changeset 513192eb7df4 (bug 1148971) for causing bc2 memory leaks
2015-03-30 15:04:09 +02:00
Mats Palmgren
6258bed9a3
Bug 1148971 - Make nsITheme::GetMinimumWidgetSize return a LayoutDeviceIntSize result instead of the unit-less nsIntSize type. r=roc
2015-03-30 10:37:33 +00:00
Mats Palmgren
3f92be8fe8
Bug 1148833 part 3 - Remove nsIFrame::WillReflow and add a non-virtual MarkInReflow method instead that sets NS_FRAME_IN_REFLOW. Call it at the start of Reflow(). r=roc
2015-03-29 22:38:40 +00:00
Mats Palmgren
567d4e1e73
Bug 1148833 part 2 - Makes sure gLogModule is initialized by calling GetLogModuleInfo(). r=roc
2015-03-29 22:38:40 +00:00
Mats Palmgren
93812422e1
Bug 1144905 - Clean up SortByZOrder code and comments since it now assumes the list is already in content document order. r=roc
2015-03-28 20:50:35 +00:00
Jorg K
b55440720f
Bug 756984 - Collapse the selection on the last text node on the line, skipping br and inline frames when clicking past the end of line; r=roc,ehsan
2015-03-27 20:04:29 -04:00
Timothy Nikkel
b37309aaa7
Bug 1144951. Rename ConvertAppUnits to ScaleToOtherAppUnits. r=mats
2015-03-26 16:44:40 -05:00
Ehsan Akhgari
ea41d8de48
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Xidorn Quan
ff95153fca
Backout a6dbd23da598 (bug 1139283) since it is currently not needed.
2015-03-20 15:12:17 +11:00
Robert O'Callahan
62f9945941
Bug 1125767. Centralize code into nsStylePosition::IsFixedPosContainingBlock. r=mats
...
Also renames IsPositioned to IsAbsPosContainingBlock.
2015-03-12 16:21:01 +13:00
Xidorn Quan
63683132d2
Bug 1140264 part 3 - Rename IsInlineDescendantOfRuby to ShouldSuppressLineBreak and exclude rbc/rtc from it. r=dbaron
2015-03-11 10:28:21 +11:00
Xidorn Quan
9533554776
Bug 1139283 - Move some properties from nsStyleDisplay to nsStylePosition. r=dbaron
...
The moved properties are:
* clip
* transform-style
* transform-origin
* backface-visibility
* perspective
* perspective-origin
* will-change
2015-03-08 18:43:22 +11:00
Kearwood (Kip) Gilbert
a9d490a474
Bug 945584: Part 7 - Implement Scroll Snapping for Autoscroll, r=roc
...
- Triggering scroll snapping at the end of an autoscroll.
- This enables text selection to be unencumbered by scroll snapping, while
restoring the scroll position to a valid snapping position when the drag
operation is completed.
2015-02-19 16:00:53 -08:00