Carsten "Tomcat" Book
2346aecbda
Backed out changeset 656b4466e33b (bug 1340488) for Bustage in nsComboboxControlFrame.h
2017-05-09 16:54:26 +02:00
Ray Lin
08482ec01f
Bug 1340488 - Add a chrome-only previewValue attribute to <select> for showing preview text. r=baku,heycam
...
MozReview-Commit-ID: En8e0hO35Lj
--HG--
extra : rebase_source : dbbfcf951520006144e04451844fbe2ea21a113f
2017-05-03 17:08:44 +08:00
Kartikaya Gupta
b6b23a1376
Merge m-c to graphics
...
MozReview-Commit-ID: DVUE3Wys3HV
2017-05-03 08:52:43 -04:00
Kartikaya Gupta
0ec3e2d4dd
Bug 1360246 - Propagate the StackingContextHelper to the rest of the displaylist-building code. r=nical
...
This propagates the StackingContextHelper to the rest of the code that
builds WR display items, because we will need it in future patches to
stop using RelativeToParent.
MozReview-Commit-ID: 3PlQrJRhH36
2017-05-03 08:48:08 -04:00
Kartikaya Gupta
9c0fee2d43
Bug 1360246 - Propagate the StackingContextHelper through CreateWebRenderCommands. r=nical
...
This is needed for the next patch, because the bullet frame WR rendering
code will need a StackingContextHelper to pass to the PushGlyphs call.
It also helps with some of the later patches in this series, when we get
rid of the RelativeToParent calls.
MozReview-Commit-ID: Is0aciHhy2N
2017-05-03 08:48:07 -04:00
Ting-Yu Lin
918033ba12
Bug 1321754 Part 2 - Update reftest and crashtest expectations for stylo. r=heycam
...
MozReview-Commit-ID: AunZ2DE209M
--HG--
extra : rebase_source : 4a091cd55581039c8d81f4db9bfbe2af8c0d0863
2017-04-28 14:53:16 +08:00
Neerja Pancholi
c4d6031bdc
Bug 1361207
- Changed appropriate calls to nsIFrame::IsThemed() to use overload with nsStyleDisplay* as argument to avoid redundant calls to StyleDisplay() r=dholbert
...
MozReview-Commit-ID: 65cmxFOgZeN
--HG--
extra : rebase_source : 98b2ce922b2bde9295ab2fb93cad2c3897a087ee
2017-05-01 18:16:20 -07:00
Emilio Cobos Álvarez
23bce99ae1
Bug 1361051: rename mozilla::FrameType to mozilla::LayoutFrameType. r=xidorn
...
This avoids conflicts with mozilla::dom::FrameType.
MozReview-Commit-ID: 7aEMbHRaTFk
--HG--
extra : rebase_source : 2d01321f5ce0ec8c0e3f70984674f82678034b3c
2017-05-01 19:32:52 +02:00
Emilio Cobos Álvarez
e44543aad4
Bug 1360241: Devirtualize nsIFrame::GetType. r=heycam
...
MozReview-Commit-ID: 5Nzhyta5Hle
--HG--
extra : rebase_source : c2e9d4bfb9239f5e851d110cd7dff98c1e1a8d8b
2017-04-30 17:30:08 +02:00
Phil Ringnalda
b9b730fd1f
Backed out 7 changesets (bug 1302470) for mochitest-chrome failures
...
CLOSED TREE
Backed out changeset de9f42b512c8 (bug 1302470)
Backed out changeset 2394e63f50ff (bug 1302470)
Backed out changeset 3542d7bacbdc (bug 1302470)
Backed out changeset 22793139a866 (bug 1302470)
Backed out changeset cc6ff95187d0 (bug 1302470)
Backed out changeset 033fce5ecd39 (bug 1302470)
Backed out changeset 0bb3e70e5f46 (bug 1302470)
MozReview-Commit-ID: 5DmpbQp335X
2017-04-28 20:12:06 -07:00
Cameron McCormack
db465c6d63
Bug 1358968 - Static analysis fixup. r=me (CLOSED TREE)
2017-04-29 11:08:19 +08:00
Cameron McCormack
0a88649960
Bug 1358968 - Part 4: Give nsComboboxDisplayFrame a name in frame tree dumps. r=bz
...
MozReview-Commit-ID: 67FhXW1C8lG
--HG--
extra : rebase_source : 68fdbcbc12b5928cc9f3f3924a9689809cdd0027
2017-04-24 17:50:57 +08:00
Cameron McCormack
060797a439
Bug 1358968 - Part 2: Use nsCSSAnonBoxList.h data to skip parent display-based style fixups when resolving anon box style. r=bz
...
MozReview-Commit-ID: HugxFcRcCqv
--HG--
extra : rebase_source : 5c3b12151db531a0b595cff674b1d1d137ebb9cf
2017-04-24 16:25:37 +08:00
Brad Werth
8872dcf750
Bug 1302470 Part 4: Fix the case where HTML buttons need to generate display item children when doing opaque hit tests. r=mattwoodrow
...
MozReview-Commit-ID: HwDYsnMJkM8
--HG--
extra : rebase_source : 4de1945f2a53e1f7f52bb59639330c45530610c4
2016-11-30 14:35:37 -08:00
Kartikaya Gupta
e37b4e9289
Merge m-c to graphics
...
MozReview-Commit-ID: 6UBB4TW6an5
2017-04-27 09:31:17 -04:00
Ethan Lin
e7c48eaf73
Bug 1357003 - Keep original layer state for basic layer manager when enabling advanced layer. r=mattwoodrow
...
--HG--
extra : rebase_source : 75540e18973d788e4e076aa3bdfa8a26036b2269
2017-04-21 23:11:38 +08:00
Andrea Marchesini
8beb8af7d4
Bug 1357846 - Introducing nsIFilePicker.displaySpecialDirectory, r=smaug
...
nsIFilePicker.displaySpecialDirectory is a string that can be set to TmpD,
Desk, or any other special directory value. The real value of this directory
will be read in the parent process.
2017-04-26 18:20:19 +02:00
Mike Conley
73847411fd
Bug 1357169 - Manual back out of changeset eecb0af8a88f (bug 418833). r=mats
...
This also puts the Gecko-drawing of the checkbox / radio frames inside
nsGfxRadioControlFrame and nsGfxCheckboxControlFrame behind the
MOZ_WIDGET_ANDROID pragma for now.
MozReview-Commit-ID: BEyRfEmwjZY
--HG--
extra : rebase_source : fe42a65f55d822a2c7babd95898ec7520cc01616
extra : source : 9e2440ee6715204e88c7ae709a96ef7e1f707bdc
2017-03-31 09:47:57 -04:00
Mike Conley
2100fecd36
Bug 1357169 - Back out changeset b55a8d9517c8 (bug 1320809). r=mats
...
MozReview-Commit-ID: LCiH5P1L7bD
--HG--
extra : rebase_source : ec948746b4b1d16883e96126df3b6d1f72fa18fe
extra : source : 5322792c38b32f60dd2e205cddc79cb019e806ff
2017-03-31 09:46:25 -04:00
Astley Chen
bc4e66e602
Bug 1355752 - Remove B2G code from nsFormControlFrame.cpp & forms.css. r=dholbert
...
MozReview-Commit-ID: I1PeSxMLFbn
--HG--
extra : rebase_source : eafb99a5df41053e7ea51b8d9529b6a343152cfd
2017-04-20 13:16:43 +08:00
Ray Lin
acabd05355
Bug 1340483 - Part 4. Update input visibility accordingly. r=heycam
...
MozReview-Commit-ID: 7eBhj7w4qhP
--HG--
extra : rebase_source : 3610353fbb4e8d4c1abed57536a0bab3a537b134
2017-03-30 17:38:59 +08:00
Ray Lin
f50d5b5b45
Bug 1340483 - Part 3. Enable preview function only when input is marked as autofill field. r=heycam
...
MozReview-Commit-ID: FFqYJ3icRd7
--HG--
extra : rebase_source : 2ba1caff6676a3af769e8aac58a19e9d9de81254
2017-03-22 16:55:56 +08:00
Ray Lin
c444b0fb87
Bug 1340483 - Part 1. Create empty anonymous node for autofill preview. r=heycam
...
MozReview-Commit-ID: GTVgIPoogp9
--HG--
extra : rebase_source : 1dd63792ec76c167473c91bc8dc5ec87cbd93c08
2017-03-20 11:53:40 +08:00
Florian Queze
f935ddc4b3
Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws.
2017-04-14 21:51:39 +02:00
Florian Queze
37ff4fc7cc
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Sebastian Hengst
a07223d699
Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout
2017-04-14 23:39:22 +02:00
Sebastian Hengst
738d097aae
Backed out changeset 55f3df15eaa6 (bug 1356569)
2017-04-14 23:39:17 +02:00
Florian Queze
3c564a2b02
Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws.
2017-04-14 21:51:39 +02:00
Florian Queze
95d4d20c17
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Ethan Lin
44273be6f1
Bug 1355417 - Enable "layers.advanced.button-foreground-layers" by default. r=mchang
2017-04-12 16:47:21 +08:00
Jim Porter
05006bd209
Bug 1324560 - Update test_bug961363.html to support e10s-based <select> dropdowns; r=mconley
...
e10s-based <select> dropdowns behave differently from the old, non-e10s
version. Most notably, their .value isn't updated until the dropdown is closed
and the change confirmed (e.g. by hitting Enter). Since this test originally
hit ctrl+space at the end of each test, this would open up the dropdown and
effectively trigger the different behavior. Now, the test only hits ctrl+space
for <select multiple> elements.
MozReview-Commit-ID: G3toKNdRgC8
--HG--
rename : layout/forms/test/test_bug961363.html => layout/forms/test/test_select_key_navigation_bug961363.html
extra : rebase_source : 26e581ae7f72a1c993915de1bcf2a325d2d86583
2017-03-23 16:27:37 -05:00
Olli Pettay
d47c995985
Bug 1351860 - Move mType from HTMLInputElement to nsIFormControl and make GetType non-virtual inlined, r=jessica
...
--HG--
extra : rebase_source : b7d76ce3321ea0d622da74a72b7278fd0fa63310
2017-03-31 22:49:00 -04:00
Olli Pettay
31b1f5cc92
Backout Bug 1351860, r=backout
2017-03-31 16:55:32 -04:00
Olli Pettay
b84c192a09
Bug 1351860 - Move mType from HTMLInputElement to nsIFormControl and make GetType non-virtual inlined, r=jessica
...
--HG--
extra : rebase_source : 5f2cac2c4e944e2c9f2f1acf0d3064e153c40451
2017-03-31 13:13:36 -04:00
Sebastian Hengst
e78736fcec
Backed out changeset d0ecd711cbc4 (bug 1302470)
2017-04-21 19:09:11 +02:00
Brad Werth
73fe83497b
Bug 1302470 Part 4: Fix the case where HTML buttons need to generate display item children when doing opaque hit tests. r=mattwoodrow
...
MozReview-Commit-ID: HwDYsnMJkM8
--HG--
extra : rebase_source : 80b09b3068d63e838b69bd10e43d6d1ee052e562
2016-11-30 14:35:37 -08:00
Carsten "Tomcat" Book
f2ec94ec8a
Backed out changeset 71de099b2eb7 (bug 1302470)
...
--HG--
extra : rebase_source : cc23b99bd93fe771377c7300342bc2096e17df7a
2017-04-21 17:10:40 +02:00
Brad Werth
c41e48ba8e
Bug 1302470 Part 4: Fix the case where HTML buttons need to generate display item children when doing opaque hit tests. r=mattwoodrow
...
MozReview-Commit-ID: HwDYsnMJkM8
--HG--
extra : rebase_source : 68b901f11adcaf1e6dfb706aad067ddc3b57b73b
2016-11-30 14:35:37 -08:00
Mason Chang
3b2070933d
Bug 1350182 - Enable button border display items by default. r=ethlin
2017-03-27 13:09:55 -07:00
KuoE0
422ffe963e
Bug 1342867 - Label the runnable of ScrollOnFocusEvent. r=bevistseng,dholbert
...
MozReview-Commit-ID: Dwk7F0gQBiz
--HG--
extra : rebase_source : 325f4557be0a7fcc0c5dc7c423ed3d9246bea7fa
2017-03-08 15:51:40 +08:00
Mats Palmgren
2feec4025d
Bug 1333482 part 5 - [css-ui] Enable '-moz-appearance' support for some tests. r=dholbert
...
* * *
[mq]: sssssssss
MozReview-Commit-ID: 4wgnjld1rDt
2017-03-23 22:11:23 -07:00
Mats Palmgren
00b74113a3
Bug 1333482 part 4 - [css-ui] Amend all uses of '-moz-appearance:none' in tests to also specify 'appearance:none' (automated change). r=dholbert
...
MozReview-Commit-ID: BNOR5VRpV2E
2017-03-23 22:11:22 -07:00
Mats Palmgren
79cff05243
Bug 1333482 part 2 - [css-ui] Change all consumers of StyleDisplay::mAppearance to use the accessor UsedAppearance() instead, and make mAppearance/mMozAppearance private. r=dholbert
...
MozReview-Commit-ID: 8JwLsY1CLDJ
2017-03-23 22:11:18 -07:00
Kartikaya Gupta
9608ac4946
Merge m-c to graphics
...
MozReview-Commit-ID: Ci50iHfzKbA
2017-03-22 09:55:38 -04:00
Kartikaya Gupta
7fc02188d8
Merge m-c to graphics
...
MozReview-Commit-ID: AxmKwI9dnre
2017-03-21 09:21:34 -04:00
Kartikaya Gupta
0485af4853
Merge m-c to graphics
...
MozReview-Commit-ID: 5m04vXUTlsy
2017-03-17 11:03:02 -04:00
Kartikaya Gupta
5041aa0404
Merge m-c to graphics
...
MozReview-Commit-ID: 6JFx7MHUHgW
2017-03-15 08:55:17 -04:00
Mats Palmgren
896c347cb8
Bug 1348665 part 2 - Remove the ViewProperty and store the nsView* in a field on the relevant frame classes instead. r=tnikkel
...
The relevant frame classes are:
SubDocumentFrame
ListControlFrame (only when used for (non-e10s?) comboboxes)
PluginFrame
ViewportFrame
MenuPopupFrame
The view is now created in the frame's Init() method, except for
ViewportFrame which has its view assigned by the frame constructor
via a SetView() call.
MozReview-Commit-ID: 4O7Hm1yqwIp
2017-03-21 01:22:13 +01:00
Mason Chang
516a3654f4
Bug 1346451 - Delete WebRenderBorderLayer. r=ethlin
2017-03-11 10:04:26 -08:00
Kartikaya Gupta
916f12ed8f
Merge m-c to graphics
...
MozReview-Commit-ID: GpqewOAwje8
2017-03-13 13:13:37 -04:00
Ethan Lin
8b0fa844a8
Bug 1346110 - Use BorderRenderer to generate wr commands for nsDisplayButtonBorder. r=mchang
...
---
layout/forms/nsButtonFrameRenderer.cpp | 37 +---------------------------------
1 file changed, 1 insertion(+), 36 deletions(-)
2017-03-10 12:45:20 -08:00
Kartikaya Gupta
8f54e2114e
Merge m-c to graphics
...
MozReview-Commit-ID: QN682uyISF
2017-03-09 10:42:57 -05:00
Ethan Lin
1928c02454
Bug 1344622 - Part2. Add webrender support for nsDisplayButtonForeground. r=mattwoodrow
2017-03-09 16:58:39 +08:00
Boris Zbarsky
964a12c306
Bug 1345362 part 4. Rename ResolveAnonymousBoxStyle to ResolveInheritingAnonymousBoxStyle. r=heycam
...
MozReview-Commit-ID: GVA1fTh0RDv
--HG--
extra : rebase_source : 4333baf6764f346d68836e387fa002705684bfdd
2017-03-08 23:50:28 -05:00
Kartikaya Gupta
522de7317e
Bug 1349187 - Ensure the Rollup implementations clear the out-pointer even upon returning false. r=enndeakin+6102
...
This ensures that the pointer is always either null or a valid nsIContent after
the call to Rollup returns, and avoids potentially leaving it as garbage. An
alternative approach would be to make the call sites responsible for ensuring it
is set to nullptr if the function returns false, but this seems safer.
MozReview-Commit-ID: BXxPBgs6MZL
--HG--
extra : rebase_source : 89ab9984db5114595e581c98a049a0000ea19307
2017-03-21 10:32:56 -04:00
Mason Chang
2289ed06ba
Bug 1343979 - Add webrender support for ButtonBorderBackground. r=ethlin
2017-03-08 08:31:46 -08:00
Kartikaya Gupta
44f27a56e4
Bug 1343977 - Extract nsAutoRollup into a more self-contained class and clean it up some. No functional changes intended. r=enndeakin+6102
...
This just decouples nsAutoRollup from the widget class, which it isn't really
bound to anyway because the internal data is static. We'll need to be able to
use nsAutoRollup independently in the next patch.
MozReview-Commit-ID: 1dxSLTr4g1K
--HG--
extra : rebase_source : 6f6964ca046b6f88e5c99c944a08b1c563f17837
2017-03-13 10:44:56 -04:00
Brad Werth
983df24b1c
Bug 1151421 Part 3: Update tests of pageYOffset/scrollY to round off when checking expected results. r=smaug
...
MozReview-Commit-ID: JDS5l06FAaf
--HG--
extra : rebase_source : c7fa999490b04e591f12b3fe123d6409811f9bfe
2017-03-16 12:05:56 -07:00
Andreas Farre
85536fcfc4
Bug 1337392 - Update test cases to match new cursor behavior. r=smaug
...
MozReview-Commit-ID: 4BdZyeqTBAx
2017-03-08 16:41:42 +01:00
Andreas Farre
37de7414cb
Bug 1337392 - Only place cursor at textarea/input end if content was changed. r=smaug
...
MozReview-Commit-ID: CmlN9Pn97Nl
2017-03-08 16:41:31 +01:00
Andrea Marchesini
4d21d3a57a
Bug 1335539 - Get rid of nsIDOMWindowUtils.wrapDOMFile, r=smaug, r=Gijs
2017-03-03 09:42:54 +01:00
Mats Palmgren
6ef6efaea3
Bug 1340771 part 2 - Introduce a WeakFrame class for heap allocated weak frame pointers, stored in a hashtable for fast lookup. r=tn
...
* * *
Bug 1340771 part 3 - Change existing heap allocated AutoWeakFrame instances to use WeakFrame instead. r=tn
MozReview-Commit-ID: GSuUiy98jBa
2017-03-01 18:03:14 +01:00
Mats Palmgren
d13aaf9ce0
Bug 1340771 part 1 - Rename nsWeakFrame to AutoWeakFrame (automated change). r=tn
...
MozReview-Commit-ID: 8pl4nyeGEkr
2017-03-01 18:03:14 +01:00
Mats Palmgren
e4f9cd89b2
Bug 1344395 - Make checkbox/radio controls have a default (non-zero) size also when -moz-appearance:none on Android/Gonk (since that's the default on these platforms). r=dholbert
...
MozReview-Commit-ID: HkBYsWaFjBf
2017-03-10 14:52:08 +01:00
Boris Zbarsky
f80dd7a663
Bug 1345237. Propagate uint32_t deeper into the editor state and text control frame code. r=mystor
...
MozReview-Commit-ID: KeUo8My6eBJ
2017-03-09 14:44:45 -05:00
Boris Zbarsky
d9d35a58a0
Bug 1343037 part 10. Remove the unused SetSelectionStart/SetSelectionEnd bits on text control frame. r=ehsan
...
MozReview-Commit-ID: G7ODMdAjzxV
2017-03-09 14:44:05 -05:00
Boris Zbarsky
5ae7da9d14
Bug 1343037 part 6. Simplify the setup around the editor state's GetSelectionRange function. r=ehsan
...
Really, there are only two cases we need to worry about. Either
IsSelectionCached(), and then our SelectionProperties has the data we want, or
not and then we have a non-null mSelCon which has the data we want.
Since we are now using cached selection state a lot more (instead of
initializing the editor whenever someone asks for selection state), we need to
actually update it more correctly when .value is set.
And since we now update the cached selection state for the case when .value has
been set (to point to the end of the text), we need to change
HTMLInputElement::HasCachedSelection to return false for that case. Otherwise
we will always do eager editor init on value set. We handle that by not doing
eager init if the cached selection is collapsed.
The web platform test changes test the "update on .value set" behavior. They
fail without this patch, pass with it.
MozReview-Commit-ID: DDU8U4MGb23
2017-03-09 14:44:04 -05:00
Boris Zbarsky
d2afbdd254
Bug 1342197 part 4. Move GetSelectionRange from nsTextControlFrame to the editor state. r=ehsan
...
At this point, all this method does is ensure editor initialization and then ask
the editor state for various information. Let's cut out the middleman.
MozReview-Commit-ID: p491umScJO
2017-02-28 12:41:37 -05:00
Boris Zbarsky
5649e18813
Bug 1342197 part 2. Use nsITextControlElement::GetRootEditorNode to get the root editor node in nsTextControlFrame::GetSelectionRange. r=ehsan
...
MozReview-Commit-ID: 7ncJVNVGF78
2017-02-28 12:41:37 -05:00
Boris Zbarsky
fccccf142c
Bug 1347411 part 5. Change stylo to correctly recompute style on the anonymous boxes that hang off comboboxes. r=heycam
...
I did manual testing for ::-moz-dropdown-list. Unfortunately, the only way I
know to test it is to have a combobox in a non-e10s window and dynamically
change its background color, then drop down the dropdown and see whether it
picked up the changed background color.
MozReview-Commit-ID: B2RkW4otv4s
2017-03-15 14:00:43 -04:00
Boris Zbarsky
ed85b458f3
Bug 1347411 part 3. Fix stylo to properly update styles for the content container frame of <fieldset>. r=heycam
...
MozReview-Commit-ID: D9D2xtjRldF
2017-03-15 14:00:43 -04:00
Boris Zbarsky
784eb8f590
Bug 1347411 part 2. Fix stylo to properly update styles for the various frames that use FCDATA_WITH_WRAPPING_BLOCK to wrap an anonymous block around their kids. r=heycam
...
This handles ::-moz-button-content, ::-moz-html-canvas-content, ::-moz-svg-text,
::-moz-svg-foreign-content.
MozReview-Commit-ID: 3xk7214X2uR
2017-03-15 14:00:43 -04:00
Jessica Jong
a162417a23
Bug 1301312 - Part 5: Handle input element's attribute change explicitly. r=smaug
...
MozReview-Commit-ID: AswWoeGasXZ
--HG--
extra : rebase_source : 10591d31c76a4745a9953cd944533cb2fd6940b4
2017-03-15 11:39:02 +08:00
Boris Zbarsky
5f864e31c5
Reenable several crashtests that no longer crash or leak or time out with stylo. No bug, r=bzbarsky
...
MozReview-Commit-ID: 88XjZyn4mnv
2017-02-24 15:22:37 -05:00
Ting-Yu Lin
8f840dc923
Bug 775624 Part 22 - Remove NS_FRAME_COMPLETE. r=dholbert
...
This patch is written by the following script with some manual adjustment to
the comment in nsRubyTextContainerFrame.cpp and nsRubyFrame.cpp, and
nsColumnSetFrame's constructor.
function rename() {
find layout\
-type f\
\( -name "*.cpp" -or\
-name "*.h" \)\
-exec sed -i -r "s/$1/$2/g" "{}" \;
}
rename "nsReflowStatus *([a-zA-Z0-9]*) = NS_FRAME_COMPLETE" "nsReflowStatus \1"
rename "([a-zA-Z0-9.*]*) *= NS_FRAME_COMPLETE;" "\1.Reset();"
rename "([a-zA-Z0-9.*]*) == NS_FRAME_COMPLETE" "\1.IsEmpty()"
MozReview-Commit-ID: 9tqQAHvdQex
--HG--
extra : rebase_source : 3119776946dc2c8350098b7bf9f3ceff29bdffb5
2017-02-14 17:55:48 +08:00
Ting-Yu Lin
d5c6d28836
Bug 775624 Part 16 - Convert NS_INLINE_IS_BREAK_BEFORE to a method. r=dholbert
...
MozReview-Commit-ID: 8vxRpqbZNnk
--HG--
extra : rebase_source : 195e2da23d64da9e9a888968a45eaae2e6539585
2017-02-14 16:05:24 +08:00
Ting-Yu Lin
19a2af3275
Bug 775624 Part 11 - Convert NS_MergeReflowStatusInto() to a method. r=dholbert
...
Also, remove NS_FRAME_TRUNCATED and NS_FRAME_REFLOW_NEXTINFLOW because both
are used only by NS_MergeReflowStatusInto().
MozReview-Commit-ID: LsPOji9j2e
--HG--
extra : rebase_source : 7cf1421c066f0f8df3e8402b84ae0f584cad2d11
2017-02-13 17:15:01 +08:00
Ting-Yu Lin
f7a393e947
Bug 775624 Part 5 - Remove NS_FRAME_IS_COMPLETE. r=dholbert
...
This patch is written by the help of the following script.
function rename() {
find layout\
-type f\
\( -name "*.cpp" -or\
-name "*.h" \)\
-exec sed -i -r "s/$1/$2/g" "{}" \;
}
rename "NS_FRAME_IS_COMPLETE\(([a-zA-Z0-9.*]*)\)" "\1.IsComplete()"
MozReview-Commit-ID: GOd4y2N6dcz
--HG--
extra : rebase_source : aa8b11d3a756c9e7c521e6ffd70713af0174bd98
2017-02-11 22:45:07 +08:00
Ting-Yu Lin
99ebdf6cf3
Bug 775624 Part 4 - Remove NS_FRAME_IS_FULLY_COMPLETE. r=dholbert
...
This patch is written by the help of the following script.
function rename() {
find layout\
-type f\
\( -name "*.cpp" -or\
-name "*.h" \)\
-exec sed -i -r "s/$1/$2/g" "{}" \;
}
rename "NS_FRAME_IS_FULLY_COMPLETE\(([a-zA-Z0-9.*]*)\)" "\1.IsFullyComplete()"
MozReview-Commit-ID: GOd4y2N6dcz
--HG--
extra : rebase_source : 200639e836cebe26fd77cde21f478fd027e1725f
2017-02-11 22:38:48 +08:00
Carsten "Tomcat" Book
afe4d4b240
merge mozilla-inbound to mozilla-central a=merge
2017-02-17 13:24:55 +01:00
Andrea Marchesini
d5aa729703
Bug 1340120 - Directory Upload API should work correctly with a folder is dropped, r=smaug
2017-02-16 18:23:33 +01:00
Xidorn Quan
95c1b23bd9
Bug 1339341- Downgrade several stylo errors to warnings. r=heycam
...
MozReview-Commit-ID: 2Sa8dS8uSo5
--HG--
extra : rebase_source : c6809309bbef5faf458b56018b964619ff386238
2017-02-14 18:26:10 +11:00
Daniel Holbert
33643f89a1
Bug 1337466: Adjust click position in test_bug549170.html to more reliably target editable area of textfield, rather than its border. r=mats
...
MozReview-Commit-ID: 4lHdTcCToOU
--HG--
extra : rebase_source : 73bc24f721e089ad7ce064dce5aa3ade2d3a4546
2017-02-09 22:14:24 -08:00
Mats Palmgren
e84ea3a684
Bug 605985 part 1 - Remove most default styling for checkbox and radio buttons and make the instrinsic size be zero for -moz-appearance:none checkbox/radios. r=dholbert
2017-02-09 21:22:40 +01:00
Daniel Holbert
96ede8b658
Bug 1335885: Adjust click position in test_bug1301290.html to more reliably target resizer. r=mats
...
The resizer in question is smaller in Ubuntu 16.04 than on other platforms (due
to smaller scrollbars in the default OS theme), so we need to target our click
closer to the corner of the element in order to hit the resizer.
MozReview-Commit-ID: Cz4MIKsOaGS
--HG--
extra : rebase_source : fdb852d924b7505ec2cfc2404ba632bf51ee09ee
2017-02-08 11:41:13 -08:00
Jonathan Watt
ffbfd1bf90
Bug 1333543 - Fix crash in nsRangeFrame::GetValueAtEventPoint on linux. r=mstange
2017-01-17 19:20:37 +00:00
Boris Zbarsky
e641fa9f96
Bug 1335368 part 13. Remove the use of IsCallerChrome in dom/file. r=baku
2017-02-01 15:43:37 -05:00
Cameron McCormack
8731638062
Bug 1334768 - stylo: Adjust a bunch of reftest expectations. r=me on a CLOSED TREE
...
MozReview-Commit-ID: 1qa08cspl7o
2017-01-31 17:38:24 +01:00
Sebastian Hengst
79a42c161e
Backed out changeset e3687105be00 (bug 1334768)
2017-01-31 17:30:16 +01:00
Cameron McCormack
0333846acf
Bug 1334768 - stylo: Adjust a bunch of reftest expectations. r=me
...
MozReview-Commit-ID: 1qa08cspl7o
2017-01-31 23:36:46 +08:00
Cameron McCormack
9c4ea5685f
Bug 1334768 - stylo: Back out 800030115d2e and 404506488cfb for being completely wrong due to bug 1334938.
...
MozReview-Commit-ID: 8CGTqmtlguT
2017-01-30 16:49:54 +08:00
Florian Quèze
bdc1ffa608
Bug 1334831 - script-generated patch to use .remove() instead of .parentNode.removeChild, r=jaws.
2017-01-30 08:10:22 +01:00
Mats Palmgren
9fb7c1b523
Bug 1330962 part 4 - Cleanup some #includes and make nsLegendFrame 'final'. r=dholbert
2017-01-28 02:34:14 +01:00
Mats Palmgren
6e53f8fdf0
Bug 1330962 part 3 - Add baseline methods to nsFieldSetFrame. r=dholbert
2017-01-28 02:34:14 +01:00
Mats Palmgren
a44216adfb
Bug 1330962 part 2 - Add baseline methods to nsHTMLButtonControlFrame. r=dholbert
2017-01-28 02:34:13 +01:00
Mats Palmgren
4d79cc0b8c
Bug 1330962 part 1 - Add baseline methods to nsTextControlFrame. r=dholbert
2017-01-28 02:34:13 +01:00
Cameron McCormack
7805d4716e
Bug 1334768 - stylo: Test expectation adjustments for 2017-01-29 merge.
...
MozReview-Commit-ID: FFmvs6SHIwW
2017-01-29 15:31:56 +08:00
Phil Ringnalda
5ee174a663
Backed out 5 changesets (bug 1330962) for failures in display-block-baselines-1.html and 315920-17.html
...
CLOSED TREE
Backed out changeset 71c277105903 (bug 1330962)
Backed out changeset 8cfebee598a6 (bug 1330962)
Backed out changeset 2394701998b2 (bug 1330962)
Backed out changeset 0b92b30ed1d3 (bug 1330962)
Backed out changeset cc7508381dc1 (bug 1330962)
2017-01-27 20:30:07 -08:00
Mats Palmgren
1f6eeef935
Bug 1330962 part 4 - Cleanup some #includes and make nsLegendFrame 'final'. r=dholbert
2017-01-28 02:34:14 +01:00
Mats Palmgren
566b90f955
Bug 1330962 part 3 - Add baseline methods to nsFieldSetFrame. r=dholbert
2017-01-28 02:34:14 +01:00
Mats Palmgren
ad31a06902
Bug 1330962 part 2 - Add baseline methods to nsHTMLButtonControlFrame. r=dholbert
2017-01-28 02:34:13 +01:00
Mats Palmgren
021a92f120
Bug 1330962 part 1 - Add baseline methods to nsTextControlFrame. r=dholbert
2017-01-28 02:34:13 +01:00
Bobby Holley
fd04f8fa75
Bug 1334358 - Stop using CreateAnonymousFrames for combo box creation. r=bz
2017-01-27 16:13:33 -08:00
Florian Quèze
be4dbae285
Bug 1334199 - script-generated patch to omit getComputedStyle's second argument when it's falsy, r=jaws.
2017-01-27 10:51:02 +01:00
Bobby Holley
0d6e9dc9ff
Bug 1334247 - Add an explicit hook for the nsComboboxControlFrame case, and eliminate nsIAnonymousContentCreator::CreateFrameFor. r=bz
2017-01-26 15:33:06 -08:00
Bobby Holley
107ef6b95d
Bug 1334247 - Remove unused nsGfxButtonControlFrame::CreateFrameFor. r=bz
...
CreateFrameFor only gets called for frames that get constructed by the special
nsCSSFrameConstructor::CreateAnoymousFrames path
There's nothing special about buttons, so they just take the normal
AddFCItemsForAnonymousContent path. That path actually asserts against
a non-trivial CreateFrameFor implementation, but the assert currently
doesn't fire due to the mismatch between aPossiblyLeafFrame (which is the
nsGfxButtonControlFrame used to generate the anonymous content) and aFrame
(which is the inner block frame passed as the container to
AddFCItemsForAnonymousContent).
2017-01-26 15:33:05 -08:00
cam@mcc.id.au
35e68ba276
Bug 1331322 - Allow tagging of pseudo-implementing native anonymous content with the pseudo type at creation time, and eliminate explicit style contexts in nsIAnonymousContentCreator::ContentInfo. r=bholley
...
MozReview-Commit-ID: LO0t92orjWZ
--HG--
extra : rebase_source : 56611b57af30555f46e8d417f95690fb5d6ab115
2017-01-13 03:21:11 +00:00
Phil Ringnalda
d2fa909610
Backed out 4 changesets (bug 1331322) for Android reftest failures in 1169331-1.html and forced-bg-color-outside-visible-region.html
...
Backed out changeset 96c6b5a11284 (bug 1331322)
Backed out changeset 15877d32de7d (bug 1331322)
Backed out changeset 841d608704d7 (bug 1331322)
Backed out changeset 02096c5eb029 (bug 1331322)
2017-02-15 21:24:00 -08:00
cam@mcc.id.au
34be31a2d7
Bug 1331322 - Allow tagging of pseudo-implementing native anonymous content with the pseudo type at creation time, and eliminate explicit style contexts in nsIAnonymousContentCreator::ContentInfo. r=bholley
...
MozReview-Commit-ID: LO0t92orjWZ
--HG--
extra : rebase_source : 56611b57af30555f46e8d417f95690fb5d6ab115
2017-01-13 03:21:11 +00:00
Florian Quèze
0e0865f4fc
Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws.
2017-01-25 07:01:52 +01:00
Masatoshi Kimura
2f33a39f13
Bug 1331820 - Fix misuse of NS_NewNativeLocalFile in nsFileControlFrame.cpp. r=baku
...
MozReview-Commit-ID: 7v78jtmp7rU
--HG--
extra : rebase_source : 51e2287c2b3e811eb6979f68015aa14d6f31a9f1
2017-01-21 15:36:10 +09:00
Florian Quèze
85611a7b6d
Bug 1331081
- script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
...
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Cameron McCormack
9f99f387ac
Bug 1324663 - stylo: Adjust expectations now that we've disabled style context tree structure assertions. r=me
...
MozReview-Commit-ID: EORVNMWW7gu
2017-01-11 20:35:12 +08:00
Michael
7fde7078aa
Bug 1300784 - Combine non-e10s and e10s select dropdown implementations, preffed off. r=mconley
...
Patch by Michael Wright and Freddy (Junshan) Luo.
MozReview-Commit-ID: G0CaZplABpC
--HG--
extra : rebase_source : d0e29ecc80835bf227f623643518ec0cf2d01364
2016-12-21 11:09:39 -05:00
Mats Palmgren
5aa21118d5
Bug 1327129 - Test key events on various <select> elements with selectedIndex=-1.
2017-01-08 21:26:59 +01:00
Mats Palmgren
17041c7c62
Bug 1327129 - Make key events act on the first non-disabled <option> (if any) when no <option> is selected (i.e. selectedIndex=-1). r=smaug
2017-01-08 21:26:59 +01:00
Cameron McCormack
babad063ff
Bug 1328832
- Part 2: Rename mozFlushType to mozilla::FlushType and make it an enum class. r=bzbarsky
...
MozReview-Commit-ID: D3fIngSHSsl
2017-01-05 15:31:56 +08:00
Xidorn Quan
c26fcf05e4
Bug 1326209 part 2 - Change background-color to use complex color. r=dholbert
...
MozReview-Commit-ID: 1n3TC3CVY7U
--HG--
extra : rebase_source : 6b402a2493f58d114a9898a4d556587fdc98a9ee
2016-12-30 02:03:29 +11:00
Boris Zbarsky
4854d1dba1
Bug 1326163 part 3. Rename nsDisplayFieldSetBorderBackground to nsDisplayFieldSetBorder, since that's what it does ever since bug 1227327 was fixed in < https://hg.mozilla.org/mozilla-central/rev/5453b1ce4e85e98d358c12c8dc168a9f484b7491 >. r=dbaron
2016-12-29 18:10:26 -08:00
Boris Zbarsky
a3443d3548
Bug 1326163 part 1. The fieldset's border drawing display item shouldn't participate in hit-testing. That's handled by its background item already. r=dbaron
2016-12-29 18:10:22 -08:00
Mats Palmgren
6aead680d1
Bug 1322191 part 2b - Replace "NS_BLOCK_FLOAT_MGR | NS_BLOCK_MARGIN_ROOT" with NS_BLOCK_FORMATTING_CONTEXT_STATE_BITS. r=dholbert
2016-12-23 19:11:04 +01:00
Mats Palmgren
e7eec04f19
Bug 1322698 - Synthesize an 'appearance:none' checkbox/radio baseline from its margin-box by default (in an inline context). r=dholbert
2016-12-23 19:11:03 +01:00
Cameron McCormack
d4d8ba1d5f
Bug 1324624 - stylo: Mark currently failing crashtests with asserts-if(stylo,...). r=xidorn
...
MozReview-Commit-ID: 7iiwRwiQ8s4
2016-12-21 15:42:36 +08:00
Wes Kocher
0b3c388b2f
Merge m-c to autoland, a=merge
2016-12-20 11:48:21 -08:00
Wes Kocher
584a2f0f62
Merge inbound to central, a=merge
...
MozReview-Commit-ID: Cr9L1dhIzP2
2016-12-20 11:41:57 -08:00
Jessica Jong
556aae19f0
Bug 1286182 - Implement the layout for <input type=date>. r=mconley,smaug
...
--HG--
rename : dom/html/test/forms/test_input_time_focus_blur_events.html => dom/html/test/forms/test_input_datetime_focus_blur_events.html
2016-12-19 00:50:00 +08:00
Masayuki Nakano
7436f01057
Bug 564411 Move all methods/attributes of nsIEditorIMESupport to nsIEditor r=smaug
...
Doing QI from nsIEditor to nsIEditorIMESupport doesn't make sense because editor should always support all methods and attributes of nsIEditorIMESupport (it does NOT mean that all nsIEditor implementation need to support IME).
This patch moves all of them to nsIEditor for avoiding redundant QIs.
MozReview-Commit-ID: DzIKuGHG4iy
--HG--
extra : rebase_source : cc5e9a6ae4572ebe461d9770ffa5c23d33dc8526
2016-12-20 21:47:31 +09:00
Mike Conley
464d5b4bd6
Bug 1321376 - Disable test_bug961363.html for e10s mode until we can get a proper test written for the select dropdown in parent behaviour. r=enndeakin+6102
...
MozReview-Commit-ID: 6cs97wCCGHR
--HG--
extra : rebase_source : 017f0e2cc2d1eeb4d21b306045e6fb2ec4185b43
2016-12-01 23:01:46 -08:00
Mike Conley
e9793294c1
Bug 1321376 - In single-process mode, don't change <select> selection with cursors if popup is opened in the parent. r=enndeakin+6102
...
MozReview-Commit-ID: KylyZ6bbxno
--HG--
extra : rebase_source : 788433644d73536a0794f4986bf6bdac6c4217fd
2016-11-28 16:07:01 -08:00
Wes Kocher
1b3fc382aa
Backed out 5 changesets (bug 1302470) for causing bug 1323200 a=backout
...
Backed out changeset 005adbf78cd2 (bug 1302470)
Backed out changeset 113f7b13475c (bug 1302470)
Backed out changeset 3d2569996ebc (bug 1302470)
Backed out changeset b92b78271941 (bug 1302470)
Backed out changeset 5b92678afff8 (bug 1302470)
MozReview-Commit-ID: FgeA5OQV8WP
--HG--
extra : histedit_source : 4513cf8271a0bf4d2ca373b5b87aac2c5beeddf9%2C489053b6db62d02f62b4f240fcd9a40fee09dbfb
2016-12-16 16:45:09 -08:00
Cameron McCormack
366f6eb24d
Bug 1323892
- Disable currently crashing stylo crashtests. r=xidorn
...
MozReview-Commit-ID: 2BNjdBWdT5V
2016-12-16 18:54:41 +08:00
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