Commit Graph

27859 Commits

Author SHA1 Message Date
Frédéric Wang
edb8d38e0c MathML Operator Dictionary: add private data integral (bug 534970). r=karlt a=dbaron
--HG--
extra : rebase_source : d4e1f0e8d80cc1cafa630c89f730d4f30e686766
2010-08-20 15:43:10 +12:00
Frédéric Wang
10be8e68cb MathML Operator Dictionary: update some entries whose stretchiness has changed (bug 534970). r=karlt a=dbaron
--HG--
extra : rebase_source : f6a56bd7e60f05d59c5a7571e1e888bb0b1edca1
2010-08-20 15:41:49 +12:00
Frédéric Wang
b40094b647 Bug 524275 - Make nsStretchDirection available for any operators. r=karlt a=dbaron
--HG--
extra : rebase_source : 0df9e11112d215ce4158574622e1b67faf668b08
2009-11-21 22:11:05 +01:00
Frédéric Wang
7d5f56c2e5 MathML Operator Dictionary: make operator with a stretchy form use the same direction for all their forms (bug 534970). r=karlt a=dbaron
--HG--
extra : rebase_source : 74c2ded175993d3cdf9a21be586302727e60a613
2010-08-20 15:38:08 +12:00
Frédéric Wang
691ce60937 MathML Operator Dictionary: add entries for stretchy fences (bug 534970). r=karlt a=dbaron
--HG--
extra : rebase_source : e70fe8ac89cb77e0c71d7305d2ff4004fe7cf3df
2010-08-20 15:36:06 +12:00
Frédéric Wang
a9ee9244b5 MathML Operator Dictionary: add entries for vertical and horizontal arrows (bug 534970). r=karlt a=dbaron
--HG--
extra : rebase_source : 6ace7c7366574544cfe68967c2b562a11d5b820b
2010-08-20 15:33:36 +12:00
Frédéric Wang
24af5d319f MathML Operator Dictionary: remove infix entries for N-ary Union and Intersection (bug 534970). r=karlt a=dbaron
--HG--
extra : rebase_source : d6bbaf616bc013037915769bb9716ee21e33a0df
2010-08-20 15:32:22 +12:00
Jonas Sicking
681259ee9f Back out bug 546857 Part 6 due to talos failures. a=backout 2010-08-19 18:41:58 -07:00
Jonas Sicking
0145c9b59e Bug 546857 Part 6: Disable XUL for pages, unless user specifically opts in for domain. r=jst a=blocker 2010-08-19 16:12:46 -07:00
Jonas Sicking
a66617aa2d Bug 546857 Part 5: Add a default permissions.sqlite to unit test profiles. r=ted a=blocker 2010-08-19 16:12:46 -07:00
Chris Jones
c9ebc2ab84 Merge backout 2010-08-19 19:04:11 -05:00
Chris Jones
710798b9a7 Backed out changeset 7b3726c3a580 2010-08-19 19:04:08 -05:00
Chris Jones
03736343c4 Merge backout 2010-08-19 19:03:59 -05:00
Chris Jones
7f92d363c1 Backed out changeset cebb111fbfc4 2010-08-19 19:03:56 -05:00
Chris Jones
88aab63ecc Merge backout 2010-08-19 19:03:12 -05:00
Chris Jones
491cf2d2ae Backed out changeset c5945b6a97ed 2010-08-19 19:03:09 -05:00
Chris Jones
9bbf3cee6a Merge backout 2010-08-19 19:02:12 -05:00
Chris Jones
21a68ff030 Backed out changeset f1af117d4598 2010-08-19 19:02:09 -05:00
Chris Jones
8d9a363ed1 Merge backout 2010-08-19 19:01:46 -05:00
Chris Jones
30efe240e2 Backed out changeset 90ad165ae21b 2010-08-19 19:01:43 -05:00
Chris Pearce
7314b871e2 Bug 485288 - Replace all usage of video autobuffer attribute with preload=auto. a=test-fix 2010-08-20 10:50:37 +12:00
Zack Weinberg
6c2d721b71 Bug 576044 (12/12): fix assertions in nsStyleAnimation triggered by part 3. r=dbaron a2.0=dbaron 2010-08-19 15:33:45 -04:00
Zack Weinberg
2b0421048a Bug 576044 (11/12): Make all assertions fatal in Declaration.h, Declaration.cpp, nsCSSDataBlock.h, nsCSSDataBlock.cpp, nsCSSValue.h, nsCSSValue.cpp, nsCSSProps.h, and nsCSSProps.cpp. r=dbaron a2.0=dbaron 2010-08-19 15:33:44 -04:00
Zack Weinberg
d87b522209 Bug 576044 (10/12): Don't directly manipulate the contents of mTempData in the CSS parser. r=dbaron a2.0=dbaron 2010-08-19 15:33:44 -04:00
Zack Weinberg
a2f399b4ed Bug 576044 (9/12): Add an AddLonghandProperty method to nsCSSExpandedDataBlock. r=dbaron a2.0=dbaron 2010-08-19 15:33:44 -04:00
Zack Weinberg
fa13062b84 Bug 576044 (8/12): remove the last MoveValue call from the CSS parser. r=dbaron a2.0=dbaron 2010-08-19 15:33:44 -04:00
Zack Weinberg
f66c604171 Bug 576044 (7/12): cleanup pass on css/Declaration.{h,cpp} and nsCSSDataBlock.{h,cpp}. r=dbaron a2.0=dbaron 2010-08-19 15:33:44 -04:00
Zack Weinberg
f892a0765b Bug 576044 (6/12): remove vestiges of nsCSSType. r=dbaron a2.0=dbaron 2010-08-19 15:33:44 -04:00
Zack Weinberg
ca47f883ec Bug 576044 (5/12): eliminate ValueList as a storage type. r=dbaron a2.0=dbaron 2010-08-19 15:33:44 -04:00
Zack Weinberg
69b647977d Bug 576044 (4/12): eliminate ValuePairList as a storage type. r=dbaron a2.0=dbaron 2010-08-19 15:33:44 -04:00
Zack Weinberg
124282380a Bug 576044 (3/12): eliminate Rect as a storage type. r=dbaron a2.0=dbaron 2010-08-19 15:33:44 -04:00
Zack Weinberg
c95db1a5f9 Bug 576044 (2/12): eliminate ValuePair as a storage type. r=dbaron a2.0=dbaron 2010-08-19 15:33:44 -04:00
Zack Weinberg
565ea99bfc Bug 576044 (1/12): Move all the CSS 'storage types' (rect, value pair, etc) to nsCSSValue.h and their code to nsCSSValue.cpp. r=dbaron a2.0=dbaron 2010-08-19 15:33:43 -04:00
Robert O'Callahan
7dd66ea23a Bug 585817. Part 2: Change nsIPresShell::CreateRenderingContext to GetReferenceRenderingContext, that uses the shared 1x1 surface, and use it all over the place. r=mats,sr=dbaron 2010-08-19 13:49:35 -05:00
Robert O'Callahan
67c4dcd9f5 Bug 585817. Part 3: Remove nsSVGUtils::GetThebesComputationalSurface and use gfxPlatform::ScreenReferenceSurface instead. r=jwatt 2010-08-19 13:49:35 -05:00
Chris Jones
7cba57c6bf Bug 582057, part b: Remove nsIDeviceContext::SupportsNativeWidgets because it's not used meaningfully, and will be confusing in content processes. sr=roc 2010-08-19 13:49:35 -05:00
Chris Jones
4dc5eaa5b6 Bug 582057, part g: Split nsIView::CreateWidget into CreateWidget, CreateWidgetForParent, and CreateWidgetForPopup in preparation of eliminating IIDs here. sr=roc 2010-08-19 13:49:35 -05:00
Chris Jones
fc0bbe6455 Bug 582057, part i: Use nsIWidget::CreateChild in nsIView::CreateWidget* (where possible). r=roc a=blocking-fennecb1 2010-08-19 13:49:35 -05:00
Mounir Lamouri
563e9ba811 Bug 506554 - Implement the CSS3 pseudo-classes :required and :optional for HTML. r=sicking sr=bz a2.0=blocking 2010-08-19 02:03:20 +02:00
Mounir Lamouri
aa143c8b6a Bug 344615 - Implement <input type="url">. r=sicking, sr=smaug a2.0=blocking 2010-08-18 20:33:37 +02:00
Mounir Lamouri
957d62aa07 Bug 555559 - Implement <input type="email">. r=smaug,sicking sr=jst a2.0=blocking 2010-08-18 20:31:54 +02:00
L. David Baron
57f05d17a4 Don't push floats past break due to total lack of available height when we're required to place something. (Bug 586973) r=roc a2.0=blocking 2010-08-19 09:38:00 -04:00
L. David Baron
750b5eeb63 We might need to collect pushed floats from the overflow out-of-flows list too, just like normal floats. (Bug 586806) r=roc a2.0=blocking 2010-08-19 09:38:00 -04:00
L. David Baron
f7f2374e3e Don't construct an nsFrameList whose first child has a previous sibling. (Bug 586806) r=roc a2.0=blocking 2010-08-19 09:38:00 -04:00
fantasai
9783d9f347 Do IsProperAncestorFrame check before destroying floats, but not for popups. (Bug 588158) r=dbaron a2.0=blocking 2010-08-19 09:38:00 -04:00
L. David Baron
efa2dfcb28 Fix sorting errors in layout/reftests/bugs/reftest.list. 2010-08-19 09:38:00 -04:00
L. David Baron
8d6efcd3de Split floats when they are overflow-incomplete. (Bug 585598) r=roc a2.0=blocking 2010-08-19 09:38:00 -04:00
L. David Baron
f4944f292c Destroy the pushed floats list in nsBlockFrame::DestroyFrom. (Bug 585598) r=roc a2.0=blocking 2010-08-19 09:38:00 -04:00
L. David Baron
219e24a238 Rename a frame property that I missed in a mass-rename. a2.0=blocking (Bug 563584) 2010-08-19 09:37:59 -04:00
Takanori MATSUURA
7b17d911b0 Bug 587614. Remove use of MOZ_NO_INSPECTOR_APIS. r=roc,a=NPOTB 2010-08-19 21:44:01 +12:00
Mark Banner
aa557442d3 Backed out changeset f600448ae7db / bug 471643 due to reftest failures 2010-08-19 09:27:01 +01:00
Zack Weinberg
2fa7c64088 Bug 471643: Make vertical percentages in border-radius relative to box height. r=dbaron 2010-08-19 09:45:32 +02:00
Daniel Holbert
b1af0183eb (no bug) a few whitespace fixes in layout, to triger fresh builds on a CLOSED TREE 2010-08-18 21:53:55 -07:00
Timothy Nikkel
9ef85e39a6 Bug 572599. If we get an event on a child widget that is in a disconnected view subtree the view subtree might not have a root widget. r=roc 2010-08-18 20:16:58 -05:00
Timothy Nikkel
4ce442895c Bug 587542. If painting is suppressed in the presshell, drop invalidations that come through the view subsystem as well as through the usual frame invalidation path. r=roc 2010-08-18 20:16:58 -05:00
Timothy Nikkel
a4ba9d34d7 Bug 587539. When we get a paint event for a widget in a disconnected view subtree there isn't a display root widget. r=roc 2010-08-18 20:16:58 -05:00
Timothy Nikkel
72442763c1 Bug 587534. When we unregister a plugin for geometry updates make sure to hide the plugin in case it hasn't been hidden yet. r=roc 2010-08-18 20:16:58 -05:00
Bobby Holley
320251f1eb bug 512260 - part 6 - lock images in nsStyleList::SetListStyleImage.r=dbaron,a=blocker 2010-08-16 12:23:09 -04:00
Bobby Holley
56e46bf578 bug 512260 - part 5 - make nsCursorImage::mImage private, add getter/setter, and lock images in the setter.r=dbaron,a=blocker 2010-08-16 12:19:26 -04:00
Bobby Holley
6fd955de10 bug 512260 - part 4 - call nsDocument::AddImage and RemoveImage on images stored in nsStyleContentData.r=dbaron,a=blocker 2010-08-06 13:27:01 -04:00
Bobby Holley
f7af33b1c7 bug 512260 - part 3 - call nsDocument::AddImage and RemoveImage on images stored in nsStyleBackground.r=dbaron,a=blocker 2010-08-05 17:57:18 -04:00
Bobby Holley
450b5f3f3b bug 512260 - part 2 - Make ImageRenderer take a pointer to nsStyleImage rather than making a copy.r=dbaron,a=blocker 2010-08-05 17:30:19 -04:00
Bobby Holley
c85b40e32f bug 512260 - Add image tracker to nsDocument and register content images with it.r=roc,sr=dbaron,a=blocker 2010-08-03 20:40:29 -04:00
Brian Birtles
b0e9b484a4 Bug 544855 - Make discrete to-animation only visit to value, r=dholbert, a=blocking-betaN+ 2010-08-18 19:20:24 +09:00
Brian Birtles
9896ec8948 Bug 485157: SMIL event timing, part 5 make default event base the animation target, r=dholbert, sr=roc, a=roc 2010-08-18 19:20:24 +09:00
Brian Birtles
b34a18028c Bug 485157: SMIL event timing, part 3 event registration and timing, r=smaug, dholbert; sr=roc, a=roc 2010-08-18 19:20:24 +09:00
Brian Birtles
2fbd073b54 Bug 485157: SMIL event timing, part 1 refactor added end time handling, r=dholbert, sr=roc, a=roc 2010-08-18 19:20:24 +09:00
Robert O'Callahan
2a2db81c1a Bug 537890. Part 11: Introduce _TO_INT_TWIPS macros and have some _TO_TWIPS callers use _TO_INT_TWIPS instead. r=dbaron 2010-08-13 21:59:16 +12:00
Robert O'Callahan
3133bff6c6 Bug 537890. Part 10: Fix nsPresContext and nsIDeviceContext unit-conversion methods to be explicit about using CSS logical units instead of physical units. r=dbaron 2010-08-13 21:58:04 +12:00
Robert O'Callahan
505cc05575 Bug 537890. Part 7: Tests for pt/pc/mm/cm/in not being physical units, and for mozmm being physical units. r=dbaron 2010-08-13 21:58:02 +12:00
Robert O'Callahan
ff8ac74b16 Bug 537890. Part 5: Make pc, in, mm and cm be a fixed number of CSS pixels. r=dbaron 2010-08-13 21:58:02 +12:00
Robert O'Callahan
049e9fe833 Bug 537890. Part 4.5: Create 'mozmm' unit for physical millimeters on screen devices. r=dbaron 2010-08-13 21:58:02 +12:00
Robert O'Callahan
c0a3a641e0 Bug 537890. Part 4: Make points be a fixed number of CSS pixels. r=dbaron 2010-08-13 21:58:01 +12:00
Robert O'Callahan
a4e6996a16 Bug 537890. Part 8: Define MM_PER_INCH_FLOAT. r=dbaron 2010-08-13 21:57:57 +12:00
Rob Arnold
bcd5f25ef2 Bug 554982 - Add support for borderless glass and remove the borders from the main window. r=roc,dao a=blocking2.0 2010-08-17 23:07:10 -04:00
Benjamin Smedberg
f1f5bf227b Bug 587715 - Include Qt headers before anything else because of conflicts with X and mozalloc. r=bustage fix 2010-08-17 10:35:21 -04:00
Neil Deakin
d286ca6815 Bug 551434 - Store the keydown target and retarget the keypress/keyup events when focus changes from chrome to content. r=smaug 2010-08-17 14:37:50 +02:00
Mounir Lamouri
75d39992a0 Bug 587875 - Build bustage: nsRefreshDriver.h is included by files not included when SMIL is disabled. r=jst@mozilla.org, a=buildbustage 2010-08-17 02:08:35 +02:00
Benjamin Smedberg
b05fb2a7e9 Bustage fix of the bustage fix, bug 583053. 2010-08-16 12:38:43 -04:00
Benjamin Smedberg
9b333fdb92 Linux followup to bug 583053 - fix the include ordering so that KeyPress is defined at the time we need it. 2010-08-16 11:41:46 -04:00
Benjamin Smedberg
2afbd46dc1 Bug 583053 - Corruption issues when running rdio because windows double-pass rendering events don't win the RPC race, r=bent 2010-08-16 10:10:25 -04:00
Jeff Muizelaar
7deb0abd61 Disable more intermittent reftests on D2D 2010-08-16 09:36:02 -04:00
Bas Schouten
79a67e190d Bug 587319: We do not know the metrics yet for DWrite fonts. Disable when using DWrite. r=joedrew 2010-08-16 09:15:03 +02:00
Phil Ringnalda
79cfd128da Bug 587530 - Put nsICapturePicker in the properly named xpt, and package it for Firefox, r=roc, a=gavin 2010-08-15 18:37:53 -07:00
Edmund Wong
c31f357639 Bug 585336: Fix "a the" in comments (for General core code). r=timeless a=NPOTB (comment-only) 2010-08-15 15:50:02 -07:00
Ms2ger
e48ff47578 Make nsICSSRule::Clone return the cloned value directly. (Bug 585137) r=bzbarsky a2.0=dbaron 2010-08-15 11:19:34 -04:00
Mounir Lamouri
8473f691f3 Bug 568441 - Explicitely show the caret in nsTextControlFrame when the content is no longer disabled and focused. r=roc a2.0=blocking+ 2010-08-15 11:19:34 -04:00
Mats Palmgren
a9187b72ab Get the parent pres shell from the docshell instead of the document. b=587064 r=roc a=blocking2.0 2010-08-15 15:54:02 +02:00
Robert Longson
beb10ce6a3 Bug 584322: Fix confusion between premultiplied and non-premultiplied colors that was causing feDisplacementMap to offset the result incorrectly. r=roc a2.0=dbaron 2010-08-15 08:42:29 -04:00
L. David Baron
bdab2e0934 Correct parenthesis-matching inside of :not(). (Bug 586070) r=bzbarsky a2.0=bsmedberg 2010-08-15 08:42:29 -04:00
Robert Sayre
beb120b612 Backed out changeset 7b475a00cd7c. Reftest bustage. 2010-08-14 21:27:43 -04:00
Robert Longson
ce3734116b Bug 584322 - feDisplacementMap seems to be adding an offset. r=roc, a=dbaron 2010-08-14 20:42:18 -04:00
Jeff Muizelaar
421ee71541 Bug 586835. Disable a couple more intermittent reftest fails with D2D.
Not sure what's going on with these yet...
2010-08-14 08:32:38 -04:00
Daniel Holbert
2c2ed663ed Bug 582004 part 2: Make imgIContainerObserver::FrameChanged take a const aDirtyRect argument. r=joe a=blocking 2010-08-13 21:09:48 -07:00
Jeff Muizelaar
3909a733b1 Bug 586835. Disable the d2d reftests that fail but are still sane. r=joe
This is in preparation for enabling d2d by default. A bunch of these will be
changed from random-if to fuzzy-if when bug 580786 lands. Some of them should
also be fixed or investigated more thoroughly before final.
2010-08-13 11:44:24 -04:00
Jeff Muizelaar
5f05dd6ee5 Bug 583857. Expose whether D2D is enabled to reftests. r=roc 2010-08-13 11:44:21 -04:00
Robert Sayre
84ab1bce0c Merge tracemonkey to mozilla-central. 2010-08-13 12:45:44 -07:00
fantasai
53e6f6c857 Bug 536721 - Tweak DestroyOverflowList so it does not trigger Missing destruct root assertion. r=bz a=dbaron 2010-08-13 14:36:05 -03:00
Benoit Girard
47fbfcf582 Bug 583356 - Create Plug-in ContextMenu with a right-click mouse event. r=josh 2010-08-13 12:45:32 -04:00
Robert Sayre
2c5d9c7f92 Merge mozilla-central to tracemonkey. 2010-08-12 10:12:04 -07:00
Robert Sayre
8c71a22ddc Disable the test for bug 458898. See bug 562955. 2010-08-11 09:59:54 -07:00
Olli Pettay
3a9d21a136 Bug 585815, create treerange list straight to the mFirstRange, r=neil
--HG--
extra : rebase_source : f71a56d90b51e26d3d5d8aedc969ca51c09f0fd3
2010-08-12 15:05:43 +03:00
Olli Pettay
3db4e27da3 Bug 583957, lazy menuframe update, r=enndeakin, sr=neil, a=dbaron
--HG--
extra : rebase_source : f036ff3e7ee39225f17d1d4aba0d4e7c71960d58
2010-08-12 14:59:03 +03:00
Mats Palmgren
a7f4533995 Bug 576649. r=bzbarsky a=blocking2.0 2010-08-10 19:04:43 -03:00
Markus Stange
b093349bfe Bug 506826 - Fix overlapping frame state bit. 2010-08-13 18:09:58 +02:00
Robert O'Callahan
25324c072d Backing out bug 584282 and bug 537890 2010-08-14 02:35:06 +12:00
Markus Stange
94cc393213 Bug 506826 - Tests. 2010-08-13 15:36:19 +02:00
Markus Stange
79381e7b8a Bug 506826 - Invalidate -moz-element rendering observers when necessary. r=roc 2010-08-13 15:36:13 +02:00
Markus Stange
b415b39db5 Bug 572689 - Allow overriding ID targets with mozSetImageElement for the BackgroundImageProperty which is used for -moz-element drawing. r=roc 2010-08-13 15:36:05 +02:00
Markus Stange
50e1da0830 Bug 506826 - Hook up -moz-element painting. r=roc 2010-08-13 15:34:01 +02:00
Markus Stange
9f901f38b8 Bug 506826 - Add nsSVGIntegrationUtils::DrawPaintServer for use in -moz-element drawing. r=roc 2010-08-13 15:32:27 +02:00
Markus Stange
53d7d30d22 Bug 506826 - Use a frame state bit for recursion detection in SVG pattern drawing. r=roc 2010-08-13 15:32:15 +02:00
Markus Stange
180996f508 Bug 506826 - Make nsLayoutUtils::PaintFrame able to draw all continuations of a frame. r=roc 2010-08-13 15:32:04 +02:00
Markus Stange
eaba422dce Bug 572689 - Make nsSVGRenderingObservers observe elements instead of frames. r=roc 2010-08-13 15:31:31 +02:00
Markus Stange
fae48f3bbd Bug 506826 - Parsing for background-image: -moz-element(#elementID). r=dbaron 2010-08-13 15:33:37 +02:00
Markus Stange
4937fd0d55 Bug 572689 - Add an SVG property for -moz-element called BackgroundImageProperty and make it able to handle multiple observers with different observer URLs. r=roc 2010-08-13 15:30:45 +02:00
Markus Stange
1824fa271f Bug 572680 - Add nsLayoutUtils::DrawPixelSnapped. r=roc 2010-08-13 15:30:37 +02:00
Robert O'Callahan
c680d55014 Bug 579621. Don't create widgets for chrome subdocuments of chrome windows. r=tnikkel 2010-08-13 21:57:48 +12:00
Timothy Nikkel
46997b5807 Bug 579621. Fix print preview tests to be content subdocuments. r=roc 2010-08-13 21:57:29 +12:00
Robert O'Callahan
d9ad5ed49c Bug 579258. Remove the 'before move' region parameter to ComputeVisibility. r=tnikkel,a=joe 2010-08-13 21:55:54 +12:00
Robert O'Callahan
002b421174 Bug 579258. Change IsVaryingRelativeToMovingFrame to take the 'moving frame' as a direct parameter instead of getting it from the builder. r=tnikkel,a=joe 2010-08-13 21:54:37 +12:00
Robert O'Callahan
19a4e37ac9 Backed out changeset 0c4519d63a98 2010-08-12 11:32:21 +12:00
Boris Zbarsky
cfd42187e4 Bug 577607 part 2. Teach the refresh driver to flush restyles and reflow on more than one presshell. r=roc 2010-08-11 17:05:27 -04:00
Boris Zbarsky
aed8438e78 Bug 577607 part 1. Make sure resource documents don't have presshells when their display document doesn't. r=roc 2010-08-11 17:05:26 -04:00
fantasai
d65a7e96aa Change coordinate system in the float manager from content box (most of the time, but sometimes border box) to always border box. (Bug 551425) r=dbaron a2.0=blocking+ 2010-08-11 12:32:53 -07:00
L. David Baron
2a023744e6 Add support for calc() to the 'width' property. (Bug 585715) r=bzbarsky a2.0=blocking2.0+ 2010-08-11 12:32:53 -07:00
L. David Baron
c61f9bfba4 Distinguish between 50% and calc(50%), etc., in computed style calc expressions. (Bug 585715) r=bzbarsky a2.0=blocking2.0+ 2010-08-11 12:32:52 -07:00
L. David Baron
39c372840a Consolidate code for determining when widths and heights depend on a container. (Bug 585715) r=bzbarsky a2.0=blocking2.0+ 2010-08-11 12:32:52 -07:00
L. David Baron
e9ab54ed5b Make a common base class for calc ops that use nsStyleCoord as input. (Bug 585715) r=bzbarsky a2.0=blocking2.0+ 2010-08-11 12:32:52 -07:00
L. David Baron
fb76c8e137 There's no need for a separate CoordPercentCalc implementation; ComputeCalc can handle that. (Bug 585715) r=bzbarsky a2.0=blocking2.0+ 2010-08-11 12:32:52 -07:00
L. David Baron
b27e44d513 Add a 'display:block' prerequisite for 'width' property tests so that calc() tests will actually have a percentage basis and thus actually test the code. (Bug 585715) r=bzbarsky a2.0=blocking2.0+ 2010-08-11 12:32:52 -07:00
L. David Baron
f88364d08c Fix places where we should skip to a closing parenthesis during errors parsing functions. (Bug 575672) r=bzbarsky a2.0=blocking2.0+ 2010-08-11 12:32:52 -07:00
L. David Baron
a286bcfd04 CSS transition timing functions should not allow X arguments to cubic-bezier() outside of 0-1. (Bug 575672) r=bzbarsky a2.0=blocking2.0+ 2010-08-11 12:32:52 -07:00
Boris Zbarsky
6fc9d4f89d Bug 569520 part 2. Implement a mozRequestAnimationFrame/mozAnimationStartTime API. r=roc, a=joe 2010-08-11 17:05:28 -04:00
Boris Zbarsky
94a9bcd849 Bug 577607 part 3. Use the main doc refresh driver for resource documents and the parent document's refresh driver for documents that are not roots of their type. r=roc, a=joe 2010-08-11 17:05:27 -04:00
Boris Zbarsky
75b9e08789 Bug 577607 part 2. Teach the refresh driver to flush restyles and reflow on more than one presshell. r=roc 2010-08-11 17:05:27 -04:00
Neil Deakin
78f7ba2d70 Bug 585841 - Right click, 'copy link location' no longer works
r=Neil
a=blocking2.0
a=sheriff for landing
2010-08-10 13:55:31 -07:00
Olli Pettay
ab365556e5 Bug 584866 - Cache LoadFrameScript Calls [r=jst] 2010-08-10 13:18:26 -04:00
Ehsan Akhgari
489e5fab3f Bug 580869 - Cache the frame found in nsTextFrame::GetChildFrameContainingOffset; r=roc approval2.0=dbaron
--HG--
extra : rebase_source : 3bdd49e0e039c212b5faa8d12bcbdd785da267a4
2010-08-10 11:16:17 -04:00
Dão Gottwald
1e1c1def63 Backed out changeset cdd440adb726 2010-08-10 15:10:11 +02:00
Ms2ger
719312de88 Bug 562698 - Part a: Pass Elements to nsIMutationObserver::AttributeChanged and nsCSSFrameConstructor::AttributeChanged; r=bzbarsky, a=dbaron 2010-08-10 14:25:28 +02:00
Mark Banner
2cd6513bc1 Bug 585734 Disable some c++ unit tests (TestCSSPropertyLookup, TestWinDND) in static builds due to compilation failures. r=khuey,a=test-only fix 2010-08-10 10:44:25 +01:00
Simon Montagu
e2d46b52f2 Check that frame offsets are within content. Bug 579655, r=roc, blocking2.0=dsicore 2010-08-10 10:08:59 +03:00
Jim Mathies
bd1872ca14 Bug 574454 - Add caption buttonbox css styles. r=dbaron. 2010-08-09 20:49:34 -05:00
Jim Mathies
85ca93692a Bug 574454 - Add window frame css styles. r=dbaron. 2010-08-09 20:49:34 -05:00
Neil Deakin
d20855b708 Bug 383930/552341, allow usage of a property on popups instead of using document.popupNode, should fix leak of popupNode, r=neil,sr=roc 2010-08-09 12:17:19 -04:00
Neil Deakin
e45ac3dd68 Bug 583255, don't involve views in tree offset computation, fixes inspector mouse events, r=roc,a=dbaron 2010-08-09 12:15:39 -04:00
Phil Ringnalda
097358c520 Backed out changeset ec28c1790e13 (bug 579621) for print preview test timeouts 2010-08-08 17:48:03 -07:00
Robert O'Callahan
1b1a7d673f Bug 579621. Don't create widgets for chrome subdocuments of chrome windows. r=tnikkel, a=blocker
--HG--
extra : rebase_source : 669b45a017fd52aa8106b98f6f8dd2d5ed846d4e
2010-08-04 21:40:00 -07:00
Timothy Nikkel
66f623ffab Merge back out of changeset 86e8ec17e532 (bug 584193). 2010-08-08 16:58:59 -05:00
Timothy Nikkel
e022122398 Backed out changeset 86e8ec17e532 (bug 584193). 2010-08-08 16:58:40 -05:00
Jeff Muizelaar
a4d9c2e288 Bug 585163. reftest: Adjust scales and text sizes to an exact representation. r=roc
This fixes the test with Direct2D. Inaccurate values for font_matrix come
from converting 6/60 into a float and then treating it as a double.
2010-08-08 15:54:27 -04:00
Jeff Muizelaar
c832680e15 Bug 584515. Fix border-breaking-000-cols.xhtml on D2D. r=roc
We are running into rasterization inaccuracies here.

This test draws green circles on a green rectangle and assumes that the result
will be solid green.

Here's what happens with D2D:

D2D computes coverage values in floating point so assume that we get a coverage
of about 0.112399 or 0.112399*255 == 28.6

green (128/255 == 0.50196) is multiplied by the coverage to get 0.0564702 or
.0564702*255 == 14.39

the results of the pixel shader get rounded before blending. So we get
(r=0,g=14,b=0,a=29)

blending this OVER green gives:

14+(255-29)*128/255 == 127 instead of 128.

This doesn't happen with other backends because they typically use integer
coverage amounts.

We fix it by using '&nbsp' instead of '.'
2010-08-08 15:54:24 -04:00
Robert O'Callahan
f972d43f24 Bug 584193. Allow print preview to work without its own widget. r=smaug 2010-08-08 13:49:07 -05:00
Timothy Nikkel
987f68275e Bug 579663. Part 9. Simplify ProcessDisplayItems because all items in a container layer have the same app units per dev pixel. r=roc 2010-08-08 13:49:07 -05:00
Timothy Nikkel
3b953e9755 Bug 579663. Part 8. Simplify FrameLayerBuilder::DrawThebesLayer because it does not have to deal with items at different AppUnitsPerDevPixel ratios. r=roc 2010-08-08 13:49:07 -05:00
Timothy Nikkel
14511d2a0b Bug 579663. Part 7. Assert AppUnitsPerDevPixel is constant in container layers. r=roc 2010-08-08 13:49:07 -05:00
Timothy Nikkel
dbb5567320 Bug 579663. Part 6. Convert the update rect used for fixed backgrounds to the app units of the display root. r=roc 2010-08-08 13:49:07 -05:00
Timothy Nikkel
e703905657 Bug 579663. Part 5. Make display zoom items create a container layer. r=roc 2010-08-08 13:49:06 -05:00
Timothy Nikkel
855ecf0e9a Bug 579663. Part 4. If the viewport frame has a container layer then we need to invalidate it too. r=roc 2010-08-08 13:49:06 -05:00
Timothy Nikkel
9499c419ae Bug 579663. Part 3. Use the right AppUnitsPerDevPixel for zoom items. r=roc 2010-08-08 13:49:06 -05:00
Timothy Nikkel
6f0c7d2b8b Bug 579663. Part 2. Be able to get the APDs out of display zoom items. r=roc 2010-08-08 13:49:06 -05:00
Timothy Nikkel
9645a5cf5c Bug 579663. Part 1. Remove unused offset param from GetActiveScrolledRootFor. r=roc 2010-08-08 13:49:06 -05:00
Timothy Nikkel
b447591573 Bug 582754. Remove cross doc check in nsIFrame::GetOffsetTo. r=mats a=dbaron 2010-08-08 13:49:06 -05:00
Timothy Nikkel
8541cb5369 Bug 584617. Part 2. If we get passed an unusual backstop color we need to flush layers. r=roc a=dbaron 2010-08-08 13:49:07 -05:00
Timothy Nikkel
206bbfd8d6 Bug 584617. Part 1. Make sure that we don't use the overflow rect of the root frame instead of the dirty region when we are drawing ignoring viewport scrolling because that might be wrong. r=roc a=dbaron 2010-08-08 13:49:07 -05:00
Timothy Nikkel
6ed096006a Bug 584516. With linked view manager hierarchies we need to draw the print preview background on subdocument frames as well. r=roc 2010-08-08 13:49:07 -05:00
Robert Longson
0c22a67b47 Bug 577850 - A gradient applied to SVG Text element should render as if the objectBoundingBox spans the entire Text content. r=roc 2010-08-07 10:38:11 +01:00
Vladimir Vukicevic
3e15845966 b=574481; fix layers lifetime issues; part 6 - fix up some video frame bits; r=roc 2010-08-06 22:09:18 -07:00
Dave Townsend
4590036b45 Backed out changeset 8f8ee0543d0f from bug 580869 in the CLOSED TREE
--HG--
extra : rebase_source : 0bfba926d30e0d6fc80bccd4a5614b1532d9234b
2010-08-06 15:01:59 -07:00
Dave Townsend
c3b7bf8b39 Backed out changeset 300036f6c90f from bug 580869 due to test failures
--HG--
extra : rebase_source : 03db1d0833857740d0e80fd12d56bbc4bd5121d2
2010-08-06 15:00:19 -07:00
Boris Zbarsky
d2a229d925 Hacking around broken test or tree code for now to fix orange in CLOSED TREE 2010-08-06 14:38:21 -04:00
Boris Zbarsky
6c8d0591bf Bug 547342 followup. Need to make sure to flush even if we have a cached treebody. 2010-08-06 11:08:06 -04:00
Ehsan Akhgari
5bb93fdc23 Bug 580869 - bustage fix; irc stamp=bzbarsky 2010-08-06 10:49:32 -04:00
Ehsan Akhgari
9b8f299714 Bug 581585 - Cache the frame for caret; r=roc approval2.0=dbaron
--HG--
extra : rebase_source : 3043705ce2689532c40d6e0f1b023b55174e8a88
2010-07-26 20:05:14 -04:00
Ehsan Akhgari
5105968c9e Bug 580869 - Cache the frame found in nsTextFrame::GetChildFrameContainingOffset; r=roc approval2.0=dbaron
--HG--
extra : rebase_source : c04666fc452be4108ed717686086a5f7baba753d
2010-07-23 17:37:55 -04:00
Boris Zbarsky
67950dbf82 Bug 547342 real fix. Flush on ScrollToRow. r=enn 2010-08-05 14:39:39 -04:00
Boris Zbarsky
71030cb8d2 Bug 575336 part 5. Stop flushing out layout on the whole viewmanager tree when layout is flushed on a document and results in invalidates. r=roc 2010-08-05 14:39:39 -04:00
Boris Zbarsky
be8b706b89 Bug 575336 part 3. Change the reftest harness to do its initial flush on all subframes, not just the root one. r=roc 2010-08-05 14:39:39 -04:00
Boris Zbarsky
2c088ca165 Bug 575336 part 1. Make sure to update the size of the current prescontext on style flush, so that media queries do the right thing. r=roc 2010-08-05 14:39:39 -04:00
L. David Baron
0782b28006 Bump assertion count on Windows; followup to bug 563584. 2010-08-05 23:01:07 -07:00
Craig Topper
62fbc28b95 Bug 585616 - Merge nsIDOMNSCSS2Properties and nsIDOMSVGCSS2Properties into nsIDOMCSS2Properties. r=bz 2010-08-05 22:32:01 -07:00
L. David Baron
7afdbd9a59 Rename float continuations to pushed floats. (Bug 563584, patch 33) r=roc
This patch was generated with the following sed commands on layout/generic/*.{h,cpp}: 's/FLOAT_CONTINUATION/PUSHED_FLOAT/g;s/FloatContinuation/PushedFloat/g;s/float continuation/pushed float/g' plus whitespace fixup where the frame state bits are defined.
2010-08-05 21:59:20 -07:00
L. David Baron
051d2eec64 Don't force availableHeight to be nonnegative, because doing so means that we'll place zero height blocks (including their non-zero-height contents) at the bottom of a page when there's not room (see nsHTMLReflowState::SetTruncated). (Bug 563584, patch 32) r=roc 2010-08-05 21:59:20 -07:00
L. David Baron
3060358b0c Add reftests for bug 563584. (Bug 563584, patch 31) r=roc 2010-08-05 21:59:20 -07:00
L. David Baron
0e4d5cd3d9 Set incomplete status when we have continuations that we shouldn't destroy. Fixes assertion on layout/generic/crashtests/469859-1.xhtml . (Bug 563584, patch 30) r=roc 2010-08-05 21:59:20 -07:00
L. David Baron
8b2e645003 Don't switch a constrained height to an unconstrained one due to infinite clearance. Fixes layout/reftests/bugs/563584-10b.html . (Bug 563584, patch 29) r=roc 2010-08-05 21:59:20 -07:00
L. David Baron
0cf99c197d Add comment describing mIsTopOfPage better. (Bug 563584, patch 28) r=roc 2010-08-05 21:59:20 -07:00
L. David Baron
bef2939650 Add testcase to check that mIsTopOfPage is false when reflowing blocks that have clearance. (There was originally a patch here, but it seems not to be needed, so now it's just tests.) (Bug 563584, patch 27) 2010-08-05 21:59:20 -07:00
L. David Baron
b479bd2afc Don't split floats when we're not paginating. (Bug 563584, patch 26) Fixes assertion on layout/generic/crashtests/461294-1.html . r=roc 2010-08-05 21:59:20 -07:00
L. David Baron
0d14c6f6b1 In a constrained height situation, we need to reflow anything with floats. (Bug 563584, patch 25) Fixes assertion on layout/generic/crashtests/408883-1.html . r=roc 2010-08-05 21:59:20 -07:00
L. David Baron
e8ca3f4e21 Add bit to lines indicating that they may have a placeholder for a float that was pushed to the next line (and bump the child count up to 32 bits). (Bug 563584, patch 24) r=roc 2010-08-05 21:59:20 -07:00
L. David Baron
7e4d1acd95 Adjust reftest assertion manifests for churn in nscoord_MAX-related assertions (which includes 'computed overflow area' assertion, because of width wraparound in UnionRect making overflow area empty). (Bug 563584, patch 23) r=roc 2010-08-05 21:59:20 -07:00
L. David Baron
aebe67cb51 Pass correct *remaining* height to float manager, rather than the whole height of the content area. (Bug 563584, patch 22) r=roc 2010-08-05 21:59:20 -07:00
L. David Baron
509ea21148 Add checks to VerifyList that previous siblings match next siblings. (Bug 563584, patch 21) r=roc 2010-08-05 21:59:20 -07:00
L. David Baron
729eb4ac32 Remove aReflowStatus parameters made unnecessary by previous patch. (Bug 563584, patch 20) r=roc 2010-08-05 21:59:20 -07:00
L. David Baron
5d647fbf31 Rename PushTruncatedPlaceholderLine since the remaining reasons for lines being truncated are related to being next to floats, not having truncated floats. (Bug 563584, patch 19) r=roc 2010-08-05 21:59:20 -07:00
L. David Baron
a918ee7979 Do the same for PlaceBelowCurrentLineFloats: don't propagate the truncation of a float into the line's reflow status. (Bug 563584, patch 18) r=roc 2010-08-05 21:59:20 -07:00
L. David Baron
f5631fb91d Don't propagate the float's reflow status through places that expect an inline's reflow status, to avoid the assertion for which bug 563584 was filed. This separates pushing of floats from pushing of lines, and allows first-in-flow floats to be pushed to the next page without their associated line. (Bug 563584, patch 17) r=roc 2010-08-05 21:59:19 -07:00
L. David Baron
87e57de265 Save float's next sibling since reflowing it could change the next sibling. (Bug 563584, patch 16) r=roc 2010-08-05 21:59:19 -07:00