Andrew McCreight
fccb0645ed
Bug 1323042 - forbid MOZ_COUNT_{CTOR,DTOR} for nsISupports classes; r=froydnj
2016-12-12 09:27:58 -05:00
Nathan Froyd
826598caba
Backout aba6c73511a2 (bug 1307961) for massive test bustage resulting in a CLOSED TREE; r=alltheorange
2016-12-12 08:45:46 -05:00
Andrew McCreight
e31b5489da
Bug 1307961 - require consistent bloatview reporting for nsISupports classes; r=froydnj
2016-12-12 07:58:33 -05:00
Brad Werth
40020d1bf8
Bug 1302470 Part 5: Fix the case where HTML buttons need to generate display item children when doing opaque hit tests. r=mattwoodrow
...
MozReview-Commit-ID: HwDYsnMJkM8
2016-11-30 14:35:37 -08:00
Thomas Wisniewski
4c82121568
Bug 140562 - Part 2: Remove the 2px extra padding on buttons for a prospective -moz-focus-inner ring, and just size that ring the same as the content frame (inflated by its CSS padding). r=dbaron
2016-12-02 01:11:48 -05:00
Thomas Wisniewski
d48094301d
Bug 140562 - Part 1: Remove unused moz-focus-outer code for buttons. r=dbaron
2016-10-21 12:19:03 -04:00
Julian Seward
2a625e574c
Bug 1316556 - Remove zeroing allocation in class nsIPresShell. r=dbaron.
...
--HG--
extra : rebase_source : 203c4848cf0fe321b429c78ddf71acd662755e6d
2016-12-01 09:06:50 +01:00
Boris Zbarsky
7478659b49
Bug 1320809. Remove the unused IsChecked() and IsIndeterminate() methods from nsGfxCheckboxControlFrame. r=dholbert
2016-11-29 15:52:22 -05:00
Boris Zbarsky
c2aae6a433
Bug 504622 part 2. Allow fieldsets to shrink below their intrinsic min-width and below the width of their legend if their min-width is explicitly overridden. r=dbaron
2016-11-29 15:52:55 -05:00
Boris Zbarsky
5b089631f6
Bug 504622 part 1. Rewrite fieldset border drawing to just clip to the area outside the legend instead of doing it in pieces with different clip rects. r=mattwoodrow,dbaron
...
This change will allow the border drawing code to deal with the following
changes, which will make us no longer force the fieldset to be wider than the
legend. Without this patch, allowing the fieldset to be narrower than the
legend causes the vertical inline-start-side and inline-end-side borders of the
fieldset to paint under the legend, because the current code only modifies the
painting of the block-start-side border (the one the legend is positioned on).
This does change behavior in one situation, which the new tests test. For
relatively positioned legends, we used to use the original vertical location but
the positioned horizontal location of the legend to decide which parts of the
border to not paint. In the new setup, we use the original location for both.
I did check that this new behavior matches Chrome and Safari. Edge seems to
have our old behavior.
2016-11-29 15:52:30 -05:00
Wes Kocher
afc3fce143
Backed out changeset 6114d21c87ca (bug 1320809) for android reftest failures a=backout
2016-11-29 14:04:53 -08:00
Wes Kocher
f0071bb179
Backed out 2 changesets (bug 504622) for android reftest failures a=backout
...
Backed out changeset c024721d9b03 (bug 504622)
Backed out changeset 056f728704e7 (bug 504622)
2016-11-29 14:04:40 -08:00
Boris Zbarsky
6f55f6fce6
Bug 504622 part 2. Allow fieldsets to shrink below their intrinsic min-width and below the width of their legend if their min-width is explicitly overridden. r=dbaron
2016-11-29 15:52:55 -05:00
Boris Zbarsky
6b2f992350
Bug 504622 part 1. Rewrite fieldset border drawing to just clip to the area outside the legend instead of doing it in pieces with different clip rects. r=mattwoodrow,dbaron
...
This change will allow the border drawing code to deal with the following
changes, which will make us no longer force the fieldset to be wider than the
legend. Without this patch, allowing the fieldset to be narrower than the
legend causes the vertical inline-start-side and inline-end-side borders of the
fieldset to paint under the legend, because the current code only modifies the
painting of the block-start-side border (the one the legend is positioned on).
This does change behavior in one situation, which the new tests test. For
relatively positioned legends, we used to use the original vertical location but
the positioned horizontal location of the legend to decide which parts of the
border to not paint. In the new setup, we use the original location for both.
I did check that this new behavior matches Chrome and Safari. Edge seems to
have our old behavior.
2016-11-29 15:52:30 -05:00
Boris Zbarsky
ec89866229
Bug 1320809. Remove the unused IsChecked() and IsIndeterminate() methods from nsGfxCheckboxControlFrame. r=dholbert
2016-11-29 15:52:22 -05:00
Mats Palmgren
d8418be439
Bug 1279354 part 3 - Crashtest.
2016-11-28 23:00:20 +01:00
Mats Palmgren
046c6cd826
Bug 1279354 part 2 - Make the nsProgressFrame code a bit more idiomatic by processing its actual child frames. r=dholbert
2016-11-28 23:00:20 +01:00
Ting-Yu Lin
c9cfd878cb
Bug 1317588 Part 2 - Remove mozilla::css::Side typedef. r=mats
...
This patch is written with the help of the following script.
function rename() {
find .\
-type f\
! -path "./obj*"\
! -path "./.git"\
! -path "./.hg"\
\( -name "*.cpp" -or\
-name "*.h" \)\
-exec sed -i -e "s/$1/$2/g" "{}" \;
}
rename "css::Side" "Side"
MozReview-Commit-ID: DPV6vivpPUp
--HG--
extra : rebase_source : 9c4f66dc9d2b26c89a4517fba4ff9c5db413411b
2016-11-18 16:28:38 +08:00
Carsten "Tomcat" Book
8b27dda5d1
merge mozilla-inbound to mozilla-central a=merge
2016-11-22 15:53:05 +01:00
Ehsan Akhgari
aca985efab
Bug 1318805
- Move the code for the Web Painting module to layout/painting; r=mattwoodrow
...
This will help make it clearer that this code lives in a different
module for contributors.
--HG--
rename : layout/base/ActiveLayerTracker.cpp => layout/painting/ActiveLayerTracker.cpp
rename : layout/base/ActiveLayerTracker.h => layout/painting/ActiveLayerTracker.h
rename : layout/base/BorderCache.h => layout/painting/BorderCache.h
rename : layout/base/BorderConsts.h => layout/painting/BorderConsts.h
rename : layout/base/DashedCornerFinder.cpp => layout/painting/DashedCornerFinder.cpp
rename : layout/base/DashedCornerFinder.h => layout/painting/DashedCornerFinder.h
rename : layout/base/DisplayItemClip.cpp => layout/painting/DisplayItemClip.cpp
rename : layout/base/DisplayItemClip.h => layout/painting/DisplayItemClip.h
rename : layout/base/DisplayItemScrollClip.cpp => layout/painting/DisplayItemScrollClip.cpp
rename : layout/base/DisplayItemScrollClip.h => layout/painting/DisplayItemScrollClip.h
rename : layout/base/DisplayListClipState.cpp => layout/painting/DisplayListClipState.cpp
rename : layout/base/DisplayListClipState.h => layout/painting/DisplayListClipState.h
rename : layout/base/DottedCornerFinder.cpp => layout/painting/DottedCornerFinder.cpp
rename : layout/base/DottedCornerFinder.h => layout/painting/DottedCornerFinder.h
rename : layout/base/FrameLayerBuilder.cpp => layout/painting/FrameLayerBuilder.cpp
rename : layout/base/FrameLayerBuilder.h => layout/painting/FrameLayerBuilder.h
rename : layout/base/LayerState.h => layout/painting/LayerState.h
rename : layout/base/MaskLayerImageCache.cpp => layout/painting/MaskLayerImageCache.cpp
rename : layout/base/MaskLayerImageCache.h => layout/painting/MaskLayerImageCache.h
rename : layout/base/PaintTracker.cpp => layout/painting/PaintTracker.cpp
rename : layout/base/PaintTracker.h => layout/painting/PaintTracker.h
rename : layout/base/nsCSSRendering.cpp => layout/painting/nsCSSRendering.cpp
rename : layout/base/nsCSSRendering.h => layout/painting/nsCSSRendering.h
rename : layout/base/nsCSSRenderingBorders.cpp => layout/painting/nsCSSRenderingBorders.cpp
rename : layout/base/nsCSSRenderingBorders.h => layout/painting/nsCSSRenderingBorders.h
rename : layout/base/nsDisplayItemTypes.h => layout/painting/nsDisplayItemTypes.h
rename : layout/base/nsDisplayItemTypesList.h => layout/painting/nsDisplayItemTypesList.h
rename : layout/base/nsDisplayList.cpp => layout/painting/nsDisplayList.cpp
rename : layout/base/nsDisplayList.h => layout/painting/nsDisplayList.h
rename : layout/base/nsDisplayListInvalidation.cpp => layout/painting/nsDisplayListInvalidation.cpp
rename : layout/base/nsDisplayListInvalidation.h => layout/painting/nsDisplayListInvalidation.h
2016-11-21 20:01:15 -05:00
Wes Johnston
5b987fba4a
Bug 418833 - Move default checkbox/radio drawing to images. Allow overriding checkbox/radio styling. r=tnikkel
...
MozReview-Commit-ID: HqyXXuYzjrE
--HG--
extra : rebase_source : 9d2c887e0bdef26b4b32b7b45c80ac456ea6ebd3
2016-11-03 16:54:49 -04:00
Mats Palmgren
0f6b748935
Bug 1317168 part 2 - [css-grid] Fall back to using nsContainerFrame::ComputeAutoSize when the nsTextControlFrame min-content size needs to have grid item clamping applied. r=dholbert
2016-11-18 19:08:32 +01:00
Mats Palmgren
50da517c61
Bug 1317168 part 1 - nsTextControlFrame::CalcIntrinsicSize is infallible so make it return the size result rather than NS_OK. Also, make it const. r=dholbert
2016-11-18 19:08:32 +01:00
Ehsan Akhgari
9f297a22d4
Bug 1315146 - Avoid using the Web-facing Range methods in nsTextControlFrame::SetSelectionInternal(); r=baku
...
The Web-facing methods perform access checks which blow up when the
stars are aligned such that we run this code under a subject principal
that doesn't have access to the anchor node of the selection.
2016-11-17 08:24:09 -05:00
Mats Palmgren
7eb71d6d55
Bug 1317351 - Make CloneReflowInputWithReducedContentBox use logical coordinates, which avoids doing math on NS_UNCONSTRAINEDSIZE ComputedWidth() when it's an unconstrained block-size. r=jfkthame
2016-11-15 19:31:14 +01:00
Boris Zbarsky
784a52fd02
Bug 1317720. Use NeedsCallerType instead of NeedsSubjectPrincipal for DataTransfer.types. r=mystor
2016-11-15 12:46:32 -05:00
Boris Zbarsky
62e08b6904
Bug 1317367 part 4. Pass an explicit CallerType to HTMLInputElement::GetValueInternal. r=smaug
...
I'm not 100% sure that I'm being very consistent in my handling of
mFocusedValue, but since that's not used for file inputs, I don't think it
matters much...
A bigger problem is if people start using this caller type for things other than
file inputs.
2016-11-15 12:46:32 -05:00
Boris Zbarsky
a59a621bb6
Bug 1317367 part 3. Pass an explicit CallerType to HTMLInputElement::SetValue at all callsites. r=smaug
2016-11-15 12:46:31 -05:00
Phil Ringnalda
a7bc94158c
Merge m-i to m-c, a=merge
...
MozReview-Commit-ID: H4VKCYDq5cD
--HG--
rename : xpcom/tests/TestAutoRef.cpp => xpcom/tests/gtest/TestAutoRef.cpp
rename : xpcom/tests/TestCOMArray.cpp => xpcom/tests/gtest/TestCOMArray.cpp
rename : xpcom/tests/TestCOMPtr.cpp => xpcom/tests/gtest/TestCOMPtr.cpp
rename : xpcom/tests/TestCOMPtrEq.cpp => xpcom/tests/gtest/TestCOMPtrEq.cpp
rename : xpcom/tests/TestFile.cpp => xpcom/tests/gtest/TestFile.cpp
rename : xpcom/tests/TestHashtables.cpp => xpcom/tests/gtest/TestHashtables.cpp
rename : xpcom/tests/TestID.cpp => xpcom/tests/gtest/TestID.cpp
2016-11-05 13:36:25 -07:00
Sebastian Hengst
f4374c637f
Bug 1310297 - Remove test annotations using b2g, mulet or gonk: layout/forms. r=RyanVM
...
MozReview-Commit-ID: 1EWreOC5iXw
--HG--
extra : rebase_source : 1981e810a32195dac93ba890fea1847f63219517
2016-11-05 11:29:20 +01:00
Mats Palmgren
e78d14df88
Bug 1300369 part 4 - Refactor all ComputeAutoSize methods to take the full ComputeSizeFlags instead of just a "bool aShrinkWrap" for the eShrinkWrap flag (idempotent patch). r=dholbert
2016-11-05 02:57:06 +01:00
Wes Kocher
aee76f4bf5
Backed out 2 changesets (bug 418833) for android reftest failures a=backout
...
Backed out changeset 872ebe45f2f6 (bug 418833)
Backed out changeset c875e87e5301 (bug 418833)
2016-11-02 17:13:21 -07:00
Wes Johnston
61a6cc0a69
Bug 418833 - Move default checkbox/radio drawing to images. Allow overriding checkbox/radio styling. r=tnikkel
...
MozReview-Commit-ID: HqyXXuYzjrE
--HG--
extra : rebase_source : 76d7d84173970a5656d7aac360d9c35b9639bf9d
2016-06-24 09:35:14 -07:00
Adam Velebil
e7dddd42f0
Bug 1312173 - Convert NS_STYLE_USER_INPUT_* to an enum class; r=manishearth,xidorn
...
MozReview-Commit-ID: sYiJrZryrA
--HG--
extra : rebase_source : dbb7bae56bea6203176097af8de119cae0a6391c
2016-10-23 00:08:18 +02:00
Jared Wein
43af4edf06
Bug 1311450
- Only show the 'touch' padding for the select dropdown when opened via touch. r=mconley,smaug
...
MozReview-Commit-ID: 521oAj1NzX7
--HG--
extra : rebase_source : c6e72987cfd0c237269ff7f203d47f1e21652e85
2016-10-20 12:45:39 -04:00
Boris Zbarsky
a3ba31e74a
Bug 1308287 part 2. Make DataTransfer.types use [NeedsSubjectPrincipal]. r=mystor
2016-10-10 21:07:48 -04:00
Boris Zbarsky
bae20efd7f
Bug 1298243 part 7. Change DataTransfer.types from being a DOMStringList to being a frozen array. r=mystor,gijs
2016-10-10 21:07:47 -04:00
Jessica Jong
b3014cc00b
Bug 1288591 - Implement the layout for <input type=time>. r=mconley, r=dholbert, r=smaug
2016-10-06 00:17:00 -04:00
Alex Henrie
b59026eb98
Bug 1301290 - Position resizer above own content but beneath overlapping content. r=mats
2016-10-06 08:44:00 -06:00
Mats Palmgren
89949b605d
Bug 1305282 - Test using the SPACE key in incremental search of options.
2016-10-04 21:13:53 +02:00
Mats Palmgren
57eaf214d1
Bug 1305282 - Make the SPACE key work for incremental search of options again. r=enndeakin
2016-10-04 21:13:53 +02:00
Ting-Yu Lin
2884834832
Bug 1301630 - Remove nsBlockFrame::SetFlags(). r=bz
...
Per bug 1299753 comment 20, SetFlags() is designed for flag propagation
to continuations during block reflow. To avoid misuse, I expand
SetFlags() directly in the only reasonable caller nsBlackFrame::Init(),
and replace other usages by AddStateBits().
MozReview-Commit-ID: GsbE2Z0Rps1
--HG--
extra : rebase_source : 72a64e9218870d638f67d1b586f533cd7d16c491
2016-09-09 15:26:57 +08:00
Thomas Wisniewski
2b28c5e2a9
Bug 1069012 - Unprefix ::placeholder pseudo-element. r=bz
2016-09-07 19:38:38 -04:00
Sebastian Hengst
af467a2ef4
Backed out changeset 75b2b455ddb1 (bug 1275493) for a11y selection failures e.g. in test_focus_selects.html. r=backout
2016-09-01 17:10:08 +02:00
Mike Conley
03e9f51e21
Bug 1275493 - Do not update <select> field while keying through items in dropdown with non-e10s on OS X and GTK. r=enndeakin+6102
...
MozReview-Commit-ID: D5PBEj9MMW2
--HG--
extra : rebase_source : f03929c469393ee368b9d5f0782ef51fc2cd5820
2016-08-30 17:47:10 -04:00
Jessica Jong
1b328436b6
Bug 885359 - Support :indeterminate pseudo-class for radio groups. r=smaug
2016-08-24 18:39:00 -04:00
Timothy Nikkel
ca29dc5318
Bug 1297934. Enforce the invariant that every display item class has a different display item type for nsDisplayFocusRing. r=mattwoodrow
2016-08-26 18:02:49 -05:00
Ehsan Akhgari
f8deb6c387
Bug 1293570 - Revert parts of bug 1003741 which were added to make selection APIs work on <input type=number>; r=baku
...
In particular we keep the frame a form control frame so that it gets the
correct CSS box sizing by the layout code.
2016-08-24 10:04:39 -04:00
Kan-Ru Chen
b6d880aca1
Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
...
The patch is generated from following command:
rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,
MozReview-Commit-ID: AtLcWApZfES
--HG--
rename : mfbt/unused.h => mfbt/Unused.h
2016-08-24 14:47:04 +08:00
Bobby Holley
31b4bcc859
Bug 1295370 - Avoid QIing a DOM node in nsTextControlFrame::AppendAnonymousContentTo. r=ehsan
...
This is problematic when we want to call AppendAnonymousContentTo off-main-thread.
2016-08-17 12:46:51 -07:00
Nicholas Nethercote
bab6d17ebf
Bug 1293117 (part 4) - Change many NS_IMETHODIMP occurrences to NS_IMETHOD. r=froydnj.
...
This patch makes the following changes on many in-class methods.
- NS_IMETHODIMP F() override; --> NS_IMETHOD F() override;
- NS_IMETHODIMP F() override {...} --> NS_IMETHOD F() override {...}
- NS_IMETHODIMP F() final; --> NS_IMETHOD F() final;
- NS_IMETHODIMP F() final {...} --> NS_IMETHOD F() final {...}
Using NS_IMETHOD is the preferred way of marking in-class virtual methods.
Although these transformations add an explicit |virtual|, they are safe --
there's an implicit |virtual| anyway because |override| and |final| only work
with virtual methods.
--HG--
extra : rebase_source : 386ee4e4ea2ecd8d5001efabc3ac87b4d6c0659f
2016-08-08 10:54:47 +10:00
Nicholas Nethercote
e7f10a07fd
Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm.
...
This patch makes most Run() declarations in subclasses of nsIRunnable have the
same form: |NS_IMETHOD Run() override|.
As a result of these changes, I had to add |override| to a couple of other
functions to satisfy clang's -Winconsistent-missing-override warning.
--HG--
extra : rebase_source : 815d0018b0b13329bb5698c410f500dddcc3ee12
2016-08-08 12:18:10 +10:00
Decky Coss
b69450d2ea
Bug 1287655 - place textarea/input cursor at end of text when initialized; r=smaug
...
MozReview-Commit-ID: 2srGXFmla07
--HG--
extra : transplant_source : %3Cn%D30%86%24%82%90%29%191%9C%8A%EB%0D%5D%E2%20%22%E5
2016-07-21 14:52:49 -04:00
Neil Deakin
147caccc2c
Bug 1194027, add a flag to select elements to indicate if the parent process has the popup open, r=mrbkap
2016-08-03 07:45:46 -04:00
Neil Deakin
165602e28b
Bug 1289528, fire click event at option, not at select, r=mconley
2016-08-03 07:45:45 -04:00
Jonathan Watt
e7e830cc7a
Bug 1004130 - Implement ::-moz-placeholder for <input type=number>. r=bz
2016-07-15 19:55:47 +01:00
Olli Pettay
17d576d0b3
Bug 1289254 - Support dnd for webkitdirectory, r=baku
...
--HG--
extra : rebase_source : dafc058127ea6ededb6df0ec7bcf6f9fbff36202
2016-07-29 14:41:38 +03:00
Andrea Marchesini
60ab8339e0
Bug 1288736 - Add some missing rv.SuppressException(), r=smaug
2016-07-22 16:50:10 +02:00
Tom Tromey
5538d692d3
Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
...
This removes the unnecessary setting of c-basic-offset from all
python-mode files.
This was automatically generated using
perl -pi -e 's/; *c-basic-offset: *[0-9]+//'
... on the affected files.
The bulk of these files are moz.build files but there a few others as
well.
MozReview-Commit-ID: 2pPf3DEiZqx
--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Ting-Yu Lin
40fcd21b9a
Bug 1277129 Part 7b - Rename various ReflowState variables to ReflowInput. r=dbaron
...
This patch is generated by the following script:
function rename() {
find .\
-type f\
! -path "./obj*"\
! -path "./.git"\
! -path "./.hg"\
\( -name "*.cpp" -or\
-name "*.h" \)\
-exec sed -i -r "s/$1/$2/g" "{}" \;
}
rename "([[:alpha:]]*)([rR])eflowState(s?)" "\1\2eflowInput\3"
MozReview-Commit-ID: ITFO7uMTkSb
--HG--
extra : rebase_source : c91a2e174a0baec60c1b0111ac7636295004ab35
2016-07-21 18:36:39 +08:00
Ting-Yu Lin
55cde36029
Bug 1277129 Part 6b - Rename rendContext to mRenderingContext in SizeComputationInput. r=dbaron
...
MozReview-Commit-ID: LczLJDtDncy
--HG--
extra : rebase_source : c32e928ae25f94305fb907db89278dce7304a903
2016-07-21 18:36:38 +08:00
Ting-Yu Lin
4053c4c028
Bug 1277129 Part 5c - Rename nsHTMLReflowMetrics to ReflowOutput. r=dbaron
...
This patch is generated by the following script:
function rename() {
find .\
-type f\
! -path "./obj*"\
! -path "./.git"\
! -path "./.hg"\
\( -name "*.cpp" -or\
-name "*.h" \)\
-exec sed -i -e "s/$1/$2/g" "{}" \;
}
rename "nsHTMLReflowMetrics" "ReflowOutput"
MozReview-Commit-ID: 2HBb7DkooH5
--HG--
extra : rebase_source : acfa442a6483772fcb5748dc6f5e7072e599032a
2016-07-21 18:36:38 +08:00
Ting-Yu Lin
820f88de49
Bug 1277129 Part 1c - Rename nsHTMLReflowState to ReflowInput. r=dbaron
...
This patch is generated by the following script:
function rename() {
find .\
-type f\
! -path "./obj*"\
! -path "./.git"\
! -path "./.hg"\
\( -name "*.cpp" -or\
-name "*.h" \)\
-exec sed -i -e "s/$1/$2/g" "{}" \;
}
rename nsHTMLReflowState ReflowInput
MozReview-Commit-ID: 9r9vdVv1pXc
--HG--
extra : rebase_source : 623ec822996ba0ea0058dd137acf5a658cdea04a
2016-07-21 18:36:35 +08:00
Xidorn Quan
76db18facb
Bug 1284406 part 3 - Export ICU headers in include/unicode. r=glandium
...
MozReview-Commit-ID: FuwAgEGjhxm
--HG--
extra : source : c07ceab42b47b18a1e8d436e7c888bdd113575fa
2016-07-20 15:00:13 +10:00
Xidorn Quan
17ee95ed83
Bug 1284406 part 1 - Move warning suppression of C4577 to global level. r=glandium
...
MozReview-Commit-ID: 66TD5A3L73D
--HG--
extra : source : e35f507952ccb081e77d5ba78c1b0d2ed566ac73
2016-07-20 15:00:13 +10:00
Masayuki Nakano
7f30e926b8
Bug 1260651 part.60 editor/libeditor should export some headers which are required by other modules and other modules shouldn't use local include for them r=mccr8
...
MozReview-Commit-ID: FZSExwkHH2B
2016-07-08 14:03:31 +09:00
Masayuki Nakano
94713accb3
Bug 1260651 part.49 Rename nsTextEditRules to mozilla::TextEditRules (and also their file names) r=mccr8
...
MozReview-Commit-ID: DzNeLcT1r1e
--HG--
rename : editor/libeditor/nsTextEditRules.cpp => editor/libeditor/TextEditRules.cpp
rename : editor/libeditor/nsTextEditRules.h => editor/libeditor/TextEditRules.h
rename : editor/libeditor/nsTextEditRulesBidi.cpp => editor/libeditor/TextEditRulesBidi.cpp
2016-07-09 11:34:41 +09:00
Michael Layzell
dde888ae28
Bug 906420 - Part 1: Implement DataTransferItem and DataTransferItemList, r=baku
2016-07-04 15:45:45 -04:00
Andrea Marchesini
5cddd3946d
Bug 1283061 - HTMLInputElement type=file webkitdirectory/directory should show just 1 button, r=smaug
2016-06-29 18:18:42 +02:00
Andrea Marchesini
5a9a0996b6
Bug 1282870 - HTMLInputElement.webkitdirectory should show a DirPicker, r=smaug
2016-06-29 15:14:37 +02:00
Carsten "Tomcat" Book
96e498753a
Backed out changeset f843a97323da (bug 1282870) for bustage on a CLOSED TREE
2016-06-29 13:51:49 +02:00
Andrea Marchesini
851369b631
Bug 1282870 - HTMLInputElement.webkitdirectory should show a DirPicker, r=smaug
2016-06-29 13:29:04 +02:00
Brad Werth
bb6b3396a0
Bug 1243559
- Removes static casts from calls to FrameProperties::Get, ::Set, and ::Remove, and forces callers to use the type associated with the property. r=dbaron
2016-06-21 13:17:11 -07:00
Phil Ringnalda
28ae5ce216
Back out changeset 0bb00282a4c2 (bug 1243559
) for widespread SVG assertion failures
...
CLOSED TREE
2016-06-22 18:45:08 -07:00
Brad Werth
179aa18d0d
Bug 1243559
- Removes static casts from calls to FrameProperties::Get, ::Set, and ::Remove, and forces callers to use the type associated with the property. r=dbaron
...
--HG--
extra : rebase_source : fd19554f1611f8028a364ce93e833d8939688bfb
2016-06-21 13:17:11 -07:00
Masayuki Nakano
13d4f396fe
Bug 1185307 part.2 Replace upcast from nsISelection to mozilla::dom::Selection with nsISelection::AsSelection() r=smaug
...
MozReview-Commit-ID: Gs3oiAgJFG9
--HG--
extra : rebase_source : a136405d99ff3361a595157986b3a33026bcd5f5
2016-06-17 22:32:49 +09:00
Jonathan Watt
b15368cfcb
Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky
2016-06-07 21:10:18 +01:00
Carsten "Tomcat" Book
afff301b32
Backed out changeset 5c836acf3197 (bug 906420) on developer request by baku
...
--HG--
extra : rebase_source : 9f109cdb706feef6d2bcd9a2e71f8c4d3c17ebdf
2016-06-09 15:30:53 +02:00
Nicholas Nethercote
e341134774
Bug 1278452 - Move a misplaced null check in layout/forms/. r=mattwoodrow.
...
--HG--
extra : rebase_source : 49e80108b0970c0b2c649b3f78a606e0edfed378
2016-06-07 16:21:58 +10:00
Michael Layzell
bd973fcaa4
Bug 906420 - Part 1: Implement DataTransferItem and DataTransferItemList, r=baku
2016-06-07 18:05:55 -04:00
John Dai
7b9485089a
Bug 1024350 - Support fire input event for select element.r=smaug
2016-06-01 00:10:00 +02:00
John Dai
682e2cdf72
Bug 1024350 - Remove redundant trailing spaces.r=smaug
2016-05-30 02:41:00 +02:00
Mats Palmgren
df2b4d3bdd
Bug 1272012 - Tweak or disable a few tests for <select size=1> Up/Down key behavior on OSX.
2016-05-25 21:52:36 +02:00
Mats Palmgren
551e9fc180
Bug 1272012 - Support more keys to open and/or toggle a combobox dropdown menu. r=enndeakin
2016-05-25 21:52:36 +02:00
Sebastian Hengst
131c04194a
Backed out changeset e24bac891d7d (bug 1272012) for timing out in test_bug615833.html on OS X 10.10 debug. r=backout
2016-05-25 18:19:50 +02:00
Sebastian Hengst
1ebe7c3c5e
Backed out changeset 5e25db36b720 (bug 1272012)
2016-05-25 18:19:43 +02:00
Mats Palmgren
b8472acaf5
Bug 1272012 - Tweak or disable a few tests for <select size=1> Up/Down key behavior on OSX.
2016-05-25 10:48:52 +02:00
Mats Palmgren
2b1544d87c
Bug 1272012 - Support more keys to open and/or toggle a combobox dropdown menu. r=enndeakin
...
Up/Down should open the dropdown menu on OSX, but not close it.
Spacebar should toggle the dropdown on OSX, but only if Alt, Ctrl or
Cmd isn't pressed.
Spacebar should open the dropdown on non-OSX platforms, but not close
it, with or without key modifiers.
2016-05-25 10:48:52 +02:00
Carsten "Tomcat" Book
e7cf15b28d
Backed out changeset 8c804afcc865 (bug 1272012) for test failures in test_select_change_event.html
2016-05-25 13:21:58 +02:00
Carsten "Tomcat" Book
baa01dd21c
Backed out changeset 467b0d255265 (bug 1272012)
2016-05-25 13:21:32 +02:00
Mats Palmgren
cdc61249b6
Bug 1272012 - Tweak or disable a few tests for <select size=1> Up/Down key behavior on OSX.
2016-05-25 10:48:52 +02:00
Mats Palmgren
74d23ef8ae
Bug 1272012 - Support more keys to open and/or toggle a combobox dropdown menu. r=enndeakin
...
Up/Down should open the dropdown menu on OSX, but not close it.
Spacebar should toggle the dropdown on OSX, but only if Alt, Ctrl or
Cmd isn't pressed.
Spacebar should open the dropdown on non-OSX platforms, but not close
it, with or without key modifiers.
2016-05-25 10:48:52 +02:00
Daniel Holbert
4c16d721f5
Bug 1272983 part 2: Use more forgiving margin/padding getters in nsButtonFrameRenderer, for better behavior when percent or auto values are encountered. r=dbaron
...
MozReview-Commit-ID: 4vIehNg2vND
2016-05-20 15:05:33 -07:00
Keith Yeung
90a39873d8
Bug 1273424 - Rename -moz-appearance keyword constants to be more consistent with CSS keywords. r=bholley
2016-05-18 11:07:47 -07:00
Mats Palmgren
83b2cc47a0
Bug 1273129 - Fix typo from physical to logical conversion (in bug 1113206). r=jfkthame
2016-05-18 18:21:41 +02:00
Mats Palmgren
959f2206d8
Bug 1273433 part 1 - Make <legend align=right> work again. r=jfkthame
2016-05-18 13:49:33 +02:00
Jessica Jong
eb72222ba6
Bug 1265968 - fire change event after selected item is changed in dropdown. r=smaug
2016-05-17 12:50:50 -07:00
Masayuki Nakano
8a70a17c6a
Bug 1254755 part.2 Rename WidgetKeyboardEvent::charCode to WidgetKeyboardEvent::mCharCode r=smaug
...
And mCharCode shouldn't be compared with NS_VK_*, nsIDOMKeyEvent::DOM_VK_*. Additionally, when it's compared with a character constant, cast isn't necessary.
MozReview-Commit-ID: JMT614copjG
--HG--
extra : rebase_source : 69ee3c589e5a71c814ec9a40ac3aab39c789c11d
2016-05-13 16:06:18 +09:00
Masayuki Nakano
3359bad586
Bug 1254755 part.1 Rename WidgetKeyboardEvent::keyCode to WidgetKeyboardEvent::mKeyCode r=smaug
...
And also WidgetKeyboardEvent::mKeyCode should be compared with NS_VK_* rather than nsIDOMKeyEvent::DOM_VK_*.
MozReview-Commit-ID: IKjQ1nr8XYe
--HG--
extra : rebase_source : 83125cd2523f6b70759f621470aad23b00aae8ae
2016-05-12 17:13:49 +09:00
Chris Peterson
353ee65255
Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium
2016-05-11 00:00:01 -07:00
Masayuki Nakano
3e4ceded8b
Bug 1259661 part.9 Rename WidgetMouseEvent::clickCount to WidgetMouseEvent::mClickCount r=smaug
...
MozReview-Commit-ID: 5tC8UqcfLek
--HG--
extra : rebase_source : a336f9d8676c74804e2c00eebec4f2a30d7a11b3
2016-05-10 23:29:14 +09:00
Cameron McCormack
4ca33888b2
Bug 1271869 - Rename NS_STYLE_TEXT_ALIGN_DEFAULT to NS_STYLE_TEXT_ALIGN_START. r=dholbert
2016-05-11 14:03:34 +10:00
Ben Tian
1d3df2ccde
Bug 1261499 - Make nsContentUtils::AddScriptRunner return void, r=khuey
2016-05-06 16:09:03 +08:00
Timothy Nikkel
bf94e2fc4e
Bug 1261752. Part 3. r=mats
2016-05-10 22:58:47 -05:00
Bobby Holley
60bd9ae61b
Bug 1269901 - Remove mCachedMargin. r=dbaron
2016-05-04 16:56:17 -07:00
Bobby Holley
f2c9cdf0d8
Bug 1269901 - Remove mCachedPadding. r=dbaron
2016-05-04 16:56:17 -07:00
Markus Stange
dcc87ebff1
Bug 1227327 - Make fieldset frames build nsDisplayBackgroundImage items. r=mattwoodrow
...
Fieldsets break up their border so we need to disable the willPaintBorder optimization for them.
MozReview-Commit-ID: 2zmlxVRLIqe
***
--HG--
extra : rebase_source : 0735ea7651803769721d109d52ca83cddad65aa7
2016-04-28 14:09:06 -04:00
Markus Stange
cd46c2a7e9
Bug 1227327 - Use regular background image display items for painting button backgrounds. r=mattwoodrow
...
This has multiple benefits:
- It makes DLBI detection of background-position changes work for buttons.
- It makes background-attachment: fixed work for button backgrounds.
- It allows the willPaintBorder optimization to be used for button background
drawing, which reduces the background clip to not overlap with opaque borders.
The willPaintBorder optimization requires a change to the reftest 611574-2.html.
This reftest compares backgrounds to inset box shadows. Box shadows those don't
have a willPaintBorder optimization, so we'd get different results due to the
borders - inset box shadows will bleed through the rounded corner anti-aliasing
of the border, backgrounds won't any more. So we just turn off button borders
and cover the outer edges of the borders with an outline in that reftest.
MozReview-Commit-ID: Lvx2p5szjw7
***
Cover the antialiasing in 611574-2.html with a black outline.
MozReview-Commit-ID: IHC3B7Eq72j
--HG--
extra : rebase_source : 71ae376f482d14e55820879f28b37056e1b857bf
2016-05-04 14:12:23 -04:00
Phil Ringnalda
f74761a568
Back out 6 changesets (bug 1227327) for Android reftest failures in 942672-1.html, background-position-2b.html and background-position-2c.html
...
CLOSED TREE
Backed out changeset c9b0ba301426 (bug 1227327)
Backed out changeset c857ad1fa01c (bug 1227327)
Backed out changeset 4ba58cd94310 (bug 1227327)
Backed out changeset 30e394faeb23 (bug 1227327)
Backed out changeset ce7fd04cc749 (bug 1227327)
Backed out changeset e0fe45294034 (bug 1227327)
2016-05-03 21:49:07 -07:00
Markus Stange
4fdd26bfa9
Bug 1227327 - Make fieldset frames build nsDisplayBackgroundImage items. r=mattwoodrow
...
Fieldsets break up their border so we need to disable the willPaintBorder optimization for them.
MozReview-Commit-ID: 2zmlxVRLIqe
***
--HG--
extra : rebase_source : 5ae32cc1b9b7eadf4b28f6b64f0cf26f50f761f7
2016-04-28 14:09:06 -04:00
Markus Stange
bb440eec66
Bug 1227327 - Use regular background image display items for painting button backgrounds. r=mattwoodrow
...
This has multiple benefits:
- It makes DLBI detection of background-position changes work for buttons.
- It makes background-attachment: fixed work for button backgrounds.
- It allows the willPaintBorder optimization to be used for button background
drawing, which reduces the background clip to not overlap with opaque borders.
The willPaintBorder optimization requires a change to the reftest 611574-2.html.
This reftest compares backgrounds to inset box shadows. Box shadows those don't
have a willPaintBorder optimization, so we'd get different results due to the
borders - inset box shadows will bleed through the rounded corner anti-aliasing
of the border, backgrounds won't any more. So we just turn off button borders
and cover the outer edges of the borders with an outline in that reftest.
MozReview-Commit-ID: Lvx2p5szjw7
***
Cover the antialiasing in 611574-2.html with a black outline.
MozReview-Commit-ID: IHC3B7Eq72j
--HG--
extra : rebase_source : fbd7d3152b819232adfc97dd9df1481a582925c5
2016-04-29 13:16:23 -04:00
Phil Ringnalda
5387bf0160
Back out 6 changesets (bug 1227327) for failures in est_fixed_bg_scrolling_repaints.html
...
Backed out changeset 529ff32ced48 (bug 1227327)
Backed out changeset b726c30c4290 (bug 1227327)
Backed out changeset 5453b1ce4e85 (bug 1227327)
Backed out changeset 462dc0904d05 (bug 1227327)
Backed out changeset 1515512d3731 (bug 1227327)
Backed out changeset 2276fc059bf7 (bug 1227327)
2016-05-02 22:23:10 -07:00
Markus Stange
1a6baf6d28
Bug 1227327 - Make fieldset frames build nsDisplayBackgroundImage items. r=mattwoodrow
...
Fieldsets break up their border so we need to disable the willPaintBorder optimization for them.
MozReview-Commit-ID: 2zmlxVRLIqe
***
--HG--
extra : rebase_source : 8093b69502ad849a4b8bb6d254967a6051f1909d
2016-04-28 14:09:06 -04:00
Markus Stange
50c5f916d0
Bug 1227327 - Use regular background image display items for painting button backgrounds. r=mattwoodrow
...
This has multiple benefits:
- It makes DLBI detection of background-position changes work for buttons.
- It makes background-attachment: fixed work for button backgrounds.
- It allows the willPaintBorder optimization to be used for button background
drawing, which reduces the background clip to not overlap with opaque borders.
The willPaintBorder optimization requires a change to the reftest 611574-2.html.
This reftest compares backgrounds to inset box shadows. Box shadows those don't
have a willPaintBorder optimization, so we'd get different results due to the
borders - inset box shadows will bleed through the rounded corner anti-aliasing
of the border, backgrounds won't any more. So we just turn off button borders
and cover the outer edges of the borders with an outline in that reftest.
MozReview-Commit-ID: Lvx2p5szjw7
***
Cover the antialiasing in 611574-2.html with a black outline.
MozReview-Commit-ID: IHC3B7Eq72j
--HG--
extra : rebase_source : e2c625e25ebce052948dc39de6f9af91d4987315
2016-04-29 13:16:23 -04:00
Kartikaya Gupta
0858e31ab6
Bug 1268195 - When restoring a scroll position outside of incremental load, don't keep trying in a loop - just do it once and stop. r=tnikkel
...
It may be that when the frame is reconstructed after load, the frame gets shorter,
and the old scroll position cannot be restored, because it is out of bounds. In
such a case, we don't want to keep mRestorePos tracking the old scroll position,
because it can get incorrectly applied on a future frame reconstruction. Instead,
for scroll position restorations during frame reconstructions, we just try the
restore once and then clear mRestorePos.
MozReview-Commit-ID: BHoJHz0mGmf
2016-04-29 23:06:18 -04:00
David Anderson
77e3700565
Move CompositorWidgetProxy inheritance out of nsIWidget. (bug 1264545 part 6, r=jimm)
2016-04-29 19:23:17 -04:00
Cameron McCormack
3aadcf811c
Bug 1268404 - Part 1: Split out ResolveStyleForText from ResolveStyleForNonElement and pass in the text node. r=bholley
2016-04-29 14:01:44 +10:00
Kyle Huey
c73656947b
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Xidorn Quan
d5599a3104
Bug 1097499 part 3 - Add a separate anonbox for text nodes. r=heycam
...
MozReview-Commit-ID: 1GfoFEGhyka
--HG--
extra : source : 38b806fd0fa54934439db0de75600def43142272
2016-04-22 09:18:41 +10:00
L. David Baron
633e18a890
Bug 1053986 - Rename nsIFrame::IsCollapsed to IsXULCollapsed, and related methods. r=dholbert
...
This is a manual subset of changes written with sed, over .h and .cpp
files in layout/. It's a subset because there is also a Selection
method called IsCollapsed, which is not changed here.
MozReview-Commit-ID: 9JgnPv0Hkff
2016-04-20 21:28:32 -07:00
L. David Baron
87a69b43fb
Bug 1053986 - Rename nsIFrame::GetPrefSize to GetXULPrefSize, and related methods. r=dholbert
...
Written purely with sed, over .h and .cpp files in layout/.
MozReview-Commit-ID: yvcAZ8rndu
2016-04-20 21:28:31 -07:00
L. David Baron
814003bbcc
Bug 1053986 - Rename nsIFrame::GetMinSize to GetXULMinSize, and related methods. r=dholbert
...
Written purely with sed, over .h and .cpp files in layout/.
MozReview-Commit-ID: Jhe3o3kIOe0
2016-04-20 21:28:31 -07:00
Masayuki Nakano
9170348baf
Bug 1259656 part.7 Rename WidgetEvent::originalTarget to WidgetEvent::mOriginalTarget r=smaug
...
MozReview-Commit-ID: G1WVCWkS0Lt
--HG--
extra : rebase_source : e4790266f4efa33269c073bca1d98f9e8e6c90d7
2016-04-19 01:33:23 +09:00
Masayuki Nakano
cbe8f5268a
Bug 1259656 part.1 Rename WidgetEvent::refPoint to WidgetEvent::mRefPoint r=smaug
...
MozReview-Commit-ID: ESWM5ZyBpSR
--HG--
extra : rebase_source : c5e1e3f60bcdde2a7f6c399e72430b29a3e552cd
2016-04-18 23:09:02 +09:00
Ting-Yu Lin
0b4e273718
Bug 1264837 Part 4 - Remove nsImageControlFrameSuper. r=dholbert
...
MozReview-Commit-ID: 91A7PUWzsqH
--HG--
extra : rebase_source : 4ddd8c73f34e5ae00982a6a238955ddcf081af63
2016-04-18 13:47:53 +08:00
Ting-Yu Lin
3c81554bc0
Bug 1264837 Part 3 - Remove nsFormControlFrameSuper. r=dholbert
...
MozReview-Commit-ID: 4JTfaUgsVoA
--HG--
extra : rebase_source : 0445b21d618b8b642080551fe87b3df92d3d7620
2016-04-18 13:42:26 +08:00
Ting-Yu Lin
3209f075ec
Bug 1264837 Part 2 - Remove nsColorControlFrameSuper. r=dholbert
...
MozReview-Commit-ID: DKaroibsqfQ
--HG--
extra : rebase_source : 4825b7eb4a5d02e0d510a3f0e76d7c06a1f9f9b2
2016-04-18 13:32:19 +08:00
Neil Deakin
801c562047
Bug 1253486, [e10s only] hide select popups when the select element is removed, r=mconley
2016-04-13 13:15:55 -04:00
Jonathan Watt
3a3ceffce3
Bug 1263773 - Mark a bunch of classes in layout as MOZ_RAII. r=dholbert
2016-03-28 13:34:26 +01:00
Cameron McCormack
0718df89c3
Bug 1261754 - Part 8: Move box-shadow from nsStyleBorder to a new nsStyleEffects struct. r=dholbert
2016-04-12 15:52:42 +10:00
Botond Ballo
868bc3704a
Bug 1259296 - Do not scroll snap on the main thread for wheel events handled by APZ. r=kats
...
MozReview-Commit-ID: DudrJuO4pFM
--HG--
extra : source : a9468a25f1b937c49c5f801069d2cdc2cd610bdd
extra : histedit_source : 18d04bcb32288c7713a162f0ee33650f6f10926f
2016-04-04 17:46:12 -04:00
Masayuki Nakano
57445d0047
Bug 1259668 Rename WidgetTouchEvent::touches to WidgetTouchEvent::mTouches r=smaug
...
MozReview-Commit-ID: FLbows8davI
--HG--
extra : rebase_source : b564d09aa76311793a78d80b6c78c91e232edc47
2016-03-30 18:44:28 +09:00
Daniel Holbert
2b4a73dcb5
Bug 1261284: Don't include <button>'s children in overflow areas, if we know we're going to clip them when painting. r=mats
...
MozReview-Commit-ID: BG1tGEQjFI2
2016-04-01 20:36:41 -07:00
Nicholas Nethercote
d376f9f82e
Bug 1260871 - Remove do_GetAtom() and rename NS_NewAtom() as NS_Atomize(). r=erahm.
...
do_GetAtom() is currently just a synonym for NS_NewAtom().
--HG--
extra : rebase_source : f4409784f931616cbc300591e6b843d30805c273
2016-03-29 10:09:43 +11:00
Arata Furukawa
676913b9bb
Bug 1259655 - part 1 Rename WidgetEventTime::time to WidgetEventTime::mTime r=masayuki
...
MozReview-Commit-ID: 7lBCEVkanvF
--HG--
extra : source : d629f018d02594951b7deccf1e1fce279d04694c
2016-03-28 13:29:42 +09:00
Benoit Girard
4e40cd1d1a
Bug 1259235 - Add IsScrollFrameWithSnapping to speed up event regions. r=mstange
...
MozReview-Commit-ID: KdWCkXHjHzZ
--HG--
extra : rebase_source : ca15390be1d003c50e41ef89f40f5e7f543e8676
2016-03-23 17:16:38 -04:00
Masayuki Nakano
8c8cbe0e4c
Bug 1256589 part.5 Add DefaultPrevented() and DefaultPreventedByContent() to WidgetEvent r=smaug
...
MozReview-Commit-ID: 5q3QUPTf12Z
--HG--
extra : rebase_source : 83ed946b44910713a61c80bd21202aba9430dd2a
extra : source : 4eb2193814ab1958a65add0c8c307d07c646d61c
2016-03-22 16:47:52 +09:00
Xidorn Quan
60bcaa5c0b
Bug 1257121 part 4 - Use return value rather than out param to return font metrics. r=jfkthame
...
MozReview-Commit-ID: 6xrHYbgHGVd
--HG--
extra : rebase_source : 4d0cea24689588d8a1daa1869502e31ac7c3dc56
2016-03-17 13:55:48 +08:00
Xidorn Quan
8acf32453c
Bug 1257121 part 3 - Add GetInflatedFontMetricsForFrame function to simplify a common use pattern. r=jfkthame
...
MozReview-Commit-ID: 4KMLCz6wQHQ
--HG--
extra : rebase_source : 08964aef3b335163985dd6818b4a6ae3a4e34fce
2016-03-17 12:07:47 +08:00
Chris H-C
018094dbaa
Bug 1249664 - Save the combobox's dropped-down state across frame reconstruction. r=dbaron
...
We already restore the scroll-position state of the list control frame (via
nsHTMLScrollFrame), so the combobox control frame needs to add a suffix to
its state key so it doesn't overlap.
MozReview-Commit-ID: Eq0X0FCOciZ
--HG--
extra : rebase_source : 3d4b1a555f980ffaad59fbcbb72370117013812c
2016-03-10 14:21:05 -05:00
Gregory Szorc
873147d1fb
Bug 1256509 - Disable C4577 to unblock compilation on VS2015; r=poiru
...
As part of unblocking building with VS2015u1 in automation, I'm mass
disabling compiler warnings that are turned into errors. This is not
the preferred mechanism to fix compilation warnings. So hopefully
this patch never lands because someone insists of fixing the underlying
problem instead. But if it does land, hopefully the workaround is
only temporary. That being said, the warning occurs in 3rd party ICU
code. So I'm not sure what my options are for fixing this.
MozReview-Commit-ID: 2MIqvI3qCsZ
--HG--
extra : rebase_source : cbb3b14a1e6fd47aeb9e4ce915cddd0b78ce90cf
2016-03-14 18:03:39 -07:00
Xidorn Quan
b8db274b17
Bug 1255659 part 2 - Add 'fullscreen' tag to tests which ever put window into fullscreen. r=smaug
...
MozReview-Commit-ID: EBynEGbpYQU
--HG--
extra : rebase_source : 1f777ff519e602403486d24e739b252a2dfc8428
2016-03-11 10:45:00 +08:00
Mats Palmgren
22f0e87b7d
Bug 1253977 part 1 - Update focus state on combobox frame destruction/construction properly. r=tn
2016-03-11 14:50:58 +01:00
Wes Kocher
71aa3b8d31
Backed out changeset e7e01671e85f (bug 1253977) for windows reftest failures in focusring-1.html CLOSED TREE
...
MozReview-Commit-ID: 8j0fD5taR6z
--HG--
extra : histedit_source : 61897e005185864102170fe7a1c1f950eb88a379%2C36fe84b9a97141d65b1b282ca2b5c205b33f499b
2016-03-08 16:07:00 -08:00
Mats Palmgren
dec5bab458
Bug 1253977 part 1 - Update focus state on combobox frame destruction/construction properly. r=tn
2016-03-08 23:03:26 +01:00
Neil Deakin
b4405ac04b
Bug 1246669 - Enable test_bug749186.html and test_bug345267.html for e10s. r=dao
2016-03-04 08:49:09 +01:00
L. David Baron
19ebacc921
Bug 1247929 patch 1 - Add GetType() overrides for nsProgressFrame and nsMeterFrame. r=dholbert
...
These frames previously inherited nsFrame::GetType (which returns null).
MozReview-Commit-ID: 42UzPxaD5pN
2016-02-24 10:40:29 -08:00
Cameron McCormack
736a5f47e7
Bug 1248864 - Part 1: Move RestyleManager.h to EXPORTS.mozilla. r=dholbert
2016-02-24 18:01:12 +11:00
Cameron McCormack
7c95c39734
Bug 1244068 - Part 4: Use StyleSetHandle instead of concrete style set class in most places. r=dholbert
2016-02-24 18:01:11 +11:00
Boris Chiou
e436478f26
Bug 1244049 - Part 2: Replace nsCSSPseudoElements::Type with CSSPseudoElementType. r=dbaron
...
Also, try to use forward declaraions for CSSPseudoElementType;
--HG--
extra : rebase_source : c00eb9753e8f618a33aa711538ac45c0132b353c
2016-02-17 21:37:00 +01:00
Boris Chiou
185a769719
Bug 1244049 - Part 1: Define scoped enum for CSSPseudoElement type. r=dbaron
...
--HG--
extra : rebase_source : e53dd269e47fa97eb259ebd9295d012eacbdb612
2016-02-16 23:07:00 +01:00
Aidin Gharibnavaz
6863090c8a
Bug 1235830 - Renaming GetInternalNSEvent to WidgetEvent, in nsIDOMEvent r=smaug
...
MozReview-Commit-ID: Hm8Owq17KXn
--HG--
extra : transplant_source : 2%82%D5%89%19%94%7C%E7%CA1%99%B5%24%1F5%E1%C0%1F%DE%07
2016-02-12 19:10:07 +03:30
Kyle Huey
91efc5a86c
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Ting-Yu Lin
2d02ad0652
Bug 1227927 Part 3 - Use ranged-based for-loop to rewrite some simple loops in part 2. r=mats
...
--HG--
extra : commitid : CcdpGdlMNIk
extra : rebase_source : 9c184cb8107bf6276c237d03d240f8755fd61553
2016-01-29 22:42:15 +08:00
Ting-Yu Lin
1889f6bc41
Bug 1227927 Part 2 - Remove nsIFrame::GetFirstPrincipalChild(). r=mats
...
--HG--
extra : commitid : 5qtaK1nS8RC
extra : rebase_source : dcc98f423b2446269beb6fa6a9d092ae8213f38e
2016-01-29 22:42:14 +08:00
Xidorn Quan
00b4af1798
Bug 1230034 part 10 - Convert remaining frame properties to by typed and remove the unsafe declaring macro. r=dbaron
...
--HG--
extra : source : 19140dd4f1640c4600a0f9e0ff790b44f0cd83ca
2016-01-28 14:23:59 +11:00
Xidorn Quan
e397870be2
Bug 1230034 part 5 - Convert all frame properties which use DeleteValue and ReleaseValue as destructor to be typesafe. r=dbaron
...
By changing signature of those two functions, we make compiler complain about
all their existing uses, so we can find all of them and convert them.
Some of the callsites of Get() with those properties are also converted, but not
all of them. It is fine because if there is any incorrect conversion, compilers
is able to find out now. So they are completely typesafe.
--HG--
extra : source : 808415985d3d446f18941eb007a9be9d69d180ce
2016-01-28 14:23:59 +11:00
Xidorn Quan
ab931a1326
Bug 1064843 part 5 - Ensure frames behave properly for unknown child list id passed into SetInitialChildList. r=dholbert
...
Note that nsMathMLContainerFrame and its subclasses are unchanged since
they are not target of fullscreen (and thus no backdrop frame), and they
have an assertion to ensure we really don't pass any unexpected list in.
--HG--
extra : source : a1f7ff18a69cc116120de33f14ae62f576a4b55a
2016-01-28 10:11:00 +11:00
Xidorn Quan
51ff9057c4
Bug 1064843 part 3 - Make nsFormControlFrame inherit nsContainerFrame. r=dholbert
...
--HG--
extra : source : 21dc6240648819dedd5f78e22fd4b637e539eb62
2016-01-28 10:11:00 +11:00
Jonathan Watt
46563c2220
Bug 893332, part 4 - Crashtests. r=baku
2016-01-27 22:51:54 +00:00
Nicholas Nethercote
fe16183e75
Bug 1237457 - Partially Moz2Dify nsDisplayGeneric. r=roc.
...
--HG--
extra : rebase_source : 0bc3fe25b757634dfe910e34cd1c51c0fb9504c0
2015-12-03 19:16:59 -08:00
Nicholas Nethercote
fd7ca876ef
Bug 1232852 (part 4) - Remove some unused parameters in and around layout/base/. r=heycam.
...
--HG--
extra : rebase_source : 68642322a9fc78bb7eace1501b75003241a44507
2016-01-05 16:08:17 -08:00
Jim Mathies
1d3f8e839d
Bug 1229850 - Avoid unnecessary combobox dropdown calculations in the content process. r=dbaron
...
--HG--
extra : rebase_source : 8289321afb5a5c0a88ebc3d8a1b16fc8a021b1a7
2015-12-18 13:40:53 -06:00
Nicholas Nethercote
937ca16d12
Bug 1230413 (part 1) - Pass a DrawTarget to several PaintFocus functions(). r=mattwoodrow.
...
Instead of an nsRenderingContext.
--HG--
extra : rebase_source : 8b36c4babd8324c775fcc459f9ed29e89f2030cd
2015-12-03 19:16:59 -08:00
Jan Beich
814acd7ab8
Bug 1228208 - Make sure ICU flags are prepended before system flags. r=glandium
2015-12-02 09:40:50 +00:00
Jesse Ruderman
42b8b555ef
Bug 1228670 - Crashtest.
2015-12-01 23:20:18 +01:00
Mats Palmgren
469b44b323
Bug 1228670 - Null-check GetContentInsertionFrame() before using it. r=bz
2015-12-01 23:20:18 +01:00
Blake Kaplan
62f9ceed14
Bug 1196159 - Set nsGlobalWindow::mIsClosed properly after window.close(). r=billm
2015-11-23 15:08:14 -08:00
Xidorn Quan
a1dd9fc19e
Bug 1216332 - Remove framearena helpers from abstract frame classes and stop them from being instantiated. r=dbaron
...
--HG--
extra : source : 9f59591f02706190e56db8ad89ff5a769b5c47dd
2015-11-04 20:57:35 +11:00
Birunthan Mohanathas
9985829ecc
Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj
2015-11-02 07:53:26 +02:00
Ryan VanderMeulen
028dec7cc8
No bug - Various crashtest manifest cleanups.
...
--HG--
rename : dom/base/crashtests/713417.html => dom/base/crashtests/713417-1.html
rename : dom/workers/test/1158031.html => dom/workers/test/crashtests/1158031.html
rename : dom/workers/test/779707.html => dom/workers/test/crashtests/779707.html
rename : dom/workers/test/943516.html => dom/workers/test/crashtests/943516.html
rename : dom/workers/test/crashtests.list => dom/workers/test/crashtests/crashtests.list
rename : layout/generic/crashtests/812879.html => layout/generic/crashtests/812879-1.html
rename : layout/generic/crashtests/first-letter-638937.html => layout/generic/crashtests/first-letter-638937-1.html
extra : rebase_source : b9274dc6870030ed62bcee35350d566160502869
2015-10-31 19:35:27 -04:00
Nathan Froyd
9f16f39c05
Bug 1217662 - part 6 - remove Layers.h #include from FrameListBuilder.h; r=mattwoodrow
...
This change necessitates a few other header changes around the tree:
either places that we relying on FrameLayerBuilder.h to #include
ImageLayers.h for them, or places that were bootlegging headers from
ImageLayers.h.
2015-10-22 17:02:14 -04:00
Seth Fowler
3aa7022e9f
Bug 1209765 (Part 5) - Support sync decoding and track draw results when drawing borders in nsRangeFrame. r=tn
2015-10-22 19:54:49 -07:00
Seth Fowler
3f4eeadbe7
Bug 1209765 (Part 4) - Support sync decoding and track draw results when drawing borders in nsFieldSetFrame. r=tn
2015-10-22 19:54:49 -07:00
Seth Fowler
8a7848a0be
Bug 1209765 (Part 3) - Support sync decoding and track draw results when drawing borders in nsButtonFrameRenderer. r=tn
2015-10-22 19:54:48 -07:00
Jonathan Watt
38abda8b15
Bug 1099103 - Prevent numbers input using a grouping separator from being mis-processed as if the separator was a decimal separator. r=dholbert
...
--HG--
extra : rebase_source : ae7f771134638e9d3988750de98a9e0a0374697a
2015-09-17 22:17:35 +01:00
Jonathan Watt
b96e199943
Bug 1207088 - Don't show the "Choose folder..." button for a directory picking <input> on platforms that don't have a directory picker. r=jfkthame
...
--HG--
extra : rebase_source : 836a5eff5b37398af019f3a29848ee42092939dc
2015-09-16 11:42:27 +01:00
Nathan Froyd
01583602a9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Nathan Froyd
583afa0965
Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan
...
This commit was generated using the following script, executed at the
top level of a typical source code checkout.
# Don't modify select files in mfbt/ because it's not worth trying to
# tease out the dependencies currently.
#
# Don't modify anything in media/gmp-clearkey/0.1/ because those files
# use their own RefPtr, defined in their own RefCounted.h.
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
grep -v 'mfbt/RefPtr.h' | \
grep -v 'mfbt/nsRefPtr.h' | \
grep -v 'mfbt/RefCounted.h' | \
grep -v 'media/gmp-clearkey/0.1/' | \
xargs perl -p -i -e '
s/mozilla::RefPtr/nsRefPtr/g; # handle declarations in headers
s/\bRefPtr</nsRefPtr</g; # handle local variables in functions
s#mozilla/RefPtr.h#mozilla/nsRefPtr.h#; # handle #includes
s#mfbt/RefPtr.h#mfbt/nsRefPtr.h#; # handle strange #includes
'
# |using mozilla::RefPtr;| is OK; |using nsRefPtr;| is invalid syntax.
find . -name '*.cpp' -o -name '*.mm' | xargs sed -i -e '/using nsRefPtr/d'
# RefPtr.h used |byRef| for dealing with COM-style outparams.
# nsRefPtr.h uses |getter_AddRefs|.
# Fixup that mismatch.
find . -name '*.cpp' -o -name '*.h'| \
xargs perl -p -i -e 's/byRef/getter_AddRefs/g'
2015-10-18 00:40:10 -04:00
Alice0775 White
0b9ba07a8b
Bug 1212688 - Crashtest.
2015-10-12 13:52:56 +02:00
Mats Palmgren
9ae36c69c2
Bug 1212688 - Drill through any <optgroup> scroll frames to get at its <option> child frames when estimating the list's row size. r=roc
2015-10-12 13:52:56 +02:00
Neil Deakin
8760ec0272
Bug 1206559, forward PuppetWidget::SetFocus request to the parent process, r=smaug
2015-10-06 09:14:49 -04:00
Jonathan Kew
5260c0e04f
Bug 1208978 - Limit the size of a potentially-scrollable dropdown list to the actual size of its contents, as our estimate based on row count may be too large if the row heights vary. r=roc
2015-10-05 07:16:17 +01:00
Nigel Babu
f3a2f40c59
Backed out changeset e42955baebbd (bug 1208978) for build bustage
2015-10-05 12:03:41 +05:30
Jonathan Kew
444236b5cc
Bug 1208978 - Limit the size of a potentially-scrollable dropdown list to the actual size of its contents, as our estimate based on row count may be too large if the row heights vary. r=roc
2015-10-05 07:16:17 +01:00
Tooru Fujisawa
4b5a0cb0ba
Bug 1207495 - Remove use of expression closure from layout/. r=bz
...
--HG--
extra : commitid : DsNCuxMDmUn
extra : rebase_source : 5d3f00526ecbd257ee54f176fe919ce6d20f6ed6
2015-09-23 18:40:36 +09:00
Wes Kocher
0ceb5b85ae
Backed out changeset 19320abf76b1 (bug 1207088) for Werror bustage CLOSED TREE
2015-09-22 12:46:09 -07:00
Jonathan Watt
d62f457c73
Bug 1207088 - Don't show the "Choose folder..." button for a directory picking <input> on platforms that don't have a directory picker. r=jfkthame
2015-08-27 20:19:37 +01:00
Wes Kocher
18eb6f5805
Backed out changeset f7cbf3aa76fc (bug 1099103) for test_input_number_l10n.html failures
2015-09-21 17:37:29 -07:00
Jonathan Watt
f5f105b74f
Bug 1099103 - Prevent numbers input using a grouping separator from being mis-processed as if the separator was a decimal separator. r=dholbert
2015-08-25 00:00:07 +01:00
Michael Layzell
fc03111ce2
Bug 1196479 - Fire selectstart and selectionchange events on the input node when the selection in that editor changes. r=ehsan
2015-09-12 17:56:46 -04:00
Sebastian Hengst
1eb50ce368
Backed out 4 changesets (bug 571294, bug 1196479) for W(2) failure on Linux 64 opt. r=backout on a CLOSED TREE
...
TEST-UNEXPECTED-FAIL | /eventsource/eventsource-close.htm | EventSource: close(), test events - assert_unreached: Dunno what to do with message number 3 Reached unreachable code
Backed out changeset e2612be99d7d (bug 571294)
Backed out changeset 9aea0c4a0822 (bug 1196479)
Backed out changeset 196e98128c58 (bug 571294)
Backed out changeset 1d662c2552bd (bug 571294)
2015-09-04 20:29:48 +02:00
Michael Layzell
931d0d32a7
Bug 1196479 - Fire selectstart and selectionchange events on the input node when the selection in that editor changes. r=ehsan
2015-09-04 12:35:49 -04:00
Masayuki Nakano
aeb3dbedf5
Bug 895274 part.89 Rename NS_XUL_POPUP_HIDING to eXULPopupHiding r=smaug
2015-09-04 19:54:11 +09:00
Masayuki Nakano
930dfd9c08
Bug 895274 part.87 Rename NS_XUL_POPUP_SHOWING to eXULPopupShowing r=smaug
2015-09-04 19:54:11 +09:00
Nicholas Nethercote
f44287005f
Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
...
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Masayuki Nakano
7645260328
Bug 895274 part.34 Rename NS_MOUSE_OUT to eMouseOut r=smaug
2015-08-29 08:58:32 +09:00
Masayuki Nakano
da4db5d296
Bug 895274 part.33 Rename NS_MOUSE_OVER to eMouseOver r=smaug
2015-08-29 08:58:32 +09:00
Masayuki Nakano
db00b74a82
Bug 895274 part.27 Rename NS_MOUSE_BUTTON_DOWN to eMouseDown r=smaug
2015-08-29 08:58:30 +09:00
Masayuki Nakano
30fdd39afb
Bug 895274 part.26 Rename NS_MOUSE_BUTTON_UP to eMouseUp r=smaug
2015-08-29 08:58:30 +09:00
Masayuki Nakano
717c415187
Bug 895274 part.25 Rename NS_MOUSE_MOVE to eMouseMove r=smaug
2015-08-29 08:58:29 +09:00
Masayuki Nakano
8d32b818af
Bug 895274 part.24 Rename NS_MOUSE_MESSAGE_START to eMouseEventFirst r=smaug
2015-08-29 08:58:29 +09:00
Masayuki Nakano
66f2c27305
Bug 895274 part.1 Rename WidgetEvent::message to WidgetEvent::mMessage r=smaug
2015-08-22 10:34:51 +09:00
Mats Palmgren
1b43a8a43a
Bug 1194733 - Don't honor DefaultPrevented for mouseup events in list control frames. r=enndeakin@gmail.com
2015-08-20 18:45:17 +02:00
Jonathan Watt
db9584f577
Bug 1182414, part 2 - Add printing crash test. r=dholbert
2015-08-03 12:19:34 +01:00
Jonathan Watt
fca83ea565
Bug 1182414, part 1 - Fix printing crash with range input controls. r=dholbert
2015-08-03 12:08:32 +01:00
Daniel Holbert
14faf6467e
Bug 1195857: Make nsPresContext::HasAuthorSpecifiedRules()'s arg 'const', to remove need for const_cast in callers. r=jwatt
2015-08-18 15:41:24 -07:00
Aryeh Gregor
0ccef27b6a
Bug 1179451 - Part 1: Rewrite some ternary operators as if/else. r=froydnj
...
--HG--
extra : rebase_source : 161e415b6f518bf2b82e45b6f7f8d21298712d81
2015-08-13 15:22:48 +03:00
Jonathan Kew
d379b4fb9f
Bug 1113206 followup - Add simple test for <select> elements in vertical writing mode. r=roc
2015-08-05 12:43:24 +01:00
Jonathan Kew
36ee0623f2
Bug 1187605 pt 1 - In vertical writing modes, add an 'orientation' attribute with value='left' or 'right' to the <select> control's dropdown button. r=smontagu
2015-08-03 18:45:20 +01:00
Jonathan Kew
4d081f1ac4
Bug 1172450 - Size and position the dropdown arrow properly in vertical writing modes. r=smontagu
2015-07-27 16:52:12 +01:00
Jonathan Watt
43ab228990
Bug 1164310, part 5 - Implement new anonymous content and layout pieces for directory picking via input elements. r=tnikkel
2015-07-10 18:56:36 +01:00
Ryan VanderMeulen
c6fe51dba6
Bug 888164 - Skip test_bug665540.html on Linux64. rs=karlt
...
--HG--
extra : rebase_source : 207910fc0624fe2433892e2d73e37c9435615bbd
2015-07-21 08:41:39 -04: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
Jonathan Kew
76e21c1574
Bug 1177614 - Provide a utility method on nsHTMLReflowState to return the computed size including border-padding, for use as a container for logical coordinate conversions, or zero if unconstrained. r=dholbert
2015-07-16 10:07:46 +01:00
Mark Capella
84709d90d5
Bug 1121515 - Error tapping empty listitem in a <select> box, r=roc, wesj
2015-07-13 20:15:47 -04:00
Birunthan Mohanathas
a8939590de
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
Geoff Brown
52d4e225a0
Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin
2015-07-10 14:41:59 -06:00
Jonathan Kew
cf4ecafdcf
Bug 1175094 - Include borderPadding in the combobox's containerWidth, so that dropdown arrow is positioned correctly in RTL. r=smontagu
2015-07-09 19:50:30 +01:00
Karl Tomlinson
35bc476ed2
Bug 888164 - additional logging to debug bug 888164. r=karlt
...
--HG--
extra : rebase_source : 9c9b4155890a756819980b3e4ec978f63488c4bf
2015-07-08 14:39:48 +12:00
Jonathan Kew
07b0efa156
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
Juan Gomez
258ad59e3f
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-07-03 18:29:00 -07:00
Ryan VanderMeulen
5f5c327690
Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage.
2015-06-25 19:48:42 -04:00
Juan Gomez
702a59d135
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
...
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Daniel Holbert
b393dbe1bb
Bug 1173662 part 3: Use a LogicalPoint for child position in nsNumberControlFrame::Reflow. r=jfkthame
...
--HG--
rename : layout/reftests/forms/input/number/number-similar-to-text-unthemed-ref.html => layout/reftests/forms/input/number/number-similar-to-text-unthemed-rtl-ref.html
rename : layout/reftests/forms/input/number/number-similar-to-text-unthemed.html => layout/reftests/forms/input/number/number-similar-to-text-unthemed-rtl.html
2015-06-12 14:20:01 -07:00
Daniel Holbert
ce98f8bc98
Bug 1173662 part 2: Use logical sizes in nsNumberControlFrame::Reflow. r=jfkthame
2015-06-12 14:19:43 -07:00
Daniel Holbert
81887bdad1
Bug 1173662 part 1: Rename local variable 'wm' in nsNumberControlFrame::Reflow. r=jfkthame
2015-06-12 14:19:42 -07:00
Simon Montagu
37f044b028
Bug 1113206: Make nsComboboxControlFrame and nsListControlFrame use logical coordinates and support vertical writing modes - patch by smontagu with additions by jfkthame. r=jfkthame,smontagu
2015-02-08 07:31:14 -08:00
Simon Montagu
7f1b0db94c
Bug 1147834: Use abstract coordinates in nsHTMLReflowState, r=jfkthame
2015-06-04 03:43:02 -07:00
Kyle Zentner
3b4c44713c
Bug 1169837
- Remove box-sizing: padding-box in FF UI & Gecko Tests. r=dholbert
2015-06-02 08:46:00 -04:00
Mats Palmgren
b6a478377d
Bug 997709 part 3 - tests.
2015-05-27 22:18:36 +00:00
Mats Palmgren
5a2a4f8f08
Bug 997709 part 2 - Prevent the nsComboboxDisplayFrame from being blockified if the parent context has display:flex/grid. r=heycam
2015-05-27 22:18:36 +00:00
Mats Palmgren
04a33bdbc3
Bug 997709 part 1 - nsComboboxDisplayFrame can't be split so its reflow status is always NS_FRAME_COMPLETE. r=heycam
2015-05-27 22:18:36 +00:00
Anthony Tseng
6fe5a1137f
Bug 1158425 - Rename _SYNTH event names. r=smaug
...
--HG--
extra : rebase_source : 533cc7e18cf7f92d95a146d61f7aa2da7c0b8e48
2015-05-01 22:06:00 -04:00
Jonathan Kew
7ae17d117a
Bug 1157142 - Support logical (inline/block) in addition to physical orientation for the <input type=range> element; make inline the default behavior so that range sliders respect writing mode. r=jwatt
2015-04-29 08:18:54 +01:00
David Major
ebde6b9f4f
Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium
...
--HG--
extra : rebase_source : 0c47c99bb8b92f8361a51fd81b20a2cc8647a986
2015-04-27 19:59:27 -04:00
Mats Palmgren
c88780414c
Bug 1153586 - Prevent the same BUTTON_DOWN event from opening the dropdown menu again on platforms that don't consume the event. r=enndeakin
...
--HG--
extra : rebase_source : c5d8c8b39e6d35387e99c7cf2bb07b3f65de024e
2015-04-15 16:01:00 -04:00
Jonathan Kew
b68965af5a
Bug 1028716 part 2 - Handle the new orient values in <progress> and <meter> layout. r=smontagu
2014-06-27 11:25:11 +01:00
Jonathan Kew
ba44c76dce
Bug 1028716 part 1 - Remove the 'auto' value of the -moz-orient property, and add 'inline' (new initial value) and 'block'. r=dbaron
2014-06-27 11:22:32 +01:00
Carsten "Tomcat" Book
7ef9b42c28
merge mozilla-central to mozilla-inbound IGNORE IDL
...
--HG--
extra : rebase_source : 294f0cad1bada4ebf38f24ff52ebbd7798de5912
extra : amend_source : d7b1044b736cf3e351efbef9610c83a14e6543ae
2015-04-22 16:09:56 +02:00
Kartikaya Gupta
53dd599648
Back out cset 17aad8f83237 (bug 1154499) now that we have a nightly with APZ enabled. r=me a=me
2015-04-22 09:36:25 -04:00
David Anderson
9ae1c872f4
Enable APZ for E10S on Windows for one Nightly. This patch will be backed out after one nightly. (bug 1154459, r=kats, a=ryanvm)
2015-04-21 15:35:19 -04:00
Andrea Marchesini
085da9302a
Bug 1156632 - Remove unused forward class declarations - patch 5 - rdf, parser, layout and something else, r=ehsan
2015-04-22 08:29:22 +02:00
Neil Deakin
03cc3bcefa
Bug 1152290 - "[e10s] "<select>" doesn't show selected value". r=roc
...
--HG--
extra : rebase_source : c37303d508d4fdee0952059c14e79145a503bb7f
2015-04-08 08:38:00 +02:00
Phil Ringnalda
d68dd54c30
Backed out changeset ffde08dc5ceb (bug 1154459) for bustage
...
CLOSED TREE
2015-04-19 08:19:14 -07:00
David Anderson
4f6a850738
Enable APZ for E10S on Windows for one nightly build. (bug 1154459, r=kats)
2015-04-17 11:49:55 -04:00
Mats Palmgren
25fa3a4765
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
5c532881b3
Backed out changeset 513192eb7df4 (bug 1148971) for causing bc2 memory leaks
2015-03-30 15:04:09 +02:00
Neil Deakin
ed3482df8a
Bug 1117586, [e10s] select dropdowns cannot be opened with the keyboard, r=roc
2015-03-30 08:53:44 -04:00
Mats Palmgren
2121f47090
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
ea742f35e6
Bug 1148833 part 4 - Fix indentation of some Reflow params (white-space changes only).
2015-03-29 22:38:40 +00:00
Mats Palmgren
ed9ed2d61a
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
Andrea Marchesini
e6f385fb3d
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00:00
Jonathan Kew
65d058f1da
Bug 1138356 - Correct the alignment of button contents in vertical-rl writing mode. r=smontagu
2015-03-12 13:09:30 +00:00
Ehsan Akhgari
883849ee32
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
L. David Baron
b64dc1a002
Bug 1010675
- Stop allowing button contents to overflow into the CSS padding and border (although still allow them to overflow into our internal focuspadding when the min-content width says the contents don't fit). r=dholbert
...
Note that this replaces the code that allows eroding the space with new
code that reduces the focusPadding value.
(Also, we previously didn't count the focusPadding towards what could be
eroded, which meant we wouldn't quite get to the edge of the padding and
border, because we weren't counting the extra for the focusPadding.)
The existing reftests that I'm changing from == to != are ones that were
specifically testing issues related to erosion of padding.
The change to 491180-{1,2}-ref.html is because we now *do* erode the
focusPadding, which is 3px in the horizontal dimensions (see the
button::-moz-focus-inner styles in forms.css), and that was the only
nonzero style on the button in 491180-{1,2}.html.
CLOSED TREE (per RyanVM)
2015-03-20 10:27:09 -07:00
Ryan VanderMeulen
00a19ca0b0
Backed out changesets f33123f726b6 and c2724e2f9de9 (bug 1010675
) for B2G reftest failures.
...
CLOSED TREE
2015-03-20 12:25:49 -04:00
L. David Baron
ee83e8e2bc
Bug 1010675
- Stop allowing button contents to overflow into the CSS padding and border (although still allow them to overflow into our internal focuspadding when the min-content width says the contents don't fit). r=dholbert
...
Note that this replaces the code that allows eroding the space with new
code that reduces the focusPadding value.
(Also, we previously didn't count the focusPadding towards what could be
eroded, which meant we wouldn't quite get to the edge of the padding and
border, because we weren't counting the extra for the focusPadding.)
The existing reftests that I'm changing from == to != are ones that were
specifically testing issues related to erosion of padding.
The change to 491180-{1,2}-ref.html is because we now *do* erode the
focusPadding, which is 3px in the horizontal dimensions (see the
button::-moz-focus-inner styles in forms.css), and that was the only
nonzero style on the button in 491180-{1,2}.html.
2015-03-20 06:47:29 -07:00
Phil Ringnalda
0b8d3e9eb3
Back out ceaac3da2eff (bug 1010675
) for Android reftest failures
...
CLOSED TREE
2015-03-19 22:49:45 -07:00
L. David Baron
f913231fd1
Bug 1010675
- Stop allowing button contents to overflow into the CSS padding and border (although still allow them to overflow into our internal focuspadding when the min-content width says the contents don't fit). r=dholbert
...
Note that this replaces the code that allows eroding the space with new
code that reduces the focusPadding value.
(Also, we previously didn't count the focusPadding towards what could be
eroded, which meant we wouldn't quite get to the edge of the padding and
border, because we weren't counting the extra for the focusPadding.)
The existing reftests that I'm changing from == to != are ones that were
specifically testing issues related to erosion of padding.
The change to 491180-{1,2}-ref.html is because we now *do* erode the
focusPadding, which is 3px in the horizontal dimensions (see the
button::-moz-focus-inner styles in forms.css), and that was the only
nonzero style on the button in 491180-{1,2}.html.
2015-03-19 21:10:00 -07:00
Jonathan Griffin
d1c61bc9b6
Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown
2015-02-06 16:30:37 -08:00
Alexandre Lissy
1e7c8bf446
Bug 1141029 - Disabling mochitests on Mulet with parity to B2G Desktop for taskcluster. r=ahal
2015-03-11 08:15:00 -04:00
Boris Zbarsky
1be2f186e5
Bug 1140216. Remove asserts that stuff that we never create is not null, since it clearly is null. r=jwatt
2015-03-06 16:33:30 -05:00
Kearwood (Kip) Gilbert
2d11a5911a
Bug 945584: Part 2 - Add CSS scroll snapping attributes to ScrollbarStyles (v10 Patch),r=mstange
...
- ScrollbarStyles now carries additional variables to support new
CSS scroll snapping attributes:
- scroll-snap-type / scroll-snap-type-x / scroll-snap-type-y
- scroll-snap-points-x / scroll-snap-points-y
- scroll-snap-destination
- (scroll-snap-coordinate does not apply to the scroll container)
- Simplified the constructor and operator== for ScrollbarStyles.
--HG--
extra : rebase_source : 91377588f8ae6b00f5ec0198000251820d4d2f85
2014-02-04 14:54:22 +13:00
L. David Baron
da27c29b8c
Bug 1139180 - Add BUG_COMPONENT metadata to moz.build for files in layout/. r=roc
...
--HG--
extra : transplant_source : %E16mjh%96Y%AB%96%23%A3%BDCF%F6%8D%95%BF%FE%BC
2015-03-03 17:03:19 -08:00
Anish
df7d9b1c0e
Bug 1135091 - convert remaining SpecialPowers.setBoolPref to pushPrefEnv, p=anishchandran94@gmail.com, r=jmaher, mwargers
2015-03-03 08:46:35 -05:00
Jonathan Kew
4c781f24a6
Bug 1134744 - Fix baseline for form controls when line is inverted relative to block dir. r=smontagu
2015-03-03 12:25:17 +00:00
Andrea Marchesini
e09c883eef
Bug 1134280 - Get rid of Tag() - patch 2.6 - layout/base and layout/form - Fix all the occurrences, m=smaug, r=surkov
2015-03-03 11:09:00 +00:00
Andrea Marchesini
2c4f63331f
Bug 1134280 - Get rid of Tag() - patch 1 - Is{HTML,XUL,MathML,SVG}Element and IsAnyOf{HTML,XUL,MathML,SVG}Elements, r=smaug
2015-03-03 11:08:59 +00:00
Jonathan Kew
257908aa03
Bug 1134534 - Convert writing mode if necessary before applying positioning to fieldset legend. r=smontagu
2015-02-22 21:48:28 +00:00
Masayuki Nakano
019965a1f6
Bug 1119609 part.14 Reimplement/redesign EventUtils.synthesizeKey() with nsITextInputProcessor r=smaug
2015-02-19 15:50:20 +09:00
Cameron McCormack
e25c935827
Bug 1127198 - Part 1: Add a DEBUG-only count of frames that use a style context. r=dbaron
2015-02-18 09:28:53 +11:00
L. David Baron
8e1599d76b
Bug 960465 patch 15 - Switch debugging user of IsProcessingAnimationOnlyStyleUpdate() to InAnimationOnlyStyleUpdate() so that I can remove the former. r=birtles
2015-02-17 11:15:04 +13:00
Simon Montagu
43b95e8b96
Bug 1124636 patch 2: use logical ReflowChild, FinishReflowChild and ApplyRelativePositioning in nsFieldSetFrame. r=jfkthame
2015-02-11 01:43:03 -08:00
Seth Fowler
a1186f0369
Bug 1128769 (Part 5) - Record the last draw result for various less common frame types and use it to decide whether to sync decode. r=tn
2015-02-09 23:27:40 -08:00
Jonathan Kew
52542b250f
Bug 1130231 - Properly logicalize the implementation of padding on button contents. r=smontagu
2015-02-09 14:40:23 +00:00
Seth Fowler
a271bba567
Bug 1128356 - Add template functions for common frame property destructors. r=dbaron
2015-02-04 15:22:27 -08:00
Cameron McCormack
d5624d1240
Bug 1128355 - Remove unused nsButtonFrameRenderer::mBorderStyle member. r=roc
2015-02-02 19:51:33 +11:00
David Zbarsky
58a982f86b
Bug 1125040: Use LayoutDeviceIntPoint for nsLayoutUtils::GetEventCoordinatesRelativeTo and Touch::mRefPoint r=botond
2015-02-01 17:27:31 -05:00
Simon Montagu
db9d07ef9a
Bug 1124636: use min/maxBSize instead of Height in nsFieldSetFrame, r=jfkthame
2015-01-25 01:56:36 -08:00
Hector Zhao
27f5250355
Bug 1123345 - Use MOZ_ICU_CFLAGS instead of in-tree paths for build with system icu. r=glandium
2015-01-17 11:30:04 +08:00
Jonathan Watt
609bc285a8
Bug 1123939 - Convert nsComboboxControlFrame::PaintFocus to Moz2D. r=Bas
...
--HG--
extra : rebase_source : 5f5bce0cb6e403b9479fd13f9cdff9646d67d268
2015-01-21 16:23:28 +00:00
Phil Ringnalda
b52e9b0fd5
Bug 947690 - disable failing test_bug571352.html on OS X 10.10
...
--HG--
extra : rebase_source : a4bf7541cecd39dc4d221d8f2eeb015a8a8b7b1b
2015-01-19 18:02:38 -08:00
Jonathan Kew
c45717c168
Bug 1123133 - Vertical writing-mode support in nsFieldSetFrame. r=smontagu
2015-01-19 11:43:58 +00:00
Jonathan Kew
8699f8544e
Bug 1113216 - Avoid assertions/crashes by treating enumerated block-size values as auto, pending proper implementation of all the values. r=dbaron
2015-01-15 11:56:51 +00:00
Kartikaya Gupta
da9b127a6d
Bug 1119355 - Add a dummy touch listener on nsRangeFrame so the APZ code knows it handles them. r=roc
2015-01-13 09:06:37 -05:00
Neil Deakin
a744e9625f
Bug 1102039, Ensure that the popup's widget visibility is updated after rollup, allows popups to disappear at the start of the minimize animation rather than after, r=tn
2015-01-07 20:52:20 -05:00
Ehsan Akhgari
81bc9cdcd9
Bug 1118427 - Mark virtual overridden functions as MOZ_OVERRIDE in layout; r=roc
2015-01-07 10:07:36 -05:00
Mats Palmgren
2e240075ec
Bug 1116753 - Remove the nsIPresShell* param from remaining frame ctors that still have it. r=roc
2015-01-06 09:27:56 +00:00
Mats Palmgren
4f10cae0b5
Bug 1111995 - Mochitest.
2014-12-20 20:19:13 +00:00
Mats Palmgren
28750ad79a
Bug 1111995 - Clip buttons to their border area for event hit testing. r=roc
2014-12-20 20:19:12 +00:00
Ehsan Akhgari
09a262787c
Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted
...
We are white-listing the existing set of tests that use setTimeout
like this. Hopefully these tests will be investigated and fixed
in the future, so that we can narrow down the white-list.
This check is only turned on for mochitest-plain for now.
2014-12-11 13:34:40 -05:00
Mats Palmgren
eb4902314a
Bug 1106824 - Don't consume the event that closed the combobox dropdown on Windows. r=enndeakin
2014-12-04 21:26:25 +00:00
Jonathan Kew
a65c19199c
Bug 1106667 - Vertical writing-mode support for HTML button elements. r=smontagu
2014-12-04 00:57:17 -08:00
Mats Palmgren
98fa65732a
Bug 1102791 - Always return NS_FRAME_COMPLETE status from nsHTMLButtonControlFrame::Reflow. Don't create overflow container continuations unless the delegating frame has eCanContainOverflowContainers. r=roc
2014-11-24 16:42:31 +00:00
Mats Palmgren
88b2e61eb5
Bug 399262, part 2 - Exclude <select> because ::first-letter is not supported there. r=roc
2014-11-20 13:07:58 +00:00
Gijs Kruitbosch
38f778c3d4
Bug 992691 - don't allow dropping multiple files on non-multiple file input, r=smaug
...
--HG--
extra : rebase_source : a1c2b1b2854d39efcab6ac0f02ce6f4f57c6b9e8
2014-11-18 15:58:08 +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
8412cec73a
Bug 1096260 - Convert flags parameter of nsIFrame::ComputeSize from uint32_t to a typed enum, and update callers accordingly. r=dholbert
2014-11-11 11:02:41 +00:00
Brian Marshall
1b446e531d
Bug 346043 - Reset selected index correctly after closing drop-down menu. r=roc
2014-11-05 12:32:00 -08:00