Граф коммитов

37272 Коммитов

Автор SHA1 Сообщение Дата
Masayuki Nakano 71f4fb98cb Bug 501496 part.10 nsXULPopupManager should handle keydown events for non-printable keys r=enndeakin 2013-07-25 15:09:29 +09:00
Masayuki Nakano ab8eca4513 Bug 501496 part.9 EventUtils and some tests shouldn't synthesize keypress event if precede keydown event is consumed r=smaug 2013-07-25 15:09:29 +09:00
John Daggett 9903bd2223 Bug 886691 - switch from references to pointers for values within GetValue. r=dbaron 2013-07-25 15:02:15 +09:00
John Daggett e2baf5a4ad Bug 886691 - make tests and serialization code sensitive to font features pref. r=dbaron 2013-07-25 15:01:41 +09:00
Cameron McCormack 1858ab68cb Bug 890773 - Compute -x-text-zoom properly. r=dbaron 2013-07-25 10:42:11 +10:00
Mats Palmgren e677cfd801 Bug 303896 - Refactor AttributeChanged() to follow code style and make it easier to read (no functional change). r=ehsan 2013-07-24 23:03:39 +00:00
Mats Palmgren 127dd8ead1 Bug 303896 - Turn on displaying the selection when the 'disabled' attr is removed if the element has focus. r=ehsan 2013-07-24 23:03:38 +00:00
Max Vujovic 0bd2b965c3 Bug 895182 - [CSS Filters] Implement parsing for blur, brightness, contrast, grayscale, invert, opacity, saturate, sepia. Co-authored with Dirk Schulze (krit). r=heycam 2013-07-22 15:08:33 -07:00
Ryan VanderMeulen 6e81109389 Backed out 6 changesets (bug 743402) for reftest failures on a CLOSED TREE.
Backed out changeset 19848fff857e (bug 743402)
Backed out changeset 049168537ae0 (bug 743402)
Backed out changeset 3098fea37f2d (bug 743402)
Backed out changeset ada93e976dca (bug 743402)
Backed out changeset c7907c54187f (bug 743402)
Backed out changeset 2edbbf6440c4 (bug 743402)
2013-07-24 15:14:04 -04:00
Scott Johnson 98b8d3c09a Bug 743402, Part 6: Add unit tests for functionality of bug 743402. [r=roc] 2013-07-24 12:47:24 -05:00
Scott Johnson 11823f14fd Bug 743402, Part 5: Utilize new computed height calculations in nsSplittableFrame to correctly compute the height of a column set frame in paginated context. [r=roc] 2013-07-24 12:47:21 -05:00
Scott Johnson e963713207 Bug 743402, Part 4: Refactor ApplySkipSides() and GetSkipSides() to return the correct value during reflow by adding an optional nsHTMLReflowState parameter. [r=roc] 2013-07-24 12:47:17 -05:00
Scott Johnson 495d934c37 Bug 743402, Part 3: Refactor nsBlockFrame to utilize new calculations for paginated content. [r=roc] 2013-07-24 12:47:12 -05:00
Scott Johnson 21103de30a Bug 743402, Part 2: Pull GetEffectiveComputedHeight() into nsSplittableFrame and refactor it to utilize consumed height for paginated content. [r=roc] 2013-07-24 12:47:06 -05:00
Scott Johnson 528cb9f1bf Bug 743402, Part 1: Add a GetConsumedHeight() function to nsSplittableFrame in order to retrieve the portion of the computed height that was consumed by previous-in-flows. [r=roc] 2013-07-24 12:47:01 -05:00
Ryan VanderMeulen 8670499913 Merge m-c to inbound. 2013-07-25 21:59:02 -04:00
Stephen Pohl ad84285dd7 Bug 896443: Fix the z-ordering of overlay scrollbars to make them appear on top of content with z-index > 0. r=roc 2013-07-25 21:31:35 -04:00
John Schoenick fdf8c391ef Bug 874843 - Fix typo in test r=typo 2013-07-25 13:20:42 -07:00
Eitan Isaacson 7ed41ff82b Bug 895711 - Mark new touches in touchstart as changed in HandleEventInner. r=smaug 2013-07-25 08:52:29 -07:00
Scott Johnson dc45ee09d2 Bug 743402, Part 6: Add unit tests for functionality of bug 743402. [r=roc] 2013-07-25 10:34:38 -05:00
Scott Johnson 781431d8a2 Bug 743402, Part 5: Utilize new computed height calculations in nsSplittableFrame to correctly compute the height of a column set frame in paginated context. [r=roc] 2013-07-25 10:34:31 -05:00
Scott Johnson a1817949ef Bug 743402, Part 4: Refactor ApplySkipSides() and GetSkipSides() to return the correct value during reflow by adding an optional nsHTMLReflowState parameter. [r=roc] 2013-07-25 10:34:27 -05:00
Scott Johnson 97549e0acc Bug 743402, Part 3: Refactor nsBlockFrame to utilize new calculations for paginated content. [r=roc] 2013-07-25 10:34:22 -05:00
Scott Johnson b806b3e3c9 Bug 743402, Part 2: Pull GetEffectiveComputedHeight() into nsSplittableFrame and refactor it to utilize consumed height for paginated content. [r=roc] 2013-07-25 10:34:16 -05:00
Scott Johnson 997046b750 Bug 743402, Part 1: Add a GetConsumedHeight() function to nsSplittableFrame in order to retrieve the portion of the computed height that was consumed by previous-in-flows. [r=roc] 2013-07-25 10:34:12 -05:00
Simon Sapin 3e8f5c2eec Bug 887741 - Allow CSS at-rules in declaration lists. r=dbaron 2013-07-25 09:43:29 -04:00
Mina Almasry fd8eb7c308 Bug 734861 - Expose stylesheets, including UA, for a document via inIDOMUtils. r=bz
This patch adds an API to inspector utils that gets all stylesheets associated with a document, including UA sheets.
2013-07-25 09:31:14 -04:00
Xidorn Quan b4cc4e0631 Bug 786254 - SVG effects rendering doesn't pixel snap, causing faint vertical lines appear on some tabs. r=roc 2013-07-24 09:03:11 -04:00
Robert O'Callahan b8fb5a73f3 Bug 889219. Part 5: Remove nsSimplePageSequenceFrame::mCurrentPageFrame. r=mats
Holding onto frame pointers is potentially dangerous. It's not really necessary
to do so here.

--HG--
extra : rebase_source : d92798b59cd7b3032a2bb77a80f00ff590b2213a
2013-07-24 23:48:55 +12:00
Robert O'Callahan afa626c307 Bug 889219. Part 4: Stop heap-allocating nsSharedPageData::mHeadFootFont. r=mats
--HG--
extra : rebase_source : beaa74d12c905b4737ab3b6e736f8e5ad90942bb
2013-07-24 23:48:55 +12:00
Robert O'Callahan 4514c1413f Bug 889219. Part 3: Clean up string usage for printing date/time headers. r=mats
--HG--
extra : rebase_source : 019de7d34f60f354a1ddd943d62c0656628f6263
2013-07-24 23:48:54 +12:00
Robert O'Callahan 8ba12326e1 Bug 889219. Part 2: Clean up string usage for page numbers/formats. r=mats
--HG--
extra : rebase_source : 8088904e1f0d552368eb003cff6982710f6c9276
2013-07-24 23:48:54 +12:00
Robert O'Callahan 9dfcbeeab2 Bug 889219. Part 1: Clean up nsPrintEngine string usage for document titles/URLs. r=mats
--HG--
extra : rebase_source : 17a67d9956e9df9e19c86ea70ac3045e636c49ae
2013-07-24 23:48:37 +12:00
Cameron McCormack 5ced2fb4ac Bug 897342 - Don't try to adjust text for textLength="" when there is no opportunity to do so. r=jwatt 2013-07-24 21:47:07 +10:00
Ms2ger 3c48262d76 Merge m-c to inbound. 2013-07-24 11:53:22 +02:00
Ms2ger fe97b4a6ec Bug 896261 - Remove aAppendedThemedBackground arguments from nsDisplayBackgroundImage::AppendBackgroundItemsToTop, nsFrame::DisplayBackgroundUnconditional; r=roc 2013-07-24 09:38:55 +02:00
Ms2ger 59ef6e7599 Bug 893925 - Cleanup nsILayoutHistoryState and nsGenericHTMLElement::GetPrimaryPresState; r=smaug 2013-07-24 09:38:13 +02:00
Ms2ger 3a8f212186 Bug 893909 - Part i: Cleanup SetOptionsSelectedByIndex; r=dzbarsky 2013-07-24 09:37:14 +02:00
Ms2ger 5e67b6622c Bug 892489 - Implement the WebIDL API for CSSRuleList; r=bz 2013-07-24 09:27:17 +02:00
Gavin Sharp 9065e1e42c Bug 870100 followup: disable the thumbnail service in reftest/crashtest as well, a=RyanVM for CLOSED TREE 2013-07-23 11:16:25 -07:00
Ryan VanderMeulen 5ba309bbd0 Backed out changeset 1e1b4d5c51b7 (bug 896250) to see if it fixes the Android reftest orange.
CLOSED TREE
2013-07-23 14:06:40 -04:00
Jesse Ruderman 39339b3d6c Detab layout/reftests/bidi/dirAuto/setDir.js. (No bug, DONTBUILD) 2013-07-23 22:58:58 -07:00
Cameron McCormack 30c78e5711 Bug 895311 - Avoid calling ScheduleReflowSVGNonDisplayText when constructing frames during reflow. r=jwatt 2013-07-24 15:13:54 +10:00
David Zbarsky f6f620d05f Bug 894646 - Various dom deCOM cleanups r=Ms2ger 2013-07-23 16:39:17 -07:00
Bear Travis a03478bd24 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
Ed Morley ef5715c092 Backed out changeset f24d81b85929 (bug 895182) for Windows build failures on a CLOSED TREE 2013-07-23 16:36:45 +01:00
Ryan VanderMeulen 8f59ffbfb8 Backed out changeset 83f4f6f435cf (bug 734861) for mochitest-5 timeouts. 2013-07-23 11:13:50 -04:00
Milan Sreckovic 4958630a4c Bug 896250 - Return the max number, not the flag checking if the number was set. r=joe 2013-07-22 17:05:21 -04:00
Max Vujovic 0117d6e2f8 Bug 895182 - [CSS Filters] Implement parsing for blur, brightness, contrast, grayscale, invert, opacity, saturate, sepia. Co-authored with Dirk Schulze (krit). r=heycam 2013-07-23 10:47:16 -04:00
Milan Sreckovic 3dffde4a8d Bug 895003 - Introduce a second preference to control the chrome paint flashing - nglayout.debug.paint_flashing_chrome. r=roc
The original pref still controls content and chrome when set. The preference is now live, for content and chrome, the change will be seen on the next refresh. The cached value is now in nsPresContext, rather than nsRefreshDriver.
2013-07-22 11:51:38 -04:00
Simon Sapin 4d054e1c1d Bug 483446 - CSS3 'background-attachment: local' support. r=roc 2013-07-23 09:22:58 -04:00
Mina Almasry b64e5d4479 Bug 734861 - Expose stylesheets, including UA, for a document via inIDOMUtils. r=bz
This patch adds an API to inspector utils that gets all stylesheets associated with a document, including UA sheets.
2013-07-23 09:20:19 -04:00
Jonathan Kew 510c284680 backout bug 879963 (changesets 4a3befee43f1, 09c9359bdd43, 32ffcd6db605) due to Nightly crashiness, see bug 896200. 2013-07-23 09:38:57 +01:00
Stephen Pohl 7aa51aad86 Bug 877857: Make hovered overlay scrollbars appear on top of non-hovered ones. r=roc 2013-07-23 00:21:55 -04:00
Stephen Pohl 0192b8f9db Bug 877097: Improve readability of ScrollbarActivity::GetRefreshDriver. r=mats 2013-07-22 22:46:27 -04:00
Ryan VanderMeulen 27cd5f2dd4 Merge inbound to m-c. 2013-07-22 21:47:13 -04:00
Daniel Holbert 8dde80d3f4 Bug 895023: Null-check SVG image document's root frame, before dereferencing it. r=seth 2013-07-22 13:42:05 -07:00
Robert O'Callahan 7a84d00a9a Fix bustage for bug 886295 2013-07-22 16:30:18 +12:00
Robert O'Callahan 55bf3f0888 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
James Willcox 95281770c1 Bug 888446 - Fuzz/fail more tests for SkiaGL r=gwright 2013-07-19 16:58:56 -04:00
Corey Ford 7df9a3d1f1 Bug 894629 - Reference containing block's content box for relatively positioned elements in RestyleManager::RecomputePosition. r=dbaron 2013-07-22 09:28:31 -07:00
Ryan VanderMeulen e69fee0a8c Backed out changeset 123821ef07b4 (bug 893298) for Linux reftest failures. 2013-07-22 11:23:42 -04:00
Jeff Muizelaar 352e873c8e Bug 896489. Enable Azure CoreGraphics for content. r=joe
This only has an impact on OSX 10.7 and 10.8 because
it's only hooked up through OMTC right now.

--HG--
extra : rebase_source : 91b413be68ed0eaef9ef1c55a0ec730e89eac1e0
2013-07-22 10:54:10 -04:00
Bear Travis 151341e046 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
John Schoenick 14dbea4c39 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 10605e0e62 Bug 886298 - Convert Layers fixed position margins to typed units. r=kats 2013-07-22 09:50:13 +01:00
Chris Lord e3186541d9 Bug 886298 - Add a typed-units Margin. r=kats 2013-07-22 09:50:11 +01:00
Chris Lord baaed043f6 Bug 886298 - Convert Layers fixed position anchor to typed units. r=kats 2013-07-22 09:50:09 +01:00
David Zbarsky 5dba986973 Bug 895116: Remove some duplicated reftests r=roc 2013-07-21 04:16:29 -07:00
L. David Baron a643510184 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 0a56a39306 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 2e0c82c9c0 Bug 896138 patch 7: Remove unused aFrameManager parameters to some functions. r=heycam 2013-07-20 12:14:25 -07:00
L. David Baron 539703de44 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 6686ee84a1 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 a7c8d44db9 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 84393c60bd 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 62621bb025 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 3dab5e1ef8 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 90280cc831 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 cf168d842a Bug 700926; reshuffle background image drawing. r=roc
--HG--
extra : rebase_source : 4e4786a75cfdccc47ffa524331792eab3a7a83ea
2013-07-19 20:40:02 +12:00
Nicholas Cameron e17f999789 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 cf60fd0d26 Backed out changeset 319da88f992e (bug 893298) for B2G reftest failures. 2013-07-19 13:06:10 -04:00
Reuben Morais 25c86ec559 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 399d3edad1 Bug 894931. Add reftest. r=dbaron 2013-07-19 11:22:40 -04:00
Simon Montagu d1adeb99a2 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 d0e202df25 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 99080c7766 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 63736e952d 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 83bfaa5b69 bug 879963 - test for redundant downloading of a repeated @font-face resource. r=dbaron 2013-07-17 12:53:38 +01:00
Jonathan Kew 50ab64699b 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 de12b8e12a 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 ddd78fd1a5 Bug 889515 - Get rid of static sCompositorParent. r=nical 2013-07-11 22:32:09 -04:00
Reuben Morais 8fd8ceb566 Backed out changeset 12a2fa9940f4 (bug 893117) 2013-07-18 20:01:54 -07:00
James Willcox 4b92bdf899 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 e7c4a9f1ec Bug 893117: Remove nsIDOMHTMLProgressElement r=peterv 2013-07-18 17:43:38 -07:00
Benoit Girard 7152341ae7 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 1591216c2a 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 76ce8020e7 Merge m-c to inbound on a CLOSED TREE. 2013-07-18 14:53:05 -04:00
Robert O'Callahan 1343917050 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 a65b6c2ed4 Back out changeset e8bf739addfa (bug 868498 patch 2) for causing bug 894931. 2013-07-18 01:09:16 -07:00