Timothy Nikkel
472d6bcca9
Bug 1076447. When building the display list for scrollbars and we have a display port just use the whole scrollbar rect as the dirty rect. r=mattwoodrow
...
When we have a display port the dirty rect for root scroll frames is going to be the display port already when it is passed in. The display port can contain a somewhat arbitrary area of the scroll frame, there is no reason is has to include the scrollbars, which are laid out at the desktop scrollport (and adjusted as necessary in the compositor).
As well as BuildDisplayListForChild, we need the dirty rect to be set for the creation of the nsDisplayWrapList or nsDisplayOwnLayer in AppendToTop.
2014-10-09 15:10:01 -05:00
Jon Morton
1700296f02
Bug 979835: Port BoxObject and its subclasses to WebIDL. r=khuey sr=bz
...
--HG--
rename : layout/xul/nsIPopupBoxObject.idl => dom/webidl/PopupBoxObject.webidl
rename : layout/xul/tree/nsITreeBoxObject.idl => dom/webidl/TreeBoxObject.webidl
rename : layout/xul/nsBoxObject.cpp => layout/xul/BoxObject.cpp
rename : layout/xul/nsBoxObject.h => layout/xul/BoxObject.h
rename : layout/xul/nsListBoxObject.cpp => layout/xul/ListBoxObject.cpp
rename : layout/xul/nsMenuBoxObject.cpp => layout/xul/MenuBoxObject.cpp
rename : layout/xul/nsPopupBoxObject.cpp => layout/xul/PopupBoxObject.cpp
2014-10-14 13:15:21 -07:00
Ted Mielczarek
9ab511ff7d
bug 915865 - port reftest to mozbase. r=ahal
2014-07-29 11:47:50 -04:00
Kearwood (Kip) Gilbert
6d7dd01a0b
Bug 1074165 - Prevent out of range scrolling in nsListboxBodyFrame. r=mats
...
- nsListBoxBodyFrame::UpdateIndex now uses the position returned by
nsScrollBarFrame::MoveToNewPosition to calculate the new row position.
- Code used to calculate the row position from the scroll position has been
moved to a new function, ToRowIndex.
- nsListBoxBodyFrame::ThumbMoved has been updated to use ToRowIndex.
2014-10-09 12:14:26 +00:00
Carsten "Tomcat" Book
02cf7c3509
Backed out changeset ccde95bd3c7e (bug 1074165) for bustage
2014-10-09 10:59:44 +02:00
Kearwood (Kip) Gilbert
1e0fdf9063
Bug 1074165 - Prevent out of range scrolling in nsListboxBodyFrame. r=mats
...
- nsListBoxBodyFrame::UpdateIndex now uses the position returned by
nsScrollBarFrame::MoveToNewPosition to calculate the new row position.
- Code used to calculate the row position from the scroll position has been
moved to a new function, ComputeNewIndex.
- nsListBoxBodyFrame::ThumbMoved has been updated to use ComputeNewIndex.
2014-10-08 17:14:00 +02:00
Jonathan Kew
a400b8717e
Bug 1080174 - Do not send Accept-Encoding:gzip,deflate when requesting WOFF or WOFF2 webfonts. r=mcmanus
2014-10-09 08:42:51 +01:00
Jonathan Kew
dcc3e798ae
Bug 1077312 - Clean up Accept headers on @font-face HTTP requests. r=mcmanus
2014-10-09 08:42:02 +01:00
John Daggett
f1655f6098
Bug 1079422 - eliminate the ptr to FontFace within @font-face rules. r=heycam
2014-10-09 16:03:56 +09:00
John Daggett
8e365c0de8
Bug 1079422 - backout changeset 7fceb8bf84d2. r=heycam
2014-10-09 16:03:28 +09:00
Kartikaya Gupta
6a1b9bac86
Bug 1078316 - Tweaks for root-frame overlay scrollbars so they don't oscillate while panning around. r=botond,tn
2014-10-08 22:56:38 -04:00
Lebedev Maksim
49e9bd979c
Bug 1073563 - The lostpointercapture event must be dispatched before any other pointer events. r=smaug
2014-10-08 16:27:34 -07:00
L. David Baron
a438a91edc
Bug 1047928 patch 14 - Explain why changes to theme require rerunning selector matching. r=bzbarsky
2014-10-08 14:27:04 -07:00
L. David Baron
b049f8117f
Bug 1047928 patch 13 - Don't rerun selector matching for changes to zoom, min font size, or app units per dev pixel. r=bzbarsky
2014-10-08 14:27:04 -07:00
L. David Baron
6cd790c1a2
Bug 1047928 patch 10 - Pass restyle hint to nsPresContext::MediaFeatureValuesChanged. r=bzbarsky
...
This patch is not intended to contain any changes in behavior.
The behavior changes in these callers are in the following 4 patches.
2014-10-08 14:27:03 -07:00
L. David Baron
ec4c95d775
Bug 1047928 patch 9 - Don't rerun selector matching for viewport units. r=bzbarsky
2014-10-08 14:27:03 -07:00
L. David Baron
58593a97a3
Bug 1047928 patch 8 - Don't rerun selector matching when @counter-style rules change. r=bzbarsky
2014-10-08 14:27:03 -07:00
L. David Baron
0dc72db2ca
Bug 1047928 patch 7 - Don't rerun selector matching when user font set is updated. r=bzbarsky
2014-10-08 14:27:03 -07:00
L. David Baron
9d6f04553e
Bug 1047928 patch 6 - Pass restyle hint to nsPresContext::PostRebuildAllStyleDataEvent. r=bzbarsky
...
This patch is not intended to contain any changes in behavior.
The behavior changes for these callers are in the following 2 patches.
2014-10-08 14:27:02 -07:00
L. David Baron
33003bece1
Bug 1047928 patch 5 - Pass restyle hint to RestyleManager::PostRebuildAllStyleDataEvent. r=bzbarsky
...
This patch is not intended to contain any changes in behavior.
2014-10-08 14:27:02 -07:00
L. David Baron
8e934c3f37
Bug 1047928 patch 4a - Explain why we need to rerun selector matching for preference changes. r=bzbarsky
2014-10-08 14:27:02 -07:00
L. David Baron
f8ea5322c5
Bug 1047928 patch 4 - Don't rerun selector matching for charset or system color changes. r=bzbarsky
2014-10-08 14:26:59 -07:00
L. David Baron
396b48143a
Bug 1047928 patch 3 - Pass restyle hint to nsPresContext::RebuildAllStyleData. r=bzbarsky
...
This patch is not intended to contain any changes in behavior.
The behavior changes for these callers are in the following patch.
2014-10-08 14:26:57 -07:00
L. David Baron
acfd59047e
Bug 1047928 patch 2 - Pass restyle hint to RestyleManager::RebuildAllStyleData. r=bzbarsky
...
This patch is not intended to contain any changes in behavior.
2014-10-08 14:26:57 -07:00
L. David Baron
072d1af872
Bug 1047928 patch 1 - Add more comments explaining eRestyle_Subtree vs. eRestyle_ForceDescendants. r=bzbarsky
2014-10-08 14:26:57 -07:00
Eric Rahm
7fffd05532
Bug 806819 - Part 4: Add files that were excluded from unified builds back in. r=ehsan
2014-10-08 13:19:14 -07:00
Eric Rahm
8d715a7fe4
Bug 806819 - Part 3: Remove redundant FORCE_PR_LOG entries. r=ehsan
2014-10-08 13:17:32 -07:00
Andrea Marchesini
5ee327d0bc
Bug 1047483 - patch 4 - Removing nsDOMBlobBuilder, r=ehsan
...
--HG--
rename : content/base/src/nsDOMBlobBuilder.cpp => content/base/src/MultipartFileImpl.cpp
rename : content/base/src/nsDOMBlobBuilder.h => content/base/src/MultipartFileImpl.h
2014-10-08 17:15:23 +01:00
Andrea Marchesini
7491bee8c3
Bug 1047483 - patch 1 - Porting DOMFile/DOMBlob to WebIDL, r=bz, r=bkelly, r=bholley
2014-10-08 17:15:22 +01:00
Jonathan Kew
84369a0e27
Bug 1074735 pt 2 - Support drawing CSS text decorations (underline, overline, strikeout) on vertical text frames. r=smontagu
2014-10-08 10:32:55 +01:00
Jonathan Kew
b3f3928b2a
Bug 1079314 - Remove the mWritingMode field from logical-coordinate objects in non-debug builds. r=smontagu
2014-10-08 10:32:50 +01:00
Carsten "Tomcat" Book
bd22f2fcfd
Backed out changeset b818ba8aabc2 (bug 1079314) for reftest failures on a CLOSED TREE
2014-10-08 13:07:39 +02:00
Carsten "Tomcat" Book
18d99025c1
Backed out changeset 32c4d5043b18 (bug 1074735)
2014-10-08 13:06:51 +02:00
Jonathan Kew
45724811c5
Bug 1074735 pt 2 - Support drawing CSS text decorations (underline, overline, strikeout) on vertical text frames. r=smontagu
2014-10-08 10:32:55 +01:00
Jonathan Kew
846b797e54
Bug 1079314 - Remove the mWritingMode field from logical-coordinate objects in non-debug builds. r=smontagu
2014-10-08 10:32:50 +01:00
Morris Tseng
b0e279eeeb
Bug 1062468 - Reset transform-style when entering fullscreen mode. r=bz
2014-10-06 02:46:00 +02:00
Jonathan Watt
c5ae349afc
Bug 1077961, part 2 - Stop doing lots of unnecessary and expensive Matrix4x4 multiplication. r=Bas
2014-10-08 04:43:00 +01:00
Daniel Holbert
c4a9cb7f74
Bug 978044: Center print-previewed pages inside the viewport. r=mats
2014-10-07 18:37:50 -07:00
Ehsan Akhgari
ee4122c03a
Bug 1079324 - Fix some more bad implicit constructors in layout; r=dholbert
2014-09-24 09:16:53 -04:00
Ryan VanderMeulen
cd3e8a6f73
Backed out 7 changesets (bug 1047483, bug 1079301, bug 1079335) for webplatform test failures.
...
Backed out changeset 7d06b68c44d0 (bug 1079335)
Backed out changeset 92030169528e (bug 1079301)
Backed out changeset c09d7f95554a (bug 1047483)
Backed out changeset c199f1057d7e (bug 1047483)
Backed out changeset 18830d07884c (bug 1047483)
Backed out changeset e087289ccfbb (bug 1047483)
Backed out changeset 6238ff5d3ed0 (bug 1047483)
CLOSED TREE
--HG--
rename : content/base/public/File.h => content/base/public/nsDOMFile.h
rename : content/base/src/MultipartFileImpl.cpp => content/base/src/nsDOMBlobBuilder.cpp
rename : content/base/src/MultipartFileImpl.h => content/base/src/nsDOMBlobBuilder.h
rename : content/base/src/File.cpp => content/base/src/nsDOMFile.cpp
2014-10-07 13:16:11 -04:00
Andrea Marchesini
b0680af5f4
Bug 1047483 - patch 4 - Removing nsDOMBlobBuilder, r=ehsan
...
--HG--
rename : content/base/src/nsDOMBlobBuilder.cpp => content/base/src/MultipartFileImpl.cpp
rename : content/base/src/nsDOMBlobBuilder.h => content/base/src/MultipartFileImpl.h
2014-10-07 15:20:57 +01:00
Andrea Marchesini
d272279126
Bug 1047483 - patch 1 - Porting DOMFile/DOMBlob to WebIDL, r=bz, r=bkelly, r=bholley
2014-10-07 15:20:52 +01:00
Ting-Yu Lin
ff1b58b09c
Bug 1078991 - Add TouchCaret::GetCaretFocusFrame(). r=roc
2014-10-06 21:02:00 -04:00
Peter Van der Beken
dcda2ba9bb
Bug 1078744 - Replace SetIsDOMBinding with SetIsNonDOMBinding, remove nsWrapperCache::SetIsDOMBinding. r=bz.
...
--HG--
extra : rebase_source : 89c476cd9436530b2df5acc903909e34188417a0
2014-10-07 11:44:49 +02:00
Masayuki Nakano
17d8fb7e4a
Bug 960871 part.11 Rename EventUtils.synthesizeText() to EventUtils.synthesizeCompositionChange() r=smaug
2014-10-07 19:01:50 +09:00
Masayuki Nakano
2be456d529
Bug 960871 part.10 Some methods which took both WidgetCompositionEvent and WidgetTextEvent should take only WidgetCompositionEvent r=smaug
2014-10-07 19:01:49 +09:00
Masayuki Nakano
9011740f12
Bug 960871 part.6 Use WidgetCompositionEvent for NS_COMPOSITION_CHANGE instead of WidgetTextEvent r=smaug
2014-10-07 19:01:48 +09:00
Wes Kocher
445e1466e9
Backed out 5 changesets (bug 806819) for WinXP test failures on a CLOSED TREE
...
Backed out changeset 009ae35b0c67 (bug 806819)
Backed out changeset 5a57f87f5061 (bug 806819)
Backed out changeset f06cd735b5b3 (bug 806819)
Backed out changeset e25a2a8d4af4 (bug 806819)
Backed out changeset 70a167982c3f (bug 806819)
2014-10-06 16:32:50 -07:00
Eric Rahm
53a247fb00
Bug 806819 - Part 4: Add files that were excluded from unified builds back in. r=ehsan
...
--HG--
extra : rebase_source : 49a3f57d94fc94702f1604175c4e206091b67197
2014-10-06 13:11:24 -07:00
Eric Rahm
80d2b8bba6
Bug 806819 - Part 3: Remove redundant FORCE_PR_LOG entries. r=ehsan
...
--HG--
extra : rebase_source : c96eea1c12ea8c19314393f0e8b4b57a4316a61d
2014-10-06 13:08:20 -07:00
Andrew McCreight
f3d650b7c0
Bug 1076969
- processLeakLog should come up with reasonable defaults itself. r=jmaher
...
Instead of grabbing attributes off options at every call site, pass
in the options object to processLeakLog, and attempt to get the attributes
there. If not present, use a restrictive default value.
This will prevent silent harness failures if one of the many ways to invoke
processLeakLog fails to set up these options, and makes it so they
don't have to set it up if they don't care.
2014-10-06 14:23:17 -07:00
Jonathan Kew
244c38ec06
Bug 1077371 - Remove unnecessary null-checks on the result of gfxFontGroup::GetFirstValidFont. r=jdaggett
2014-10-06 15:14:49 +01:00
Robert Longson
45c6ebc582
Bug 1077993 - make changes to clip-rule work. r=jwatt
2014-10-06 14:19:14 +01:00
Cameron McCormack
02bcf62c99
Bug 1076803 - Disable subtest 18 in test_font_loading_api.html for intermittent timeouts. r=philor
2014-10-06 10:17:06 +11:00
Cameron McCormack
c47631b0ac
Bug 1077746 - Move FontFace pointer from nsCSSFontFaceRule to a table on FontFaceSet. r=jdaggett
2014-10-06 15:29:35 +11:00
Simon Montagu
0998e65846
Bug 1067268: don't mix physical and logical coordinates when calculating width to clear past floats, r=jfkthame
2014-10-04 23:03:00 -07:00
Simon Montagu
35a85216a9
Test for bug 1067268, r=jfkthame
2014-10-04 23:02:37 -07:00
Simon Montagu
ceafcb2a98
Bug 1076986: make LogicalMargin and LogicalRect's IsEmpty the same as nsMargin and nsRect, r=jfkthame
2014-10-04 23:02:36 -07:00
L. David Baron
57d0c0d658
Bug 1077849 - Use eRestyle_ForceDescendants for all cases of rebuilding the rule tree. r=heycam
...
Bug 931668 added the eRestyle_ForceDescendants case for all cases that
go through RebuildAllStyleData, but there is another case that calls
DoRebuildAllStyleData directly, and we should cover that too.
This is needed because when we're rebuilding the rule tree, we need to
create new style contexts for all frames.
I don't know of any bugs caused by this, but it seems worth fixing.
2014-10-04 16:59:47 -07:00
Trevor Saunders
e3cc11d3a8
no bug - fix nullptr to bool conversion in FontFaceSet.cpp r=themaid
2014-10-04 11:06:21 -04:00
Jonathan Watt
2c5b4e5e64
Bug 932762, part 2 - Make SVG elements cache their Moz2D path data to speed up rendering, hit-testing, clipPath clipping, bbox calculations and animation/text along a path. r=longsonr
2014-10-04 12:13:30 +01:00
Jonathan Watt
f8ca225864
Bug 1077745 - Get rid of the scaling hack and GetCanvasTM() call in nsSVGPathGeometryFrame::GetBBoxContribution. r=longsonr
2014-10-04 12:13:30 +01:00
Jonathan Watt
bb8507bc95
Bug 1077120 - Remove gfxContext::HasError(). r=Bas
2014-10-04 12:13:29 +01:00
Jonathan Kew
ff12e66612
Bug 1064737 pt 4 - Simple reftest for a WOFF2 font. r=jdaggett
2014-10-04 11:47:11 +01:00
Jonathan Kew
21fd93a194
Bug 1064737 pt 3 - Read metadata from a WOFF2 font if present. r=jdaggett
2014-10-04 11:46:54 +01:00
Jonathan Kew
0d2cfaf334
Bug 1064737 pt 2 - Support for WOFF2 as a webfont format. r=jdaggett
2014-10-04 11:36:05 +01:00
William Chen
11d279ad66
Bug 1076784 - Don't remove binding when shadow root host is removed from tree. r=smaug
2014-10-03 18:32:05 -07:00
Ryan VanderMeulen
288c023fca
Backed out changeset cb3fd4a4b7c5 (bug 771043) for Android mochitest-8 failures.
...
CLOSED TREE
2014-10-03 15:26:06 -04:00
Boris Zbarsky
6da972fd5b
Bug 771043. Move MediaQueryList tracking from the prescontext to the document, so they will correctly outlive prescontext changes. r=dbaron
2014-10-03 14:15:25 -04:00
Kartikaya Gupta
282f0f98b2
Bug 1074401 - Ensure that the repaint request is always dispatched from the APZ on the main thread. r=botond
2014-10-03 13:39:37 -04:00
Max Vujovic
a2d2bc4354
Bug 913990 - Test 'feed:' filter URL as crashtest instead of computed style test. r=dbaron
2014-10-03 10:06:07 -07:00
Jonathan Kew
1bb9114d8c
Bug 1077139 - Use the vertical-text I-beam cursor when the writing mode is vertical. r=dbaron
2014-10-03 13:47:26 +01:00
Jonathan Watt
aca1052ad2
Bug 1075399 - Temporary follow-up to disable test while I get fuzzing right. r=orange CLOSED TREE
2014-10-03 11:02:23 +01:00
Ed Morley
6c9d66f653
Backed out changeset a2192165100c (bug 1041180) for xpcshell failures; CLOSED TREE
2014-10-03 10:12:53 +01:00
Jonathan Watt
5e385ae807
Bug 934183, part 2 - Remove lots of old Thebes code paths from the SVG code (GeneratePath and all the nsSVGPathGeometryElement::ConstructPath implementations). r=longsonr
2014-10-03 09:50:44 +01:00
Jonathan Watt
20581c3d1f
Bug 934183, part 1 - Convert the bounds calculation code for SVG geometry to use Moz2D Path. r=longsonr
2014-10-03 09:50:43 +01:00
Jonathan Watt
16d9ba973d
Bug 1075399, part 4 - Don't make an exception for arcs when simulating zero length SVG subpaths. r=longsonr
2014-10-03 09:50:43 +01:00
Jonathan Watt
6ca2a09abe
Bug 1075399, part 2 - Add more reftests for zero-length SVG subpaths. r=longsonr
2014-10-03 09:50:43 +01:00
Jonathan Watt
3cc35be779
Bug 1075399, part 1 - Simulate zero length SVG subpath for stroke-linecap=round. r=longsonr
2014-10-03 09:50:42 +01:00
Christoph Kerschbaumer
b86cc609d3
Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst)
2014-10-02 23:34:30 -07:00
Masayuki Nakano
5825b07b8e
Bug 975383 part.9 Remove compositionupdate event dispatchers from all tests r=smaug
2014-10-03 15:33:50 +09:00
L. David Baron
f8fdaf03f2
Bug 1075137 patch 7 - Remove old IsProcessingRestyles and IsProcessingAnimationStyleChange booleans. r=birtles
2014-10-02 21:53:24 -07:00
L. David Baron
988fa3f5c4
Bug 1075137 patch 6 - Convert remaining IsProcessingAnimationStyleChange calls to call the method on the RestyleManager. r=birtles
2014-10-02 21:53:24 -07:00
L. David Baron
313d94e669
Bug 1075137 patch 5 - Add new boolean to RestyleManager for whether we're currently processing animation restyles. r=birtles
...
This is just moving one bit of data from the pres context without any
logic change. But given the other refactoring, it seems to make more
sense here now.
2014-10-02 21:53:24 -07:00
L. David Baron
9e7caa1603
Bug 1075137 patch 4 - Convert callers from IsProcessingRestyles/IsProcessingAnimationStyleChange to SkipAnimationRules/PostAnimationRestyles. r=birtles
2014-10-02 21:53:24 -07:00
L. David Baron
5975be57fc
Bug 1075137 patch 3 - Add PresContext() method to nsRuleWalker. r=birtles
2014-10-02 21:53:23 -07:00
L. David Baron
cafe8a4951
Bug 1075137 patch 2 - Add new booleans for whether to skip animation styles and whether to post animation restyles. r=birtles
2014-10-02 21:53:23 -07:00
L. David Baron
dcaec160c5
Bug 1075137 patch 1 - Convert one use of IsProcessingRestyles that doesn't follow normal pattern to a debug-only member on the restyle manager. r=birtles
2014-10-02 21:53:23 -07:00
L. David Baron
e9b440bf80
Bug 1075082 patch 2 - Add assertion in destructor of style contexts that should have been destroyed earlier. r=birtles
2014-10-02 21:53:23 -07:00
L. David Baron
fbb6266743
Bug 1075082 patch 1 - Add a helper function for the root of the rule tree. r=birtles
2014-10-02 21:53:22 -07:00
L. David Baron
a1236de6d5
Bug 1074634 - Don't overwrite eRestyleResult_ContinueAndForceDescendants with eRestyleResult_Continue. r=heycam
2014-10-02 21:53:22 -07:00
Xidorn Quan
addcb0d937
Bug 1075336 - Fix lifetime management of CounterStyle. r=dbaron
...
--HG--
extra : rebase_source : c9fe6b023024c11147372cd4a9d7f25fdfaabed8
2014-10-02 14:29:04 -04:00
Andrew McCreight
e71a398f84
Bug 1068276, part 4 - Fix indentation of leak option setting in reftests. r=ted
2014-10-02 08:42:11 -07:00
Andrew McCreight
687f957f6f
Bug 1068276, part 3 - Set some defaults for leak parameters on B2G reftests. r=jmaher
2014-10-02 08:40:21 -07:00
Mats Palmgren
3c17a458fe
Bug 649849 - part 1b, Remove the default -moz-appearance:none for <select> in Fennec theme. r=wjohnston@mozilla.com
2014-10-02 13:05:16 +00:00
Mats Palmgren
7b738252f8
Bug 649849, part 1 - Make -moz-appearance:none on a combobox remove the dropdown button (for WebKit compat). r=roc
2014-10-02 13:05:15 +00:00
Anuj Agarwal
b7608857c2
Bug 791777 - Replaced NS_finite() with mozilla::IsFinite. r=froydnj
2014-10-01 11:26:00 +02:00
David Zbarsky
fd4c921077
Bug 1067701 - Implement Animation.target; r=birtles, r=bz
2014-10-02 15:14:15 +09:00
Brian Birtles
cf85a7879b
Bug 1046055 part 5 - Check for current animations from ActiveLayerTracker::IsStyleAnimated; r=dbaron
...
Within the context of determining of a layer is active, we should only consider
an element animated if it has an animation that is yet to finish, i.e. a current
animation. Animations that have finished should not cause a layer to be active
(even if they are applying a forwards fill).
This patch makes that change by calling
nsLayoutUtils::HasCurrentAnimationsForProperty instead of
nsLayoutUtils::HasAnimations.
2014-10-02 15:14:14 +09:00
Brian Birtles
d77b5db74f
Bug 1046055 part 4 - Add HasCurrentAnimationsForProperty to nsLayoutUtils; r=dbaron
...
This patch adds a method to nsLayoutUtils, alongside the existing
HasCurrentAnimations, that returns true if there exists an unfinished animation
on the element for the specified property.
2014-10-02 15:14:14 +09:00