Gijs Kruitbosch
77a8ea38e7
Bug 125082 - use GetChildren in inDOMUtils and inDeepTreeWalker to get native anonymous content, too. r=roc
2013-04-14 11:47:31 -07:00
David Zbarsky
8aa282388a
Bug 846995 Part 3: Rename DOMSVGAnimatedTransformList and kill nsISupports r=jwatt
...
--HG--
rename : content/svg/content/src/DOMSVGAnimatedTransformList.cpp => content/svg/content/src/SVGAnimatedTransformList.cpp
rename : content/svg/content/src/DOMSVGAnimatedTransformList.h => content/svg/content/src/SVGAnimatedTransformList.h
2013-04-14 18:56:34 -04:00
Masayuki Nakano
c8e059b44d
Bug 857820 part.1 Drop blink effect implementation r=dbaron
2013-04-14 19:11:07 +09:00
Robert Longson
a84db0dfe3
Bug 861188 - Fix empty transforms on svg elements. r=dholbert
2013-04-14 08:17:36 +01:00
Phil Ringnalda
d5678418dc
Back out f21835504604 (bug 860338) for build bustage
...
CLOSED TREE
2013-04-13 19:09:05 -07:00
Ralph Giles
62fe9d4041
Bug 860338 - remove MOZ_WEBVTT. r=ted
...
The webvtt dom implementation and parser are a small amount of code.
Given the tendency of build-time switches to bitrot, it's not worth
keeping this one.
The webvtt dom implementation and parser are a small amount of code.
Given the tendency of build-time switches to bitrot, it's not worth
keeping this one.
2013-04-10 16:37:00 -07:00
Nathan Froyd
642de80850
Bug 860457 - use uintptr_t instead of unsigned long in celldata.h; r=dholbert
2013-04-10 12:56:22 -04:00
Cameron McCormack
6ea8368c33
Bug 839956 - Size and position text decorations on SVG text correctly when a font size scale factor is in effect. r=roc
2013-04-13 13:16:22 +10:00
Ralph Giles
d0df74d728
Backed out changeset d757eeebcc43. r=bustage CLOSED TREE
...
Philor suggests I need to clobber.
2013-04-12 15:42:24 -07:00
Ralph Giles
8f8bcd84e1
Bug 860338 - remove MOZ_WEBVTT. r=ted
...
The webvtt dom implementation and parser are a small amount of code.
Given the tendency of build-time switches to bitrot, it's not worth
keeping this one.
The webvtt dom implementation and parser are a small amount of code.
Given the tendency of build-time switches to bitrot, it's not worth
keeping this one.
2013-04-10 16:37:00 -07:00
Guilherme Gonçalves
174c750d96
Bug 850442 - Part 5 - Rename nsGeolocation to Geolocation. r=bz
2013-04-12 13:01:29 -07:00
Seth Fowler
91301400e2
Bug 853774 - nsBulletFrame should handle its requests more safely. r=tn
...
--HG--
extra : rebase_source : cdbf51bcb02cf7b072881e0bc9425fd64ebe3015
2013-04-12 10:05:57 -07:00
Mats Palmgren
ba1889d131
Bug 856368 - Convert some comments into proper doc-comments. r=roc
2013-04-15 22:00:06 +02:00
Mats Palmgren
0ce1179320
Bug 856368 - Inline the AllocateBy* and FreeBy* methods into the header. r=roc
2013-04-15 22:00:06 +02:00
Mats Palmgren
75bb4ed6a0
Bug 856368 - Adjust memory reporter SizeOf methods accordingly. r=roc
2013-04-15 22:00:06 +02:00
Mats Palmgren
1e9bd59184
Bug 856368 - Merge nsPresArena::mState into nsPresArena itself. r=roc
2013-04-15 22:00:06 +02:00
Mats Palmgren
702d0070af
Bug 856368 - Remove DEBUG_TRACEMALLOC_PRESARENA. r=roc
2013-04-15 22:00:06 +02:00
Honza Bambas
e7a737bf35
Bug 600307 - localStorage and sessionStorage implementation overhaul, r=mak77+smaug, sr=smaug
2013-04-15 14:38:48 +02:00
Jonathan Watt
0c743dcdbd
Bug 861805 - Stop layers from snapping transforms for SVG content. r=roc
2013-04-15 13:30:28 +01:00
Robert O'Callahan
33c813e43e
Bug 860253. Clear clip state on children of an nsDisplayTransform because they're in a different coordinate system, and we'll clip the nsDisplayTransform itself. r=mattwoodrow
2013-04-15 19:10:19 +12:00
Robert O'Callahan
23011589ce
Bug 860579. Make FindContentInDocument use the frame tree as much as possible. r=mattwoodrow
2013-04-16 18:14:56 +12:00
Robert O'Callahan
43e893e908
Bug 841363. Ensure padding-rect edges are included in scrollable area used to compute scrollWidth/scrollHeight for overflow:visible elements. r=matspal
2013-04-09 12:05:12 +12:00
Robert O'Callahan
bc7d984a44
Bug 849996. Check the correct frame for transforms in PushAbsoluteContainingBlock --- it might not be the containing block itself. r=bzbarsky
2013-04-08 16:09:35 +12:00
Boris Zbarsky
5df1da36da
Bug 810644 part 1. Switch setTimeout and setInterval to using WebIDL callback functions. r=smaug, sr=peterv
2013-01-03 14:02:36 -05:00
Cameron McCormack
7b7c156b74
Bug 860653 - Make paint-order work on SVG text with layout.svg.css-frames.enabled. r=longsonr
2013-04-12 17:58:03 +10:00
Joshua Cranmer
c763b1352e
Bug 856108 - Port static analyses to clang, part 2e: use MOZ_STACK_CLASS in layout. r=mats
2013-04-11 22:20:45 -05:00
Ryan VanderMeulen
e9c65dfa10
Backed out 2 changesets (bug 850362, bug 600307) for Windows XP leaks on a CLOSED TREE.
2013-04-11 17:00:28 -04:00
Honza Bambas
52e949bcbc
Bug 600307 - localStorage and sessionStorage implementation overhaul, r=mak77+smaug, sr=smaug
2013-04-11 18:26:06 +02:00
Daniel Holbert
f6f693826b
Bug 851379, part 4: Fix InitOffsets logging code to display horizontal and vertical percent basis, instead of just a containing block width. r=mats
2013-04-11 07:51:58 -07:00
Daniel Holbert
54ba81be1d
Bug 851379, part 3: Add reftest with percent-valued vertical margin & padding on flex items. r=mats
2013-04-11 07:51:55 -07:00
Daniel Holbert
89cfe76e42
Bug 851379 part 2: Make ComputeMargin, ComputePadding, and InitOffsets take a horizontal *and* vertical percent basis, so that we can resolve vertical margins and padding against containing block *height* in flex items. r=mats
2013-04-11 07:51:52 -07:00
Daniel Holbert
2e9d4d47f3
Bug 851379 part 1: Rename ComputeWidthDependentValue to ComputeCBDependentValue. r=mats
2013-04-11 07:49:53 -07:00
John Daggett
3671aea0ee
Bug 761442 - treat substitution and positioning lookups involving <space> differently. r=jkew
2013-04-11 22:49:58 +09:00
Jonathan Kew
8ac82223b3
Bug 761442 - don't use per-word shaping with fonts that use <space> in opentype lookups. r=jdaggett
2013-01-08 14:38:48 +00:00
Jonathan Watt
466a857ecf
Bug 859305 - Stop the browser app from panning the page when the user drags an <input type=range>'s thumb in the out-of-process case. r=smaug
2013-04-11 10:11:54 +01:00
Cameron McCormack
e7b3448f80
Bug 860370 - Undo functionality change from bug 848973. r=roc
2013-04-11 18:40:12 +10:00
Cameron McCormack
32a375aae4
Bug 860378 - Reconstruct SVG text frames sooner on DOM mutations. r=longsonr
2013-04-11 18:38:40 +10:00
Aryeh Gregor
f9e1831a55
Bug 857102 part 2 - Make NS_NewTextNode and nsIDocument::CreateTextNode infallible; r=bz
2013-04-04 15:01:08 +03:00
Chris Lord
6b4df40a4f
Bug 859749 - Fix building with --enable-dump-painting and --disable-debug. r=mattwoodrow
...
DisplayItemClip::ToString should be in a MOZ_DUMP_PAINTING #ifdef, rather than
a generic DEBUG #ifdef.
2013-04-10 10:55:00 +01:00
Cameron McCormack
1235a3318a
Bug 839957 - Followup for review comment.
2013-04-10 23:04:28 +10:00
Cameron McCormack
1362a0afcf
Bug 839956 - Choose SVG text font size scale factor without regard to devPixelsPerPx. r=longsonr
2013-04-10 22:58:56 +10:00
Cameron McCormack
b493ede929
Bug 839957 - Avoid inaccuracies when computing SVG glyph positions. r=longsonr
2013-04-10 22:58:55 +10:00
Patrick Wang
6e519e5d55
Bug 847744: Part 1 - Create MmsService for content process. r=vicamo
...
--HG--
rename : dom/mobilemessage/src/SmsServicesFactory.h => dom/mobilemessage/src/android/MmsService.h
rename : dom/mobilemessage/src/SmsServicesFactory.h => dom/mobilemessage/src/fallback/MmsService.h
2013-04-10 20:18:32 +08:00
Bas Schouten
7d182a2102
Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
...
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.
Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 09:20:52 +00:00
Bas Schouten
d7b350faee
Bug 859791 - Part 2: Set the recording output file before the recording flag. r=jrmuizel
2013-04-09 17:37:56 +00:00
Stephen Pohl
28ee11a080
Bug 678392 - Add support for swipe animation as in Safari. r=smichaud,jaws,felipc
2013-04-09 14:44:01 -05:00
Andrea Marchesini
f2fd0928e5
Bug 851470 - Rename nsDOMAttribute to Attr. r=Ms2ger
...
--HG--
rename : content/base/src/nsDOMAttribute.cpp => content/base/src/Attr.cpp
rename : content/base/src/nsDOMAttribute.h => content/base/src/Attr.h
2013-04-09 17:29:44 +02:00
Robert O'Callahan
a7bc9f4f3c
Bug 858803. Fix coordinate system of subdocument frame bounds. r=mattwoodrow
...
--HG--
extra : rebase_source : 3fd0436f141542dcf50f318a47670329c9c7a814
2013-04-10 00:30:51 +12:00
Robert O'Callahan
ce4c05def0
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
...
--HG--
extra : rebase_source : 4aa4110d32db5f26192c0e4b6fa3185d1ed2c073
2013-03-21 15:44:37 +13:00
Cameron McCormack
9b2d903aae
Bug 848973 - Make nsStyleDisplay::IsBlockInside() and friends work only on style structs for the passed in frame and document them. r=roc
...
--HG--
extra : rebase_source : a8559b62124bec058f2857d50cf7f65f176c3727
2013-04-07 09:40:07 +10:00
Ed Morley
97cde7dc7f
Backed out changeset dc4066373f5a (bug 849399) for failures in test_bug451286.xul
2013-04-09 11:45:13 +01:00
Nicholas Cameron
6ab5a930f2
Bug 849399. Invalidate existing style rule if we start a transition. r=dbaron
2013-04-09 21:09:11 +12:00
Simon Montagu
d5292afd50
The test for bidi isolated subparagraphs should be > 0, not > 1. Bug 859093, r=roc
2013-04-08 23:25:34 -07:00
Boris Zbarsky
76307e1b88
Back out Bug 810644 part 1 to fix b2g test_closeOnGC.html orange on CLOSED TREE
2013-04-08 22:56:06 -04:00
Masatoshi Kimura
98ede15b45
Bug 771975 - Remove -moz-prefixed gradients usage from rest of the tree. r=roc
2013-04-09 07:44:26 +09:00
Boris Zbarsky
2f07f521a5
Bug 810644 part 1. Switch setTimeout and setInterval to using WebIDL callback functions. r=smaug, sr=peterv
2013-01-03 14:02:36 -05:00
Reuben Morais
b2f77af938
Bug 858837 - Clean Contacts/Permissions/Settings build config files. r=khuey r=gwagner
...
--HG--
extra : rebase_source : 15b1a3b477975a29c2ed36d288cf8e75fdfcbdc4
2013-04-05 16:12:31 -07:00
Ralph Giles
ad4c3beead
Bug 857022 - Remove MOZ_MEDIA from the layout module. r=cpearce
...
Enable this code unconditionally.
2013-04-04 15:08:00 -07:00
Scott Johnson
b303b4dcb2
Bug 600100, Part 2: Force a vertical resize even if our available height hasn't changed in anonymous blocks of a column set so we don't crash. [r=mats]
2013-04-08 13:38:33 -05:00
aceman
b20aad1de4
Bug 856238 - Remove unused includes of the obsolete nsISupportsArray and nsIEnumerator. r=Neil, r=bsmedberg
2013-04-08 14:35:31 -04:00
Trevor Saunders
8a324dc194
bug 856779 - remove nsFrameManager::Init() r=dholbert
2013-03-31 18:43:04 -04:00
Trevor Saunders
1e1929f0f1
bug 856779 - make nsStyleSet::Init() return void r=dholbert
2013-03-31 18:08:29 -04:00
Trevor Saunders
bbe54eccfc
bug 856779 - kill NS_NewPresShell() r=bz
2013-03-31 16:39:27 -04:00
Masatoshi Kimura
2ca51c4f79
Bug 858224 - Remove most MSVC exemptions for FAIL_ON_WARNINGS. r=ted feedback=dholbert
2013-04-07 13:45:34 +09:00
Ms2ger
046d6a22b7
No bug - Remove Windows line endings from layout/style/AnimationCommon.cpp.
2013-04-06 22:16:46 +02:00
David Creswick
736bab73e0
Bug 856317 - Expose the column number of style rules via inIDOMUtils. r=dbaron
2013-04-06 12:38:56 -05:00
David Zbarsky
dd55a87c18
Bug 857884 - Use dom::EventTarget more in content/ and dom/ Part 2 r=Ms2ger
2013-04-05 20:44:26 -04:00
Seth Fowler
a635c53879
Bug 826093 (Part 4) - Use ClippedImage instead of ExtractFrame for border-image. r=bz
...
--HG--
extra : rebase_source : 58e1b9169e5ca0b61066c04ebb587879458bd72f
2013-04-05 14:14:53 -07:00
Seth Fowler
030590cc40
Bug 826093 (Part 3) - Use ClippedImage instead of ExtractFrame for -moz-image-rect. r=bz
...
--HG--
extra : rebase_source : 7abecbcfcda5666e6b23895dbf6cd42991044914
2013-04-05 14:14:37 -07:00
Scott Johnson
8a55c95bae
Bug 520992, Followup 1: Simplify code in nsDOMComputedStyle for box-sizing adjustment for clarity. [r=me]
2013-04-04 13:54:05 -05:00
Daniel Holbert
7979ce802f
Bug 858684: Remove HTTP(..) annotation from flexbox reftests (which only needed it for font access). r=billm
2013-04-05 12:52:30 -07:00
Nathan Froyd
e1b613b8ca
Bug 858203 - mark more reftests as needs-focus; r=dholbert
...
1. Start headless X server. Start basic window manager on it.
2. Run reftests with said X server. Take note of failing tests.
3. Disable all reftests that need focus:
find $topsrcdir -name '*.list' | xargs sed -i -e '/needs-focus/s/^/#/'
4. Make reftest.js:Focus never focus the window and always return true.
5. Start reftests with said X server again. Once the tests begin
running, start a xterm on the same X server. The window manager will
focus this xterm and will not return focus to the browser.
6. Compare now-failing tests with baseline. Mark all such tests as
needs-focus.
Comments on specific tests:
editor/reftests/
- spellcheck-input-ref.html and spellcheck-textarea-ref.html focus
input elements and don't work right without the window having focus.
- spellcheck-hyphen-invalid-ref.html and
spellcheck-hyphen-multiple-invalid-ref.html use @autofocus on
textarea.
- 674212-spellcheck.html, 338427-2.html, and
462758-grabbers-resizers.html all wait for onfocus for div elements.
layout/reftests/bugs/
- 652301-1b.html focuses a bogus element with an onfocus handler.
layout/reftests/selection/
- pseudo-element-of-native-anonymous-ref.html .select()s an <input>.
2013-04-04 15:02:30 -04:00
Nathan Froyd
4bb26ad35c
Backout 5820d44601c1 (bug 520992) for build bustage
2013-04-05 11:52:59 -04:00
Scott Johnson
9aae247ee2
Bug 520992, Followup 1: Simplify code in nsDOMComputedStyle for box-sizing adjustment for clarity. [r=me]
2013-04-04 13:54:05 -05:00
Chris Lord
4dab434b85
Bug 854099 - Make nsPresShell::ScrollToShowRect take fixed position margins into account. r=roc
...
When fixed position margins are set, it indicates that chrome obscures the
viewport. Inflate the target rect by these margins when calling
ScrollToShowRect on the root scrollable frame.
2013-04-05 14:34:56 +01:00
Robert O'Callahan
4a4175f287
Bug 841192. Part 16: Take plugin's own clipping into account when computing the region for its window. Make SortByContentOrder handle cases where display items in the same list come from different documents. r=mattwoodrow
...
--HG--
extra : rebase_source : f39deb6250c7aef71d6cd3a62df43785a3bfc7b1
2013-04-05 21:30:34 +13:00
Robert O'Callahan
865de96db7
Bug 841192. Part 15: Move DisplayListClipState clipping methods to AutoSaveRestore and AutoClipMultiple helper classes for safer usage. r=mattwoodrow
...
--HG--
extra : rebase_source : aa674d4fa93f1b7c2b4dd84ba8d888cc9f289265
2013-04-05 00:36:45 +13:00
Robert O'Callahan
04e9887192
Bug 841192. Part 14: Convert all usage of nsDisplayClip(RoundedRect) to use DisplayListClipState/DisplayItemClip. r=mattwoodrow
...
This patch does several things. Sorry.
In BuildDisplayList implementations, instead of wrapping display items in nsDisplayClip, we
push clip state onto the nsDisplayListBuilder and give the display items an
explicit clip when they're created.
In FrameLayerBuilder, we use the explicit clips we find on display items instead of
computing our own.
We remove nsDisplayClip and everything that depends on it.
We remove ExplodeAnonymousChildLists. With nsDisplayClip gone, and
nsDisplayOptionEventGrabber removed in a previous patch, there are no
anonymous child lists.
nsDisplayItem::TryMerge implementations need to make sure they have the same
clip before being merged.
I ripped out the part of PruneDisplayListForExtraPage that adjusts clip rects.
As far as I can tell, it isn't actually necessary.
--HG--
extra : rebase_source : 6f3988b385d0ac54ab26fad10b12173884441f48
2013-03-04 22:56:02 +13:00
Robert O'Callahan
29cfc08a5b
Bug 841192. Part 13: Rename nsFrame::ApplyOverflowClipping to ShouldApplyOverflowClipping. r=mattwoodrow
...
We rename nsFrame::ApplyOverflowClipping to nsFrame::ShouldApplyOverflowClipping
to reflect the fact that it doesn't cause any clipping.
--HG--
extra : rebase_source : d3bd1ef902276526b37b27c510a8d3a9db6416dc
2013-03-07 00:08:16 +13:00
Robert O'Callahan
1b7bdb4a2b
Bug 841192. Part 12: Move RoundedRectIntersectsRect from nsDisplayList.cpp to nsLayoutUtils. r=mattwoodrow
...
--HG--
extra : rebase_source : aa0ad96c363b70895b068a6d4805f9164cc03b27
2013-03-07 00:08:15 +13:00
Robert O'Callahan
95b09ae9cb
Bug 841192. Part 11: Make nsDisplayOptionEventGrabber be a non-anonymous display item list wrapper. r=mattwoodrow
...
--HG--
extra : rebase_source : c77c6d8a9385683a5659439793f397be959b277c
2013-03-07 00:08:14 +13:00
Robert O'Callahan
5566aa4cce
Bug 841192. Part 10: Add extra APIs to DisplayListClipState to constrain the current clip, and an Auto class for safe saving and restoring. r=mattwoodrow
...
--HG--
extra : rebase_source : 4ec25ababe17ac4b828a9b0a00457fe9d00b560a
2013-03-07 00:08:13 +13:00
Robert O'Callahan
4934cd57c4
Bug 841192. Part 9: Add extra APIs to DisplayItemClip to set the current state, intersect with another DisplayItemClip, test intersection with a rect, translate, and provide easy access to a DisplayItemClip object which doesn't clip anything. r=mattwoodrow
...
--HG--
extra : rebase_source : 94b03b7d828c9044ac6ebbeaf51f9f0b4bde1ce2
2013-03-07 00:08:11 +13:00
Robert O'Callahan
e5cb7ecc6e
Bug 841192. Part 8: On encountering out-of-flow frames during display list construction, save their clip rect as well as their dirty rect for later use when we traverse the placeholder. r=mattwoodrow
...
--HG--
extra : rebase_source : 3a41e2eb4940f1ae7c0748f27211a7d0cf7ad638
2013-03-04 22:56:02 +13:00
Robert O'Callahan
bc53bd4e00
Bug 841192. Part 7: Move child->MarkAbsoluteFramesForDisplayList call down. r=mattwoodrow
...
--HG--
extra : rebase_source : 5d558cfe2850ece79fedc27cd5b6a6d4bf6f7cb3
2013-03-04 22:56:01 +13:00
Robert O'Callahan
0d562762b5
Bug 841192. Part 6: Save and restore DisplayListClipState when we start building display lists for a frame. r=mattwoodrow
...
--HG--
extra : rebase_source : 9c9cb95acfb4d802ecf045e6d4c30811af647218
2013-03-04 22:56:01 +13:00
Robert O'Callahan
92f7c062ff
Bug 841192. Part 5: Add "current DisplayListClipState" to nsDisplayListBuilder. r=mattwoodrow
...
--HG--
extra : rebase_source : e8f99c3f0e6f9d516bfbed189ee42ad16cb8a6ee
2013-03-04 22:56:01 +13:00
Robert O'Callahan
2a890de2cb
Bug 841192. Part 4: Create DisplayListClipState. r=mattwoodrow
...
--HG--
extra : rebase_source : 90eb025d01cec4d3e52473ebc27ae411f42c0439
2013-03-04 22:56:00 +13:00
Robert O'Callahan
ddb47c1cef
Bug 841192. Part 3: Make DisplayItemClip members private and encapsulate them in a real API. r=mattwoodrow
...
--HG--
extra : rebase_source : d6076e123603de9a1c48681f527719cd41b09883
2013-03-04 22:56:00 +13:00
Robert O'Callahan
8d47c65ff4
Bug 841192. Part 2: Move FrameLayerBuilder::Clip to DisplayItemClip. r=mattwoodrow
...
--HG--
extra : rebase_source : 2950e5dd64e217a406ede2dc9f6682b5e0540975
2013-03-04 22:55:59 +13:00
Robert O'Callahan
6709e4eafc
Bug 841192. Part 1: Make <frame> elements behave more like <iframe>s, in particular supporting padding and borders (but not border-radius). r=mats
...
--HG--
extra : rebase_source : b49a430b7a54bc0579f4f109afa001634a2b8930
2013-04-03 00:03:03 +13:00
Ryan VanderMeulen
8a2621fb4d
Backed out changeset 8a6cacf047a1 (bug 833795)to fix bug 856083.
2013-04-05 07:55:25 -04:00
David Zbarsky
76ad7e5429
Bug 856962: Move Touch to its own file r=Ms2ger
...
--HG--
rename : content/events/src/nsDOMTouchEvent.cpp => content/events/src/Touch.cpp
rename : content/events/src/nsDOMTouchEvent.h => content/events/src/Touch.h
2013-04-05 04:49:00 -04:00
Ms2ger
d73b4fb2c0
Revert to changeset 4c45dbd81a32 to fix mochitest-chrome orange.
2013-04-05 09:40:13 +02:00
Anthony Jones
9e329a687d
Backout 8a6cacf047a1 (bug 833795) to fix bug 856083
2013-04-05 18:19:08 +13:00
Phil Ringnalda
171a6dc234
Backout 051cf1c1449c:521215a7b32e (bug 826093) for Android reftest failure
2013-04-04 21:06:58 -07:00
Nicholas Cameron
b2e31373d7
Bug 856272; don't round our mask size too early so we get a proper transform for small surfaces. r=roc
2013-04-05 16:16:38 +13:00
Seth Fowler
605c0911f3
Bug 826093 (Part 4) - Use ClippedImage instead of ExtractFrame for border-image. r=bz
2013-04-04 19:06:42 -07:00
Seth Fowler
abbdbad515
Bug 826093 (Part 3) - Use ClippedImage instead of ExtractFrame for -moz-image-rect. r=bz
2013-04-04 19:06:42 -07:00
Matt Brubeck
87b1f4184c
Back out 795e9ec338a7 (bug 856272) because of test failures
2013-04-04 17:40:16 -07:00
Nicholas Cameron
1e69a37e3a
Bug 856272; don't round our mask size too early so we get a proper transform for small surfaces. r=roc
2013-04-05 12:42:14 +13:00
Scott Johnson
0ba930f4d9
Bug 520992: Adjust computed width and height before returning to account for box-sizing. [r=bz]
2013-04-04 09:00:07 -05:00
Ms2ger
a1093b2662
Merge m-c to m-i.
2013-04-04 14:15:56 +02:00
Ms2ger
4f80fe5028
Bug 853818 - Remove HTMLMediaElement CI/nsIJSNativeInitializer; r=mounir
2013-04-04 09:04:29 +02:00
Ms2ger
3ab3b93918
Bug 841488 - Part a: Rename nsHTMLSelectElement; r=khuey
...
--HG--
rename : content/html/content/src/nsHTMLSelectElement.cpp => content/html/content/src/HTMLSelectElement.cpp
rename : content/html/content/src/nsHTMLSelectElement.h => content/html/content/src/HTMLSelectElement.h
2013-04-04 09:03:33 +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
Mounir Lamouri
a42dcdd17f
Bug 857536 - Cleanup the CSS properties applied on <input type='file'> from forms.css. r=bz
2013-04-04 10:39:29 +01:00
Matt Woodrow
9ec5ac5231
Bug 855233 - Recreate mask layers if the ContainerParameters offset changes. r=nrc
2013-04-04 15:59:24 +13:00
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
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