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

37249 Коммитов

Автор SHA1 Сообщение Дата
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
Seth Fowler 48bacd080e 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 b44af38222 Bug 885939 (Part 2) - Add reftests for SVG image stretching and scaling. r=dholbert 2013-07-16 15:41:33 -04:00
Ryan VanderMeulen 7400a62dd5 Bug 877690 - Fix typo in test. DONTBUILD 2013-07-16 13:52:01 -04:00
Ehsan Akhgari 192bc42d5e Bug 895141 - Remove useless prlong.h inclusions from the tree; r=jcranmer 2013-07-18 12:06:38 -04:00
Blake Kaplan 2ac09437e4 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 14d2681e74 Merge mozilla-central and inbound 2013-07-18 15:01:47 +01:00
Ed Morley 5ab829f932 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 5d31223735 Bug 819930 - Part 1: Implement an API for emulating CSS media types. r=dbaron 2013-07-17 16:39:19 +01:00
David Zbarsky 25658dc89f Bug 892853 - Remove some xpidl for SVG r=Ms2ger 2013-07-17 23:54:09 -07:00
Markus Stange cddb8f5c57 Bug 894905 - Create a separate nsDisplayItem subclass for -moz-appearance backgrounds. r=roc 2013-07-18 08:34:58 +02:00
Markus Stange da419264b0 Bug 894905 - Make AppendBackgroundItemsToTop return a bool instead of an nsDisplayBackgroundImage. r=roc 2013-07-18 08:34:10 +02:00
Stephen Pohl 365a106ab3 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
Jared Wein be6e80b946 Backed out changeset 6567ae2b15be (bug 845205) for possibly introducing more assertions, causing the browser-chrome tests to go over their log limit. CLOSED TREE 2013-07-17 20:37:57 -04:00
Ben Kelly 823572c7e4 Bug 845205 - Do not reset the style context when removing unset properties. r=dbaron 2013-07-17 14:34:22 -04:00
Ed Morley 6f37d9042e Backed out changeset 1b2c43ed9fdc (bug 879963) for intermittent failures in test_redundant_font_download.html 2013-07-17 17:07:54 +01:00
Ed Morley 4e8ab541b9 Backed out changeset 33c17daf66bf (bug 879963) 2013-07-17 17:07:30 +01:00
Ed Morley f763e075cd Backed out changeset e0c9008cb0be (bug 879963) 2013-07-17 17:07:27 +01:00
William Chen c7d379d25e Bug 796061 - Part 2: Remove mInsertionParentTable from nsBindingManager. r=mrbkap 2013-07-17 09:05:06 -07:00
William Chen a71d9ff782 Bug 796061 - Part 1: Remove mBindingTable from nsBindingManager. r=mrbkap 2013-07-17 09:05:03 -07:00
Jonathan Kew d6ccb240c1 bug 879963 - test for redundant downloading of a repeated @font-face resource. r=dbaron 2013-07-17 12:53:38 +01:00
Jonathan Kew 0b94d231bb 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 7d6679872e 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
Ryan VanderMeulen 503e54554a Backed out changeset 9022f5fdcf98 (bug 483446) for mochitest-5 orange. 2013-07-16 10:45:35 -04:00