Mats Palmgren
552f1d7d77
Bug 856243 - Add missing do_QueryFrame support and fix typo that caused most MathML frames to not QueryFrame to nsIMathMLFrame. Add static assertions to prevent those kinds of errors in the future. r=dholbert
2013-04-04 01:35:07 +02:00
Eitan Isaacson
2ed120291b
Bug 525444 - (Part 1/3) Basic SpeechSynthesis setup and voice registration. r=smaug
...
--HG--
rename : content/media/webspeech/moz.build => content/media/webspeech/synth/moz.build
rename : content/media/webspeech/moz.build => content/media/webspeech/synth/test/moz.build
2013-04-03 15:13:16 -07:00
Eitan Isaacson
9f20c3d7e5
Bug 856370 - Add a Makefile.in in webspeech/recognition and remove webspeech top-level VPATH. r=smaug
...
--HG--
rename : content/media/webspeech/Makefile.in => content/media/webspeech/recognition/Makefile.in
rename : content/media/webspeech/moz.build => content/media/webspeech/recognition/moz.build
2013-04-03 15:13:16 -07:00
Mounir Lamouri
5553219052
Bug 701353 - Tests that <label> actually activates <input type='file'>. r=smaug
2013-04-03 17:06:19 +01:00
Jonathan Watt
0bcbb8475c
Bug 857034 - Add support for native theming of <input type=range> on Windows. r=roc
2013-04-03 11:07:12 +01:00
John Daggett
118ccf59eb
Bug 856402 - null-check the result of GetParentStyleSheet. r=dbaron
2013-04-03 15:13:17 +09:00
Robert O'Callahan
d9afc6d714
Backout bug 851445 for test failure
...
--HG--
extra : rebase_source : 3314e6679f15134324d5de09334be14e17aa0790
2013-04-02 18:24:25 +13:00
Robert O'Callahan
37411c9523
Bug 851445. When saving a frame scroll position, if we're in the process of trying to scroll to a saved scroll position, save the desired position instead of the actual current position. r=mats
2013-03-21 15:44:37 +13:00
Seth Fowler
4aca9d64d3
Bug 811403 Followup - Disable inequality test on platforms with scrollbars to fix Android reftest failures on a CLOSED TREE.
...
--HG--
extra : amend_source : bc2b5cf8633a7702e40d5f475fda54e1d10b849f
2013-04-01 19:39:01 -07:00
Trevor Saunders
10fef398ec
bug 856794 - don't check the return value of nsTArray::EnsureLengthAtLeast() r=heycam
2013-04-01 16:54:20 -04:00
Cameron McCormack
30b5ba2337
Bug 856879 - Remove constructor arguments argument from style struct macros. r=dbaron
2013-04-02 12:45:48 +11:00
Seth Fowler
5836f7f66e
Bug 811403 (Part 2) - Tests for viewport unit interactions with overflow values of scroll and auto. r=dbaron
2013-04-01 17:03:00 -07:00
Seth Fowler
c1cfdfcbc1
Bug 811403 (Part 1) - Take scrollbars into account for viewport units if 'overflow: scroll' is set. r=dbaron
2013-04-01 17:02:57 -07:00
Trevor Saunders
0d9ec37b4c
bug 856705 - fix layout/style/ SwapElements() callers to not look at the return value r=bz
2013-04-01 13:46:26 -04:00
Kyle Machulis
f5e3aadf0b
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00
Mats Palmgren
4b6d7d9fb1
Backout 5104a8653170 (bug 856243). r=me
2013-04-01 19:10:37 +02:00
Mats Palmgren
ae760b12d2
Bug 856243 - Add missing do_QueryFrame support. r=dholbert
2013-04-01 18:45:19 +02:00
Mats Palmgren
9ce2e2126a
Bug 855920 - Remove unused nsDisplayTransform ctor. r=roc
2013-04-01 18:45:18 +02:00
Mats Palmgren
7fa166a5f5
Bug 729519 - Allocate heap nsFrameLists from the shell arena. r=bzbarsky
...
"new nsFrameList()" becomes "new (shell) nsFrameList()".
"delete list" becomes "if (list) list->Delete(shell)" - note also that
an additional assertion was added that list is empty when deleted.
"nsAutoPtr<nsFrameList> list(StealSomeFrames())" becomes
"AutoFrameListPtr list(aPresContext, StealSomeFrames())"
2013-04-01 17:26:02 +02:00
Mats Palmgren
46cbb9a249
Bug 729519 - Make frames destroy all child frames and remove their nsFrameList properties when destroyed. r=bzbarsky
...
Specifically, this wasn't done for the OutsideBullet list which was
destroyed by the property destructor, potentially after the entire
frame tree was gone. Now we'll assert that the property destructor
isn't called.
Use SafelyDestroyFrameListProp when destroying PushedFloat and
OverflowOutOfFlows frame lists since it's more robust.
Destroy [Excess]OverflowContainers frame lists if they exist, regardless
of the IsFrameOfType(nsIFrame::eCanContainOverflowContainers) bit
(since the oveflow continuation tracker doesn't check that before
creating these lists -- this was the source of crash bugs before
that bit was added to ColumnSetFrame).
Assert in SetPropTableFrames that the property doesn't exist, because
if it does the property destructor will run, which isn't supported.
2013-04-01 17:26:02 +02:00
Mats Palmgren
b6a1543603
Bug 729519 - Allocate nsFrameList::sEmptyList from the .rodata segment, not the heap. r=bzbarsky
2013-04-01 17:26:02 +02:00
Mats Palmgren
e1ff6321d4
Bug 729519 - Simplify DestroyOverflowList() by requiring that the list is empty. r=bzbarsky
2013-04-01 17:26:02 +02:00
Mats Palmgren
7bc994da9a
Bug 729519 - Use SafelyDestroyFrameListProp also for the OverflowList. r=bzbarsky
2013-04-01 17:26:02 +02:00
Mats Palmgren
9ad6039de8
Bug 855917 - Minor nsAbsoluteContainingBlock code cleanup. r=dholbert
2013-04-01 17:26:01 +02:00
Robert Longson
424a479691
Bug 398825 - Implement selectSubString. r=heycam
...
--HG--
rename : content/svg/content/test/test_getSubStringLength.xhtml => content/svg/content/test/test_selectSubString.xhtml
rename : layout/reftests/svg/text/simple-selection.svg => layout/reftests/svg/text/selectSubString-2-ref.svg
rename : layout/reftests/svg/text/simple-selection.svg => layout/reftests/svg/text/selectSubString-2.svg
rename : layout/reftests/svg/text/simple-selection.svg => layout/reftests/svg/text/selectSubString-3-ref.svg
rename : layout/reftests/svg/text/simple-selection.svg => layout/reftests/svg/text/selectSubString-3.svg
rename : layout/reftests/svg/text/simple-selection.svg => layout/reftests/svg/text/selectSubString-ref.svg
rename : layout/reftests/svg/text/simple-selection.svg => layout/reftests/svg/text/selectSubString.svg
2013-04-01 10:43:38 +01:00
L. David Baron
8c6ca20f7d
Bug 855464: Optimize nsBlockReflowState::ClearFloats better, given that nsBlockFrame::WidthToClearPastFloats is somewhat expensive. r=dholbert
...
This fixes a performance issue that showed up in a profile of the b2g
contacts app (though it's not clear what percentage of the time it was
given the difficulty of understanding output of 'perf').
2013-03-31 00:50:29 -07:00
Felipe Gomes
04b26e63a2
Bug 850213 - Update nsHTMLInputElement to nsIContentPrefService2. r=smaug
2013-03-29 23:08:57 -03:00
Daniel Holbert
155415dd90
Bug 856199: Remove nsHTMLReflowState's no-longer-needed AutoRestore #include. r=dbaron
2013-03-29 18:34:17 -07:00
Daniel Holbert
e3480c76f6
Bug 785468: Compute flex container's baseline as-described in the spec. r=dbaron
2013-03-29 18:32:08 -07:00
Daniel Holbert
09babc8fb7
Bug 853946: Replace flex container's cached content-box cross-size and cached ascent with local variables in Reflow(). rs=Waldo
2013-03-29 18:32:03 -07:00
Bobby Holley
5ff368df12
Bug 856127 - Override the override. r=bz
2013-03-29 18:13:52 -07:00
Kyle Machulis
d2b6e6e01a
Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot
2013-03-29 15:12:58 -07:00
Kyle Machulis
5663b98bc5
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
...
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Mounir Lamouri
8d952d99ee
Bug 839788 - Switch Browse button from an <input> to a <button>. r=bz
2013-03-29 12:32:47 +00:00
Jonathan Watt
69b4a80dbe
Bug 855048 - nsRangeFrame shouldn't init the "nsReflowStatus frameStatus" that it passes into ReflowChild. r=dholbert
2013-03-29 09:49:53 +00:00
Robert O'Callahan
3a4355687e
Bug 852489. Part 9: Avoid temporarily setting a layer's visible region to a non-final value. r=mattwoodrow
...
We currently set the visible region on most container layers twice: once in
BuildContainerLayerFor, where we don't take clipping from ancestors into
account, and then later ProcessDisplayItems calls RestrictVisibleRegionForLayer
which does take ancestor clipping into account. This causes unnecessary
Mutated()s.
In this patch we partially fix this by forcing transform layers to take
account of their ancestor clipping when they set the visible region in
BuildContainerLayerFor. For those layers we don't need to apply
ancestor clipping in ProcessDisplayItems. This is done in a rather
ugly way, by passing the ancestor clip rect as an extra field of
ContainerParameters. To preserve the optimization that prerendered
elements are treated as fully visible regardless of ancestor clipping,
we have to add a flag to turn that clipping off in BuildContainerLayerFor.
In bug 841192 we will be able to fix this in a much nicer way, because we can
get the ancestor clip directly off the nsDisplayItem passed to
BuildContainerLayerFor. But this approach is needed for the B2G18 branch.
--HG--
extra : rebase_source : 26fbe55db84ab96e1e358b8803b0563f42590836
2013-03-22 15:17:29 +13:00
Robert O'Callahan
5d035502b3
Bug 852489. Part 6: Don't temporarily reset clip when recycling Thebes/Image/ColorLayers. r=mattwoodrow
...
--HG--
extra : rebase_source : 28ac0c65edef8d2f0de2e79003370520066508e7
2013-03-22 15:17:29 +13:00
Robert O'Callahan
88994b7bd5
Bug 852489. Part 5: Don't temporarily reset clip rect when reusing an existing layer. r=mattwodrow
...
--HG--
extra : rebase_source : 65ace15a404e25e14c02e514077997554d36f092
2013-03-22 15:17:29 +13:00
Robert O'Callahan
361f43cd8a
Bug 852489. Part 4: Don't call RepositionChild if the layer is already in the right position. r=mattwoodrow
...
--HG--
extra : rebase_source : 1a3be842c65ab00dc7a72361e522e5343e5de967
2013-03-22 15:17:29 +13:00
Robert O'Callahan
590e667243
Bug 852489. Part 1: Don't create nsDisplayButtonForegrounds for buttons that aren't focused. r=mats
...
--HG--
extra : rebase_source : 93ad60be2d64345fee5bbdd4553b11b5d8341d18
2013-03-22 15:17:27 +13:00
Ryan VanderMeulen
541c7cafe0
Backed out changeset fa9cde226b2a (bug 839788) for breaking mochitests the same way it did the first time it landed on a CLOSED TREE.
2013-03-28 21:17:42 -04:00
Daniel Holbert
66fc6d2dbc
Bug 855850: Use MOZ_STATIC_ASSERT instead of #if, to verify that "break type" values are representable in 4 bits. r=mats
2013-03-28 16:27:31 -07:00
Mounir Lamouri
aa5643ad17
Bug 839788 - Switch Browse button from an <input> to a <button>. r=bz
2013-03-28 11:24:14 +00:00
Jonathan Watt
6759296438
Bug 855301 - Add support for native theming of <input type=range> on Linux. r=roc
2013-03-28 20:25:05 +00:00
Andrea Marchesini
f824be6f86
Bug 825196 - Convert HTMLInputElement to WebIDL. r=Ms2ger
2013-03-28 15:41:32 -04:00
Andrea Marchesini
716d484c78
Bug 825196 - Rename nsHTMLInputElement to HTMLInputElement. r=Ms2ger
...
--HG--
rename : content/html/content/src/nsHTMLInputElement.cpp => content/html/content/src/HTMLInputElement.cpp
rename : content/html/content/src/nsHTMLInputElement.h => content/html/content/src/HTMLInputElement.h
2013-03-28 15:41:32 -04:00
Ryan VanderMeulen
f466fc86fd
Bug 807442 - Make assertion non-fatal. r=hsivonen
2013-03-28 12:13:11 -04:00
Ryan VanderMeulen
3f7ca54cce
Backed out changeset f0b16aba4df7 (bug 839788) for mochitest failures on a CLOSED TREE.
2013-03-28 08:49:04 -04:00
Mounir Lamouri
83edc3d65a
Bug 839788 - Switch Browse button from an <input> to a <button>. r=bz
2013-03-28 11:24:14 +00:00
Daniel Holbert
c7a74a6a7b
Bug 801268: Add crashtest for this bug. (test only, no review)
2013-03-28 01:50:22 -07:00