Commit Graph

17593 Commits

Author SHA1 Message Date
John Schoenick
de24790f09 Bug 874843 - Cleanup plugin_focus_helper test events to try and fix intermittent orange. r=roc 2013-07-22 08:55:19 -04:00
Chris Lord
8c0e0a398a Bug 886298 - Convert Layers fixed position margins to typed units. r=kats 2013-07-22 09:50:13 +01:00
Chris Lord
f520fc2e89 Bug 886298 - Add a typed-units Margin. r=kats 2013-07-22 09:50:11 +01:00
Chris Lord
5bcdfe829a Bug 886298 - Convert Layers fixed position anchor to typed units. r=kats 2013-07-22 09:50:09 +01:00
Robert O'Callahan
1151b8a8a1 Fix bustage for bug 886295 2013-07-22 16:30:18 +12:00
Robert O'Callahan
53a01fa207 Bug 886295. Backout fix for bug 880854 to fix regression. r=mats
--HG--
extra : rebase_source : 66bc089c3ece4dbe4f6533fce97a902abdd4871a
2013-07-22 14:04:46 +12:00
David Zbarsky
2c32d925c9 Bug 895116: Remove some duplicated reftests r=roc 2013-07-21 04:16:29 -07:00
L. David Baron
8d8a067407 Bug 896138 patch 9: Move RecomputePosition to a more logical place in the .cpp file, near other hint handling implementations. No review. 2013-07-20 12:14:25 -07:00
L. David Baron
27bdf37ee1 Bug 896138 patch 8: Add setter for RestyleManager::mInStyleRefresh rather than using friend. r=heycam (within review comments for patch 4)
(The friend declaration is still needed for access to RestyleElement,
which I'd rather leave private.)
2013-07-20 12:14:25 -07:00
L. David Baron
c9a702e711 Bug 896138 patch 7: Remove unused aFrameManager parameters to some functions. r=heycam 2013-07-20 12:14:25 -07:00
L. David Baron
33de67ec1b Bug 896138 patch 6: Move restyle management code from nsFrameManager to RestyleManager. r=heycam
This is the second of two big chunks of code moved into the new
RestyleManager class from another sources.

Note that the undisplayed map remains in nsFrameManager, although it
could perhaps have moved.
2013-07-20 12:14:25 -07:00
L. David Baron
0e51a6607c Bug 896138 patch 5: Expose UndisplayedNode list from nsFrameManager. r=heycam
This is needed for the following patch, which leaves the undisplayed map
in nsFrameManager rather than moving it to RestyleManager (I think one
could argue for either way, but it was easier not to move it).
2013-07-20 12:14:25 -07:00
L. David Baron
0354744354 Bug 896138 patch 4: Move restyle management code from nsCSSFrameConstructor to RestyleManager. r=heycam
This moves restyling management out of nsCSSFrameConstructor (thus
reducing its size), and keeps the restyling code closer together.

This is the first of two big chunks of code moved in this patch series.
A later patch in this series will move related code from nsFrameManager
into the same destination file.
2013-07-20 12:14:25 -07:00
L. David Baron
353bd7c399 Bug 896138 patch 3: Remove forward declaration of struct that hasn't been in this class since changeset e0df6dfdaaca (Bug 479655 part 3). r=heycam 2013-07-20 12:14:24 -07:00
L. David Baron
67d46003ba Bug 896138 patch 2: Add a RestyleManager class. r=heycam
The later patches in this series will move restyling code into this file
from nsCSSFrameConstructor and nsFrameManager.
2013-07-20 12:14:24 -07:00
L. David Baron
fd2d870c15 Bug 896138 patch 1: Move RestyleTracker and OverflowChangedTracker out of nested namespace mozilla::css (which shouldn't exist) into namespace mozilla. r=heycam 2013-07-20 12:14:24 -07:00
Jeff Muizelaar
17a884ff0f Bug 895135. Avoid normalizing gradients to a smaller interval than 0..1. r=roc
Previously if we had all the stops at the same location, we'd end up putting
them all at 0. This makes things harder for backends that implement gradients
with a lookup table because they don't have room for multiples entries at the
zero location. If instead we leave the stops at the same location on the 0-1
line we'll have a better chance of drawing them correctly.

--HG--
extra : rebase_source : d57553d90e3eef288ca41576573f1c1def97da7e
2013-07-20 08:58:10 -04:00
Nicholas Cameron
efbfb06759 Bug 700926; reshuffle background image drawing. r=roc
--HG--
extra : rebase_source : 4e4786a75cfdccc47ffa524331792eab3a7a83ea
2013-07-19 20:40:02 +12:00
Nicholas Cameron
b313671f13 Bug 700926. Refactor image sizing to be closer to the spec and not tied to backgrounds. r=roc
--HG--
extra : rebase_source : b6fa8a526f8642089d9cd6af47948006f2673ab6
2013-07-19 20:39:58 +12:00
Ryan VanderMeulen
be149b5b0f Backed out changeset 319da88f992e (bug 893298) for B2G reftest failures. 2013-07-19 13:06:10 -04:00
Reuben Morais
21dc4ba5b0 Bug 873346 - Fix sometimes-unitialized warning in nsImageMap. r=dbaron
--HG--
extra : rebase_source : dcc8013bb0542a69edb43c86fddc3f4075b4e7d5
2013-07-17 20:28:23 -07:00
Robert O'Callahan
6cb879edfa Bug 894931. Add reftest. r=dbaron 2013-07-19 11:22:40 -04:00
Simon Montagu
c63953ed61 Move the caret invalidation from CharacterDataChanged to CharacterDataWillChange so that the text doesn't change under the caret before invalidation. Bug 887631, r=ehsan 2013-07-19 17:44:46 +03:00
Mina Almasry
eea48dff05 Bug 895076 - domUtils.getCSSValuesForProperty now returns non keyword values. r=bz
This patch makes getCSSValuesForProperty return some none keyword values: auto,
normal, none, all, calc, -moz-calc, -moz-element, -moz-element-rect, rgb, hsl, -moz-rgba, -moz-hsla, rgba, hsla, cubic-bezer, and steps.
2013-07-19 10:32:52 -04:00
Bear Travis
1ac69282f5 Bug 893298 - Correctly calculate button and button child's desired height to vertically center the child. r=bz 2013-07-18 14:21:47 -07:00
Mina Almasry
ccc6254097 Bug 291082 - preventDefault now blocks keyboard navigation in select-one drop-down lists. r=mounir, r=Neil
This patch makes select drop-down lists respect preventDefault keypress event, and so the select list doesn't process them anymore.
2013-07-19 10:32:51 -04:00
Jonathan Kew
b513ee0613 bug 879963 - test for redundant downloading of a repeated @font-face resource. r=dbaron 2013-07-17 12:53:38 +01:00
Jonathan Kew
e9df9a17d2 bug 879963 - part 2 - avoid adding duplicate face entries to a user font family. r=dbaron 2013-07-17 12:53:31 +01:00
Jonathan Kew
0b100bc0d8 bug 879963 - part 1 - preserve in-progress font loaders when updating the user font set. r=dbaron 2013-07-17 12:53:24 +01:00
Matt Woodrow
91e1d99b69 Bug 889515 - Get rid of static sCompositorParent. r=nical 2013-07-11 22:32:09 -04:00
Reuben Morais
103d0db08f Backed out changeset 12a2fa9940f4 (bug 893117) 2013-07-18 20:01:54 -07:00
James Willcox
da3063ec09 Bug 888446 - Add some fuzz to make Skia canvas pass on Android r=bjacob,gwright 2013-06-28 16:01:54 -04:00
David Zbarsky
a4a1afd962 Bug 893117: Remove nsIDOMHTMLProgressElement r=peterv 2013-07-18 17:43:38 -07:00
Benoit Girard
669ab2a0ca Bug 873378 - Mark layout/reftests/bugs/433700.html as passing on mobile because of layer restrictions. ON A CLOSED TREE r=bustage 2013-07-18 19:36:17 -04:00
Benoit Girard
9cca89434d Bug 873378 - Add a limit on mobile of 20 layers per container layer. r=roc 2013-07-16 16:17:18 -04:00
Ryan VanderMeulen
ba97a4cddb Merge m-c to inbound on a CLOSED TREE. 2013-07-18 14:53:05 -04:00
Robert O'Callahan
9ae1116bfe Bug 870941. Make scrollframes put scrollbars etc above content in z-order if they're disappering scrollbars. r=mattwoodrow 2013-07-18 10:10:13 -04:00
L. David Baron
c157fded2b Back out changeset e8bf739addfa (bug 868498 patch 2) for causing bug 894931. 2013-07-18 01:09:16 -07:00
Seth Fowler
38dcd3e297 Bug 885939 (Part 3) - Disable SVG reftests involving extreme viewboxes that fail due to integer overflow. r=me 2013-07-16 15:41:36 -04:00
Seth Fowler
939a7f10c0 Bug 885939 (Part 2) - Add reftests for SVG image stretching and scaling. r=dholbert 2013-07-16 15:41:33 -04:00
Ryan VanderMeulen
48ed80d20b Bug 877690 - Fix typo in test. DONTBUILD 2013-07-16 13:52:01 -04:00
Ehsan Akhgari
c069003a4b Bug 895141 - Remove useless prlong.h inclusions from the tree; r=jcranmer 2013-07-18 12:06:38 -04:00
Blake Kaplan
9bff37c4e0 Bug 895129 - Fix a typo in the original patch: we should be ignoring xul:observes. r=sicking 2013-07-17 16:20:37 -07:00
Ed Morley
6ef7bbdfae Merge mozilla-central and inbound 2013-07-18 15:01:47 +01:00
Ed Morley
eccde48b78 Backed out changeset f713a828fe36 (bug 894931) since the backout it performed was already landed on mozilla-central (and wasn't identical) 2013-07-18 15:00:36 +01:00
Graeme McCutcheon
b921685b88 Bug 819930 - Part 1: Implement an API for emulating CSS media types. r=dbaron 2013-07-17 16:39:19 +01:00
David Zbarsky
04e2cb2e9e Bug 892853 - Remove some xpidl for SVG r=Ms2ger 2013-07-17 23:54:09 -07:00
Markus Stange
3e8b8685fb Bug 894905 - Create a separate nsDisplayItem subclass for -moz-appearance backgrounds. r=roc 2013-07-18 08:34:58 +02:00
Markus Stange
b62c7b8f7a Bug 894905 - Make AppendBackgroundItemsToTop return a bool instead of an nsDisplayBackgroundImage. r=roc 2013-07-18 08:34:10 +02:00
Stephen Pohl
cc7c420422 Bug 894931: Revert e8bf739addfa from bug 868498 to ensure proper layout of frames with position:static, position:relative and position:absolute. r=roc 2013-07-18 00:20:16 -04:00