Chris Jones
9b55c914bc
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
d4d7c43a07
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
c3e6d1d85d
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
ef6632684a
Bug 344615 - Implement <input type="url">. r=sicking, sr=smaug a2.0=blocking
2010-08-18 20:33:37 +02:00
Mounir Lamouri
17e57ca845
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
109dae0465
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
c1f752d22d
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
e46aea6922
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
0b1afa37be
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
e749c034f3
Fix sorting errors in layout/reftests/bugs/reftest.list.
2010-08-19 09:38:00 -04:00
L. David Baron
52881c4fb2
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
bd3161b815
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
bbbb91235a
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
05b4001200
Bug 587614. Remove use of MOZ_NO_INSPECTOR_APIS. r=roc,a=NPOTB
2010-08-19 21:44:01 +12:00
Mark Banner
32648806db
Backed out changeset f600448ae7db / bug 471643 due to reftest failures
2010-08-19 09:27:01 +01:00
Zack Weinberg
531e232c65
Bug 471643: Make vertical percentages in border-radius relative to box height. r=dbaron
2010-08-19 09:45:32 +02:00
Daniel Holbert
5d6d60ecb4
(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
f2fbddac07
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
cc09403fac
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
fcaca91e69
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
b7b5763383
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
dc8b4d0852
bug 512260 - part 6 - lock images in nsStyleList::SetListStyleImage.r=dbaron,a=blocker
2010-08-16 12:23:09 -04:00
Bobby Holley
20c25243b6
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
b3f5a9dc56
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
250fbc04bd
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
6788ead45a
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
7a580f398c
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
36e7527d9a
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
62844c6133
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
f5f57834b2
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
c81d68f39a
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
8d6e97edd5
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
20c2a19d6a
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
dfbb28ab06
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
dc13662908
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
907d0109b7
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
b7df1787ef
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
87bbf8a495
Bug 537890. Part 8: Define MM_PER_INCH_FLOAT. r=dbaron
2010-08-13 21:57:57 +12:00
Rob Arnold
beb6ddf7e8
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
122c097a0c
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
838688f1fb
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
41b8bedd41
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
dde4dba2fd
Bustage fix of the bustage fix, bug 583053.
2010-08-16 12:38:43 -04:00
Benjamin Smedberg
937dfa414c
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
c179a09b28
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
e7ecb4fea4
Disable more intermittent reftests on D2D
2010-08-16 09:36:02 -04:00
Bas Schouten
b4cb1a06e5
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
547f4dfeaa
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
7ef58c704b
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
120c26ed9f
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
034db79f04
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
520a653dae
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
79c3db79d2
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
810d004cf3
Correct parenthesis-matching inside of :not(). (Bug 586070) r=bzbarsky a2.0=bsmedberg
2010-08-15 08:42:29 -04:00
Robert Sayre
0ab67ae195
Backed out changeset 7b475a00cd7c. Reftest bustage.
2010-08-14 21:27:43 -04:00
Robert Longson
011cb3e886
Bug 584322 - feDisplacementMap seems to be adding an offset. r=roc, a=dbaron
2010-08-14 20:42:18 -04:00
Jeff Muizelaar
dadfc555de
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
5b754a5516
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
932d88e8c5
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
b58eb91fc9
Bug 583857. Expose whether D2D is enabled to reftests. r=roc
2010-08-13 11:44:21 -04:00
Robert Sayre
f80324a33f
Merge tracemonkey to mozilla-central.
2010-08-13 12:45:44 -07:00
fantasai
de0f13939e
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
a99dabf3d1
Bug 583356 - Create Plug-in ContextMenu with a right-click mouse event. r=josh
2010-08-13 12:45:32 -04:00
Robert Sayre
ff3fd8aeaf
Merge mozilla-central to tracemonkey.
2010-08-12 10:12:04 -07:00
Robert Sayre
e0df9dbc6a
Disable the test for bug 458898. See bug 562955.
2010-08-11 09:59:54 -07:00
Olli Pettay
58fd6133b2
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
67ad9ee7ed
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
a9ff1e450d
Bug 576649. r=bzbarsky a=blocking2.0
2010-08-10 19:04:43 -03:00
Markus Stange
c107bb11a9
Bug 506826 - Fix overlapping frame state bit.
2010-08-13 18:09:58 +02:00
Robert O'Callahan
f8dc984ede
Backing out bug 584282 and bug 537890
2010-08-14 02:35:06 +12:00
Markus Stange
275faa4f5e
Bug 506826 - Tests.
2010-08-13 15:36:19 +02:00
Markus Stange
438fa8a236
Bug 506826 - Invalidate -moz-element rendering observers when necessary. r=roc
2010-08-13 15:36:13 +02:00
Markus Stange
18bccb9bd9
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
27b4c7fdf3
Bug 506826 - Hook up -moz-element painting. r=roc
2010-08-13 15:34:01 +02:00
Markus Stange
c90a203b09
Bug 506826 - Add nsSVGIntegrationUtils::DrawPaintServer for use in -moz-element drawing. r=roc
2010-08-13 15:32:27 +02:00
Markus Stange
12b1bcc7b0
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
62cafdb8cc
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
2ea78354c5
Bug 572689 - Make nsSVGRenderingObservers observe elements instead of frames. r=roc
2010-08-13 15:31:31 +02:00
Markus Stange
3df2a2ce8e
Bug 506826 - Parsing for background-image: -moz-element(#elementID). r=dbaron
2010-08-13 15:33:37 +02:00
Markus Stange
d3a1fa6d47
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
b7ae3b9683
Bug 572680 - Add nsLayoutUtils::DrawPixelSnapped. r=roc
2010-08-13 15:30:37 +02:00
Robert O'Callahan
07ca177c02
Bug 579621. Don't create widgets for chrome subdocuments of chrome windows. r=tnikkel
2010-08-13 21:57:48 +12:00
Timothy Nikkel
7e149ba847
Bug 579621. Fix print preview tests to be content subdocuments. r=roc
2010-08-13 21:57:29 +12:00
Robert O'Callahan
0b542b46ed
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
b004c93cb1
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
254458b52a
Backed out changeset 0c4519d63a98
2010-08-12 11:32:21 +12:00
Boris Zbarsky
657e764de8
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
d9188b16ef
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
4b31319f01
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
ee89e22866
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
d45401cfa4
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
462a888804
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
bc1a47c26f
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
5e2de175f2
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
86686305cb
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
fe0508e3b2
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
248a3cdc5f
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
456e9e5548
Bug 569520 part 2. Implement a mozRequestAnimationFrame/mozAnimationStartTime API. r=roc, a=joe
2010-08-11 17:05:28 -04:00
Boris Zbarsky
4de28566f3
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
b2753641df
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
b698859822
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
a76dd6006c
Bug 584866 - Cache LoadFrameScript Calls [r=jst]
2010-08-10 13:18:26 -04:00
Ehsan Akhgari
c07d2babfd
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
f246f9a00f
Backed out changeset cdd440adb726
2010-08-10 15:10:11 +02:00
Ms2ger
e0dc6046da
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
56fc2d488f
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
d5a4b2d2de
Check that frame offsets are within content. Bug 579655, r=roc, blocking2.0=dsicore
2010-08-10 10:08:59 +03:00
Jim Mathies
a4b41e665b
Bug 574454 - Add caption buttonbox css styles. r=dbaron.
2010-08-09 20:49:34 -05:00
Jim Mathies
fc610f459e
Bug 574454 - Add window frame css styles. r=dbaron.
2010-08-09 20:49:34 -05:00
Neil Deakin
fb66fae998
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
0284f4eb26
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
06836ca775
Backed out changeset ec28c1790e13 (bug 579621) for print preview test timeouts
2010-08-08 17:48:03 -07:00
Robert O'Callahan
770c98f7eb
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
e3a4bc82b8
Merge back out of changeset 86e8ec17e532 (bug 584193).
2010-08-08 16:58:59 -05:00
Timothy Nikkel
f7b17b72dc
Backed out changeset 86e8ec17e532 (bug 584193).
2010-08-08 16:58:40 -05:00
Jeff Muizelaar
e1b778434f
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
556e5abfa9
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 ' ' instead of '.'
2010-08-08 15:54:24 -04:00
Robert O'Callahan
e14c5ee113
Bug 584193. Allow print preview to work without its own widget. r=smaug
2010-08-08 13:49:07 -05:00
Timothy Nikkel
470b36c651
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
76194eb9aa
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
e9dcad73c7
Bug 579663. Part 7. Assert AppUnitsPerDevPixel is constant in container layers. r=roc
2010-08-08 13:49:07 -05:00
Timothy Nikkel
c759887052
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
308d16ff7b
Bug 579663. Part 5. Make display zoom items create a container layer. r=roc
2010-08-08 13:49:06 -05:00
Timothy Nikkel
205f53d5ac
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
714913a4d8
Bug 579663. Part 3. Use the right AppUnitsPerDevPixel for zoom items. r=roc
2010-08-08 13:49:06 -05:00
Timothy Nikkel
b96104bb22
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
bbc6dff559
Bug 579663. Part 1. Remove unused offset param from GetActiveScrolledRootFor. r=roc
2010-08-08 13:49:06 -05:00
Timothy Nikkel
495b7af67e
Bug 582754. Remove cross doc check in nsIFrame::GetOffsetTo. r=mats a=dbaron
2010-08-08 13:49:06 -05:00
Timothy Nikkel
16a985dc6e
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
f51a1285cb
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
f05b15e0e0
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
f8e75e6fb6
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
30c2b7b82c
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
a31d02e412
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
7c971976b0
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
a22ae7125c
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
4a3531738d
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
7dc883912c
Bug 580869 - bustage fix; irc stamp=bzbarsky
2010-08-06 10:49:32 -04:00
Ehsan Akhgari
c997e86b2e
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
d298284e05
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
fb72631f4c
Bug 547342 real fix. Flush on ScrollToRow. r=enn
2010-08-05 14:39:39 -04:00
Boris Zbarsky
052a2f6a83
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
fcf146ef6f
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
e8a9de31ab
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
75fe6757f3
Bump assertion count on Windows; followup to bug 563584.
2010-08-05 23:01:07 -07:00
Craig Topper
8972b3e08e
Bug 585616 - Merge nsIDOMNSCSS2Properties and nsIDOMSVGCSS2Properties into nsIDOMCSS2Properties. r=bz
2010-08-05 22:32:01 -07:00
L. David Baron
6d279b0435
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
48dd50ff36
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
50efda9d7b
Add reftests for bug 563584. (Bug 563584, patch 31) r=roc
2010-08-05 21:59:20 -07:00
L. David Baron
202767697e
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
d71021a7dd
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
875b636719
Add comment describing mIsTopOfPage better. (Bug 563584, patch 28) r=roc
2010-08-05 21:59:20 -07:00
L. David Baron
74b8b51e37
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
5239f85a39
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
bc78f1fdf5
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
5deb652621
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
d34dbc633c
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
934f7dfb67
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
b56efbfcf6
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
4a3f5d15df
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
46bdda8846
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
5247c76404
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
867d31744c
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
f3f9dbebba
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
L. David Baron
646c626078
Steal float back before reflowing it, in order to allow first continuation of a float to be pushed to the next page. (Bug 563584, patch 15) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
fd5ab03929
nsBlockFrame::ReflowFloatContinuations doesn't need anything in AddFloat other than FlowAndPlaceFloat. (Bug 563584, patch 14) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
e714f071f9
Manage float continuations to-be-pulled by the next-in-flow better by keeping them in a separate frame list until they're actually pulled. (Bug 563584, patch 13) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
99f4849c65
Track which frames were float continuations that need to be pulled to the next block rather than figuring it out again when it's time to pull them. (This allows first-in-flows to be float continuations.) (Bug 563584, patch 12) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
7c80834b1e
Make nsFrameList::RemoveFramesAfter(nsnull) remove the whole list. (Bug 563584, patch 11.5) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
4f730231c6
Don't try to clear pushed floats when computing the final size of blocks. Fixes scrollbar on layout/reftests/bugs/563584-6-columns.html . (Bug 563584, patch 11) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
fe16c37241
Add the optimization mentioned in the previous patch, so we don't have to iterate all floats to determine if one was split. (Bug 563584, patch 10) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
02c1db8436
Allow the float manager to record that a float has been pushed past a break. (Bug 563584, patch 9) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
4da470a62d
Remove initialization to value that doesn't make much sense and never matters. (Bug 563584, patch 8) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
138354b6a3
Use an AutoRestore to restore mY in nsBlockReflowState::FlowAndPlaceFloat. (Bug 563584, patch 7) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
489ed8d30b
When we're in columns (and therefore not splitting floats), push floats that don't fit to the next column. (Bug 563584, patch 6) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
08a16e6b29
Replace force-fit with setting mIsTopOfPage correctly. (Bug 563584, patch 5) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
f46f248ca8
Make nsBlockReflowState::FlowAndPlaceFloat reflow the float after computing its vertical position, so we know how much height is actually available. (Bug 563584, patch 4) r=roc
...
Test coverage for this is in the future patch "Add reftests for bug 563584.".
2010-08-05 21:59:18 -07:00
L. David Baron
353538a3ba
Most of CanPlaceFloat is unnecessary given the float placement rules (in particular, that the top of a float cannot be higher than the top of any prior left or right float) and the fact that we now split floats. (Bug 563584, patch 3) r=roc
2010-08-05 21:59:18 -07:00
L. David Baron
11f75cf522
Remove aForceFit/aRelaxHeightConstraint concept from float reflow, since we now split floats rather than push them to the next page (and correct propagation of nsHTMLReflowState::mFlags::mIsTopOfPage will force fitting when we need to). (Bug 563584, patch 2) r=roc
2010-08-05 21:59:18 -07:00
L. David Baron
a33881c053
Fix assertion about float manager state by restoring old float manager state when we place a float and then cancel that placement. (Bug 563584, patch 1) r=roc
2010-08-05 21:59:18 -07:00
L. David Baron
06135a3d37
Fix processing of matrix() transform functions to handle calc() rather than asserting. (Bug 584569) r=bzbarsky
2010-08-05 21:59:18 -07:00
L. David Baron
8e7483c7aa
Remove the MOZ_WIDGET_TOOLKIT backwards-compatibility definition in the reftest condition sandbox. (Bug 570329) r=roc
2010-08-05 21:59:18 -07:00
Chris Jones
1d4cc217ed
Bug 570620, part b: Fix a hidden header depedency and add a PresShell::GetLayerManager() helper. r=tn
2010-08-05 17:11:23 -05:00
Chris Jones
3b7ff8f6bc
Bug 570620, part a: Fix an assertion that will soon no longer hold and remove obsoleted already_AddRefed idiom in two places. r=roc
2010-08-05 17:11:23 -05:00
Boris Zbarsky
0b5df24742
Bug 582037. When computing intrinsic widths, take the viewport's dimensions into account when it has percent-height descendants. r=dbaron
2010-08-05 17:59:36 -04:00
Bobby Holley
27a2d4812b
Bug 343515 - need API for tabbrowsers to tell docshells they're visible/hidden.r=gavin,sr=bz,a=blocker
2010-08-05 11:27:52 -04:00
Daniel Holbert
f3625579d2
Bug 578786: Fix reftests for bug 491180 on Ubuntu 10.04. r=bz a=tests-only
2010-08-05 07:53:43 -07:00
Daniel Holbert
996b8e29c8
Bug 579492: Use dev pixels for screen rect in PresShell::PaintRangePaintInfo. r=roc a=dbaron
2010-08-05 07:53:43 -07:00
Jonathan Kew
f9fab4a776
bug 581092 - use unrounded width when advancing x-position to draw RTL text run in canvas. r=vlad a=blocking2.0
2010-08-05 10:18:39 +01:00
Jonathan Kew
a02799847b
bug 578118 - reduce font size in reftest to avoid D2D antialiasing irregularities. r=bas a=tests-only
2010-08-05 10:18:37 +01:00
Boris Zbarsky
b9fae2b3d2
Bug 577838. The first line baseline of a fieldset should be the first line baseline of its legend (if it has one), or of its content if it does not. r=dbaron
2010-08-04 22:40:19 -04:00
David Zbarsky
de6582a359
Remove unneeded nsIDOMNSHTMLInputElement interface by merging it into nsIDOMHTMLInputElement. (Bug 582303) r=jst
2010-08-04 22:40:18 -04:00
Ehsan Akhgari
659cc9b4af
Bug 578604 - Crash [@ nsTextControlFrame::SetInitialChildList(nsIAtom*, nsFrameList&) ] when print preview; r=roc a=blocking2.0+
2010-08-04 22:13:57 -04:00
Kyle Huey
2a2801990e
Bug 578714: Stop doing Unicode-aware case-folding inside layout/style. r=zwol sr=bz
2010-08-02 15:19:04 -07:00
Zack Weinberg
40a9b87efe
Bug 581579: fix error recovery in parsing of CSS priority suffix. r+a=dbaron
2010-08-04 12:27:05 -07:00
Zack Weinberg
d32d8b4b6e
Bug 338679: mark style declarations immutable if they are stringified. r=bzbarsky a=dbaron
2010-08-02 15:40:35 -07:00
Zack Weinberg
a6b8c9b603
Bug 569719 part 16: Don't refcount declarations and data blocks; don't have style rules hold direct pointers to data blocks. r+a=dbaron
2010-07-23 11:00:52 -07:00
Zack Weinberg
b8130b3679
Bug 569719 part 15: Always copy the entire css::Declaration before changing it in any way. r=dbaron
2010-07-23 11:00:49 -07:00
Zack Weinberg
d16aea72e1
Bug 569719 part 14: replace DeclarationChanged() with SetCSSDeclaration(), which takes the new declaration as an argument. r=dbaron
2010-07-23 11:00:47 -07:00
Zack Weinberg
39c4539636
Bug 569719 part 13: move nsCSSParser methods that manipulate data blocks into the appropriate nsCSS*DataBlock classes. r=dbaron
2010-07-23 11:00:44 -07:00
Zack Weinberg
af2031e447
Bug 569719 part 12: replace nsCSSParser::ClearTempData with explicit use of mTempData.ClearProperty (and make that method handle shorthands). r=dbaron
2010-07-23 11:00:42 -07:00
Zack Weinberg
bfd2ecb93e
Bug 569719 part 11: take the fast path in ParseProperty for !important replacing !important, as well as normal replacing normal. r=dbaron
2010-07-23 11:00:39 -07:00
Zack Weinberg
604c8c3c12
Bug 569719 part 10: refactor parsing of !important and the end of a property declaration. r=dbaron
2010-07-23 11:00:37 -07:00
Zack Weinberg
6873de67ec
Bug 569719 part 9: remove return value from css::Declaration methods that always return NS_OK, and change GetCSSDeclaration to return a css::Declaration instead of an nsresult. r=dbaron
2010-07-23 11:00:34 -07:00
Zack Weinberg
b9547bdd5e
Bug 569719 part 7: Add AppendToString methods to nsCSSRect and friends as well, replacing Declaration::AppendStorageToString. r=dbaron
2010-07-23 11:00:29 -07:00
Zack Weinberg
b87b69a229
Bug 569719 part 6: Move Declaration::AppendCSSValueToString into nsCSSValue. r=dbaron
2010-07-23 11:00:27 -07:00
Zack Weinberg
a0acc46ce4
Bug 569719 part 5: in nsCSSValueList and nsCSSValuePairList, convert Equal() to operator==, and remove unnecessary argument from Clone(). r=dbaron
2010-07-23 11:00:24 -07:00
Zack Weinberg
1e5ad912e8
Bug 569719 part 4: Move nsCSSExpandedDataBlock::RuleDataPropertyAt into struct nsRuleData. r=dbaron
2010-07-23 11:00:21 -07:00
Zack Weinberg
b2480f1b17
Bug 569719 part 3: collapse nsDOMCSSDeclaration::ParseDeclaration into its sole caller (nsDOMCSSDeclaration::SetCSSText); remove always-constant flag arguments to nsCSSParser::ParseAndAppendDeclaration; rename that method to ParseDeclarations. r=dbaron
2010-07-23 11:00:19 -07:00
Robert O'Callahan
706d94d7e3
Bug 580834. Make nsLayoutUtils::GetActiveScrolledRoot stop at the nearest popup ancestor instead of asserting. r=tnikkel,a=dbaron
2010-08-13 22:03:51 +12:00
Robert O'Callahan
9eb991d75a
Bug 584282. Use nsDisplayItem::ToReferenceFrame() instead of calling nsDisplayListBuilder::ToReferenceFrame, wherever possible. r=tnikkel,a=dbaron
2010-08-13 22:01:58 +12:00
Robert O'Callahan
6ea38bb418
Bug 584282. Add nsDisplayItem::mToReferenceFrame and initialize it in the constructor. r=tnikkel,a=dbaron
2010-08-13 22:01:13 +12:00
Robert O'Callahan
a4ddd253a6
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
f3efde653e
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
f9627dc357
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
ec0ed23afc
Bug 537890. Part 6: Switch DPI dynamically when the window moves across screens or the screen mode changes. r=dbaron
2010-08-13 21:58:02 +12:00
Robert O'Callahan
3e8e830840
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
bd0e4c32ea
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
973ebcc0ad
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
af7fdb42ac
Bug 537890. Part 8: Define MM_PER_INCH_FLOAT. r=dbaron
2010-08-13 21:57:57 +12:00
Jeff Muizelaar
ff12cb537d
Bug 584400. cairo: Fix dash arrays with D2D
...
D2D unexpectedly uses dash lengths with
units of the line width.
2010-08-04 15:00:52 -04:00
Jim Mathies
f0c2ed6fd9
Bug 579421 - Title bar(window without body) appears at the upper left corner of monitor screen. r=roc. (CLOSED TREE)
2010-08-03 22:36:19 -07:00
Robert O'Callahan
44555f22b8
Bug 580494. Avoid creating an empty ThebesLayer when an inactive nsDisplayItem::BuildLayer returns null. r=tnikkel
...
--HG--
extra : rebase_source : a22225bb3b5c2bbc12ab2f9b50594083143dbdf0
2010-08-03 15:33:24 +12:00
Jeff Muizelaar
ea56218085
Bug 518172. Fix the status of the 518172 reftests
...
I forgot to mark these reftests as passing after fixing
Bug 518172.
2010-08-02 11:04:36 -04:00
Felipe Gomes
b22f93cd13
Bug 575328 - Fix for search suggestions box appears on wrong monitor in multiple monitor environment when window is maximized. r=enndeakin.
2010-08-02 10:06:04 -05:00
Felipe Gomes
8d9b3f1877
Bug 508906. Add experimental MozTouch events. r=smaug,jimm
2010-08-02 15:34:54 +02:00
Robert O'Callahan
a637266b80
Fix reftest for bug 579349
2010-08-02 16:07:44 +12:00
Robert O'Callahan
91595e761f
Bug 580160. Test plugin needs to invalidate itself if its size changes. r=josh
2010-08-02 15:07:07 +12:00
Matt Woodrow
a580694478
Bug 505115. Use layers to render active 2D transforms. r=roc,dbaron
2010-08-02 15:07:04 +12:00
Robert O'Callahan
df40488589
Bug 582467. With accelerated layer backends, we should always treat video layers as active to avoid having to read back; no point in saving composition costs on those backends anyway. r=vlad
2010-08-02 15:06:58 +12:00
Robert O'Callahan
6f767dbf3d
Bug 581317. DoApplyRenderingChangeToTree needs to invalidate the ThebesLayer contents of descendants. r=tnikkel
2010-08-02 15:06:58 +12:00
Robert O'Callahan
01e41cf67d
Bug 579349. Track the 'drawn region' of content in layers, whhich ignores visibility, and use it to determine which layer a display item should be placed in. r=tnikkel
2010-08-02 15:06:58 +12:00
Robert Sayre
d580edd975
Merge mozilla-central to tracemonkey.
2010-07-31 14:19:27 -07:00
Olli Pettay
ae117d70c6
Bug 576075, stricter tree selection handling, r=enndeakin
...
--HG--
extra : rebase_source : ea68e33207720ee4193642aaf0749c9939cc12d2
2010-07-31 21:22:29 +03:00
Olli Pettay
dbf47e982c
Bug 576070, stricter tree column handling, r=neil
...
--HG--
extra : rebase_source : 15c91e8cb1c07abb5a6348711bf9cca0d0c20aaf
2010-07-31 21:18:22 +03:00
Craig Topper
a53310509d
Bug 579830 - Change nsCOMPtr<Element> to nsRefPtr<Element>. Change one location that was QIing to Element. r=bz a2.0=benjamin
...
--HG--
extra : rebase_source : db2a1a863ed6c646ef8eb850eaf93b64b4552be7
2010-07-30 20:44:45 -07:00
L. David Baron
c06c57f6e6
Fix bustage from bug 570329 with s/windowsWidget/winWidget/g.
2010-07-30 20:50:52 -07:00
Craig Topper
1d7405b4e7
Remove aTag argument from nsICSSPseudoComparator::PseudoMatches. (Bug 576794) r=bzbarsky a2.0=bsmedberg
2010-07-30 16:48:57 -07:00
Craig Topper
fec95b227d
Remove QueryFrame support for nsICSSPseudoComparator. (Bug 576794) r=bzbarsky a2.0=bsmedberg
2010-07-30 16:48:57 -07:00
Craig Topper
18988cb740
DeCOMtaminate nsICSSPseudoComparator::PseudoMatches method signature. (Bug 576794) r=bzbarsky a2.0=bsmedberg
2010-07-30 16:48:57 -07:00
L. David Baron
9cc2e9ec05
Switch reftest manifests to new, shorter syntax for widget toolkit tests. (Bug 570329) a2.0=tests
...
This patch was created by running the following sed commands:
s/MOZ_WIDGET_TOOLKIT=="\(gtk2\|cocoa\|qt\|windows\)"/\1Widget/g
s/MOZ_WIDGET_TOOLKIT!="\(gtk2\|cocoa\|qt\|windows\)"/!\1Widget/g
on all *.list files in the tree.
2010-07-30 16:48:57 -07:00
Phil Ringnalda
836279228e
Bug 569623 - Mark reftests/bidi/bidi-004.html, reftests/bidi/bidi-004-j.html and reftests/bidi/mirroring-02.html as passing on Linux, since the CentOS boxes where they failed are gone (relanding to fix bug 578286) a2.0=tests
2010-07-30 16:48:57 -07:00
L. David Baron
e0b8d226cd
Make zwnj-01 have a background color so that the SVG filter works correctly. (Bug 581081) r=jfkthame a2.0=tests
2010-07-30 16:48:57 -07:00
Makoto Kato
2732a9078d
Bug 578588 - Test suite may not work correctly on Win64 because navigator.platform is Win64. r=sayrer, a=Test Only
2010-07-30 17:18:45 +09:00
Kyle Huey
9c0bd4c0a5
Backed out changeset 9e87c3efc33b
2010-07-29 16:01:41 -07:00
Kyle Huey
17533df9bd
Bug 578714: Stop doing Unicode-aware case-folding inside layout/style. r=zwol sr=bz
...
--HG--
extra : rebase_source : 7d5f43bf8d7d109c9669db68589e26554df9a250
2010-07-29 12:41:04 -07:00
Kyle Huey
8ba5a6053c
Bug 581868: Remove nsIPrivateDOMImplementation. r=jst
...
--HG--
extra : rebase_source : 4e329c8b48034db725a1120094ec721d607dcb85
2010-07-29 12:23:13 -07:00
Kyle Huey
cc25e38cd5
Bug 575043: Remove internal uses of nsICaseConversion. r=smontagu sr=roc
...
--HG--
extra : rebase_source : f95ad3f21a95e354324e1524c378cad7146f3241
2010-07-29 12:22:16 -07:00
Timothy Nikkel
26feee5b65
Backed out changeset 9e290d196600 (bug 574621) for causing test failures.
2010-07-29 15:16:40 -05:00
Robert O'Callahan
5c284f8466
Bug 574621. Make sure top level content documents get an opaque background. (patch modified to review comments by romaxa) r=tnikkel
2010-07-29 14:12:46 -05:00
Steffen Imhof
a4facb8ffc
Bug 578693 - Transport of key events to plugin in window-less case is incomplete for Qt backend r=dougt
2010-07-28 18:05:32 -07:00
Robert Sayre
073bde8d2b
Merge mozilla-central to tracemonkey.
2010-07-30 21:57:41 -07:00
Jeff Walden
b22a1c4599
Bug 571062 - Add slow-test annotation functionality to reftest and the JS test harness. r=dbaron, r=dmandelin
2010-07-13 18:04:29 -05:00
L. David Baron
a539512caf
Clean up messy line thanks to new operator from bug 570912. (Bug 582111) r=bzbarsky
2010-07-28 16:43:53 -07:00
L. David Baron
18dff75787
Make the transitions style rule hold on to its values and thus preserve rule immutability. Do this by reusing the code for the covering style rule for both transitions style rule types. (Bug 582111) r=bzbarsky
2010-07-28 16:43:53 -07:00
David Zbarsky
f1c4604ccc
Remove unneeded nsIDOMNSHTMLSelectElement interface by merging it into nsIDOMHTMLSelectElement. (Bug 582303) r=jst
2010-07-28 16:43:52 -07:00
Jeff Walden
d81f0c30eb
Back out b17c8b926585, seems to not work any more. :-\
2010-07-27 18:23:30 -07:00
Jeff Walden
561338434b
Bug 571062 - Add slow-test annotation functionality to reftest and the JS test harness. r=dbaron, r=dmandelin
2010-07-13 18:04:29 -05:00
Ginn Chen
8f3c78f577
Bug 580546 FrameLayerBuilder.cpp failed to compile with Sun Studio 12 r=roc a=bsmedberg
2010-07-27 17:20:55 +08:00
Robert Longson
2316d387ff
Backout Bug 578309 due to mochitest failures
2010-07-27 09:35:54 +01:00
Robert Longson
c28d8f49a4
Bug 578309 - mask and clipPath applied to foreignObject are translated. r=roc a=blocking
2010-07-27 08:33:01 +01:00
Clint Talbert
ad556ab54f
Bug 580418 Fix remote reftests to start their own httpd.js webserver r=jmaher
2010-07-26 18:43:34 -07:00
Clint Talbert
d2fb12a794
Bug 573694 Optionally allow reftest harness to write output to log file for android r=dbaron
2010-07-26 18:43:33 -07:00
Bobby Holley
ff6a2fbd06
Bug 578511 - Canvas API to disable sync decoding of images.r=roc,sr=vlad
2010-07-26 17:20:45 -04:00
Kyle Huey
c83653fee9
Bug 508082: Implement a raw video decoder. Based on an earlier patch by Brad Lassey. r=doublec
2010-07-26 12:35:16 -07:00
Craig Topper
432b14f38e
Bug 580902 - Remove "using namespace mozilla;" from nsSVGElement.h and fixup the places that relied on it. r=jwatt
2010-07-25 17:25:38 -07:00
Timothy Nikkel
c73671f6fd
Bug 538308. Record that this crashtest asserts.
2010-07-25 14:27:01 -05:00
Timothy Nikkel
f7c5754ce0
Bug 542136. Add crashtest.
2010-07-25 13:10:31 -05:00
Timothy Nikkel
5f651e3e38
Bug 538308. Add crashtest.
2010-07-25 13:10:31 -05:00
Timothy Nikkel
c3a3665cf1
Bug 489868. Add reftest.
2010-07-25 13:10:31 -05:00
Joe Drew
a3756ff597
Bug 572520: step 2.3: make the bug 445810 tests not assume that finishing the load of one image implies that all images have finished loading. r=dbaron
2010-07-28 14:51:37 -07:00
Joe Drew
71e9119ff3
Bug 572520: step 2.2, mark up the background draw nothing tests as getting another assertion. r=dbaron
2010-07-28 14:51:37 -07:00
Joe Drew
4eb41b2998
Bug 572520: step 2.1, mark up the table background reftests as asserting on gtk2 due to bug 527825. r=dbaron
2010-07-28 14:51:37 -07:00
Joe Drew
e2f082fe40
Bug 572520: step 2.0, fix the visited image loading tests to poll for the images to load; just waiting for a draw isn't enough. r=dbaron
2010-07-28 14:51:37 -07:00
Jonathan Kew
7e2508ad96
bug 575695 - reftest - verify that legacy 'kern' table is supported. r=jdaggett
2010-07-28 14:36:00 +01:00
Jonathan Kew
b29f1fcb87
enable variation selector reftest on OS X (for bug 569350). r=jdaggett a=test-only
2010-07-28 10:30:23 +01:00
John Daggett
d34d0c5116
Bug 551871. Correct font-weight handling and add large set of font-weight reftests. r=jkew, a=joe
2010-07-28 14:30:21 +09:00
Ian Spence ext:(%2C%20Michael%20Monreal%20%3Cmichael.monreal%2Bmoz%40gmail.com%3E)
fefa76bb2b
Bug 412773 - Implement -moz-appearance: button-arrow-up/down/next/previous and use them in the find bar and for expander buttons. r=roc, r=dao, ui-r=faaborg
2010-07-27 16:57:47 +02:00
Neil Deakin
577d80fba3
Bug 552982, Part 9, support close buttons on popups with titlebars, r=neil
2010-07-27 09:38:04 -04:00
Neil Deakin
e2850ec910
Bug 552982, Part 8, support labels on popups with titlebars, r=neil
2010-07-27 09:38:04 -04:00
Neil Deakin
22a92d13e6
Bug 552982, popups with titlebars tests
2010-07-27 09:38:04 -04:00
Neil Deakin
87921c3c7d
Bug 552982, Part 5: support for titlebars on panels, r=mats,sr=roc
2010-07-27 09:38:03 -04:00
Neil Deakin
20eab8552e
Bug 552982, Part 4: change nsXULPopupManager::GetVisiblePopups to also return noautohide panels, r=mats
2010-07-27 09:38:03 -04:00
Neil Deakin
904a84dffc
Bug 552982, Part 3: support panel levels, r=mats
2010-07-27 09:38:03 -04:00
Neil Deakin
a4a74fb3d1
Bug 552982, Part 2: update the popup when it is moved or resized natively, r=mats
2010-07-27 09:38:02 -04:00
Neil Deakin
dba0fd9313
Bug 552982, Part 1: change nsXULPopupManager::AdjustPopupsOnWindowChange so that it only adjusts popups associated with the same window, r=mats
2010-07-27 09:38:02 -04:00
Robert O'Callahan
c3ee8486fe
Bug 579264. Ensure that ApplyRenderingChangeToTree repaints popup descendants of the frame. r=bz
2010-07-24 21:38:55 +12:00
Robert O'Callahan
5eaac34d84
Bug 579250. Revamp unified-titlebar interface so that we can tell nsNativeThemeCocoa about toolbars even if they're not actually painted. r=mstange
2010-07-24 21:35:29 +12:00
Kyle Huey
cc5305fe73
Bug 567323: Layout bindings for camera. r=sicking sr=roc
2010-07-23 14:35:51 -07:00
Benjamin Smedberg
8850ffa6eb
Back out bug 567323 because of consistent Mochitest-4 errors:
...
1530 ERROR TEST-UNEXPECTED-FAIL | /tests/layout/forms/test/test_bug411236.html | Test timed out.
1578 ERROR TEST-UNEXPECTED-FAIL | /tests/layout/forms/test/test_bug534785.html | Test timed out.
1702 ERROR TEST-UNEXPECTED-FAIL | /tests/layout/forms/test/test_bug563642.html | Test timed out.
1709 ERROR TEST-UNEXPECTED-FAIL | /tests/layout/forms/test/test_bug564115.html | Test timed out.
2010-07-23 16:16:39 -04:00
Kyle Huey
bd7e024cac
Bustage fix for Bug 567323
2010-07-23 11:24:49 -07:00
Kyle Huey
4526526765
Bug 567323: Layout bindings for camera. r=sicking sr=roc
2010-07-23 10:58:58 -07:00
Olli Pettay
abf43f852b
Bug 566466 - speed up createElement(), r=jst, peterv
2010-07-23 12:49:57 +03:00
Karl Tomlinson
32893e4a5b
revert most of acb4d17b70cd from bug 573933 to reenable -moz-appearance testing with bug 576143
...
--HG--
extra : rebase_source : 1ca78ffb1c791fac5cb89b94baf5a9d819da16ff
2010-07-23 10:48:15 +12:00
Karl Tomlinson
fb689d79eb
b=580440 use native-rendering temp surfaces only as large as necessary r=roc a2.0=beltzner
...
--HG--
extra : rebase_source : 53788fe162ea7ef0c8b4190a08801cbd276e702b
2010-07-23 10:25:19 +12:00
Boris Zbarsky
e52f354298
Bug 580685. We might not have a root element to resolve 'rem' against. r=dbaron
2010-07-22 17:33:37 -04:00
Justin Lebar
445d3bb942
Bug 581051 - Move selection.modify() from nsISelection.idl into nsISelection3.idl. r,approval2.0=jst
...
--HG--
extra : rebase_source : 9008b467241f21bc66d5fca734d916400d21e3b2
2010-07-22 11:02:06 -07:00
Masayuki Nakano
660981e020
Bug 389372 - Contenteditable node is still editable without focus; r=ehsan,masayuki,roc sr=jst a=blocking-2.0:betaN+
2010-07-22 12:22:44 -04:00
Ehsan Akhgari
ac64050109
Bug 569397 - Eagerly initialize the input controls with spellcheck="true"; r=roc ui-r=faaborg approval2.0=benjamin
2010-06-02 22:39:29 -04:00
Jonathan Kew
2f92ddc5b8
bug 577380 - use Core Text shaping for fonts requiring AAT layout on Mac OS X. r=jdaggett
2010-07-22 10:25:21 +01:00
Jonathan Kew
15ab663f0e
bug 511339 followup - add reftests for font feature control. r=jdaggett a=tests-only
2010-07-22 10:25:20 +01:00
Mounir Lamouri
dbf929d752
Bug 549475: Implement HTML5-specified value sanitization algorithm for HTMLInputElement. r=sicking,ehsan,bsmedberg sr=jst
...
--HG--
rename : layout/reftests/editor/newline-1.html => layout/reftests/editor/newline-4.html
2010-07-21 02:11:19 +02:00
Ehsan Akhgari
436482ad96
Bug 576342 - Intermittent Windows Cd failure: "REFTEST TEST-UNEXPECTED-PASS | reftest/tests/layout/generic/crashtests/463741-1.html | assertion count 3 is less than expected 4 assertions"; r=Jesse
2010-07-21 20:47:04 -04:00
Masayuki Nakano
d7540e477b
backout the previous my check-ins
2010-07-22 11:11:34 +09:00
Masayuki Nakano
742e98c291
Bug 389372 Contenteditable node is still editable without focus r=ehsan+roc, sr=jst
2010-07-22 08:46:52 +09:00
Craig Topper
b9673b8709
Bug 577438 Part 1: Add previous sibling to nsIMutationObserver::ContentRemoved. r=sicking
2010-07-21 15:05:17 -07:00
Chris Jones
544264704f
Bug 567421, part 2: Implement Dump[Self](FILE*) and Log[Self]() methods for layers. r=roc
2010-07-21 13:06:33 -05:00
Kyle Huey
9dc5e5c187
Bug 574570: Followup to address missed review comment.
2010-07-21 09:12:19 -07:00
Kyle Huey
ffc8573b3d
Bug 574570: Parse the 'accept' attribute in accordance with the HTML5 spec. r=sicking,volkmar
2010-07-21 09:07:55 -07:00
Boris Zbarsky
93922db9e1
Bug 578696 part 11. Stop holding strong refs when calling ContentRemoved and remove the now-unused IMPL_STRONGREF_MUTATION_NOTIFICATION macro. r=sicking
2010-07-21 11:37:41 -04:00
Boris Zbarsky
998b474e42
Bug 578696 part 9. Stop holding strong refs when calling ContentAppended. r=sicking
2010-07-21 11:33:32 -04:00
Boris Zbarsky
8cfe0849e3
Bug 578696 part 8. Stop holding strong refs when calling AttributeChanged. r=sicking
2010-07-21 11:33:32 -04:00
Boris Zbarsky
b8256cdb51
Bug 578696 part 4. Stop holding strong refs when calling NodeWillBeDestroyed. r=sicking
2010-07-21 11:33:32 -04:00
Boris Zbarsky
e484008628
Reenable this test now that bug 556124 is fixed.
2010-07-19 23:57:27 -04:00
Robert O'Callahan
163349d538
Bug 579262. Fix logic around mNeedsToUpdatePluginGeometry so we don't miss updating geometry for some plugins. r=tnikkel
2010-07-20 13:29:29 +12:00
Robert O'Callahan
2608584bee
Bug 562833. Set proper alignment for display items. r=dbaron
2010-07-20 13:29:25 +12:00
Zack Weinberg
76dbdde0f4
Bug 569719 part 2: Move headers for the former nsCSSLoader and nsCSSDeclaration into mozilla/css/. r=dbaron
...
--HG--
rename : layout/style/nsCSSDeclaration.cpp => layout/style/Declaration.cpp
rename : layout/style/nsCSSDeclaration.h => layout/style/Declaration.h
rename : layout/style/nsCSSLoader.cpp => layout/style/Loader.cpp
rename : layout/style/nsCSSLoader.h => layout/style/Loader.h
2010-06-28 15:49:35 -07:00
Zack Weinberg
9c006a4ff7
Bug 569719 part 1: Rename nsCSSDeclaration to mozilla::css::Declaration. r=dbaron
2010-06-28 15:49:35 -07:00
Boris Zbarsky
7b4527a47c
Bump the mac assert count too. Bug 579940.
2010-07-19 13:28:45 -04:00
Boris Zbarsky
b90e9bf3ec
Bug 441669. Look for our flow by starting at the cached location and moving out, instead of always searching in one direction and then in the other. r=roc
2010-07-19 11:55:19 -04:00
John Daggett
fe417e2e32
Bug 563023. Fix Postscript local lookup to match ref. r=jkew
2010-07-19 17:05:10 +09:00
Boris Zbarsky
8411019bb0
Bump the assertion counts, since they seem to be timing-dependent now that we're not flushing layout onload.
2010-07-19 01:09:11 -04:00
Timothy Nikkel
3d5bb058f6
Bug 572296. Default the position to open the context menu to the top left of the document. r=mats
2010-07-18 21:23:48 -05:00
Timothy Nikkel
53403c062e
Bug 563878. Part 17. Use nsIFrame::GetNearestWidget to simplify some code. r=mats
2010-07-18 21:23:48 -05:00
Timothy Nikkel
a33080b47d
Bug 563878. Part 16. Switch nsMenuPopupFrame::SetPopupPosition to using the new API to convert app units. r=mats
2010-07-18 21:23:48 -05:00
Timothy Nikkel
eaf04d25f4
Bug 563878. Part 15. Fix GetOffsetTo callsites. r=mats
2010-07-18 21:23:48 -05:00
Timothy Nikkel
8d58defa7a
Convert to calls of GetOffsetTo from retained layers to GetOffsetToCrossDoc. r=roc on irc
2010-07-18 21:23:48 -05:00
Timothy Nikkel
25663b3497
Bug 563878. Part 13. Implement zoom display list item to handle document hierarchies where zoom is not constant. r=mats sr=roc
2010-07-18 21:23:48 -05:00
Timothy Nikkel
b364da1a00
Bug 563878. Part 12. Change the view observer interface and overhaul painting in view/. r=mats f=roc
2010-07-18 21:23:47 -05:00
Timothy Nikkel
3317cb6848
Bug 563878. Part 11. Rework the synth mouse move code. r=mats
2010-07-18 21:23:47 -05:00
Timothy Nikkel
b131ad775d
Adjust comment. r=roc on irc
2010-07-18 21:23:47 -05:00
Timothy Nikkel
460def762d
Bug 563878. Part 7. Change frame, point, rect, region APIs. r=mats sr=roc
2010-07-18 21:23:47 -05:00
Henri Sivonen
5bf17b6fc0
Bug 552938 - Implement the SVG load event in text/html, make the SVG load event in XML async and only supported on <svg>. (Also disable/tweak 2 broken tests) r=dholbert, sr=roc
2010-07-18 15:07:54 -07:00
Daniel Holbert
afe13ab23c
Bug 578459: Add a comment to currently-unused file svgBindings.xml to indicate why it hasn't been removed. [comment-only change] r=jwatt
2010-07-18 15:07:54 -07:00
Craig Topper
f720fbc615
Bug 575901 - DeCOMtaminate nsIStyleRuleProcessor method signatures. r=bz
2010-07-18 23:20:40 +02:00
Craig Topper
686470fa78
Bug 575900 - Remove unneeded QIs from CSS Rule classes. r=bz
2010-07-18 22:23:12 +02:00
Craig Topper
dcd5047456
Bug 571946 - Let nsICSSRule::GetType return the type as a PRInt32 type instead of taking an outparam for that. r=bz
2010-07-18 16:39:20 +02:00
Daniel Holbert
d3bbc8420f
Bug 579588: mark recently-checked-in sporadically-failing test as random, pending investigation in this bug.
2010-07-18 04:18:59 -07:00
Robert Longson
f098d16c9b
Bug 487649 - Markers handle viewBox and preserveAspectRatio badly. r=jwatt
2010-07-18 11:06:03 +01:00
Robert Longson
dc3a420c38
Bug 577475 - polygon end marker should be at the same point as the start marker. r=jwatt
2010-07-18 10:59:11 +01:00
Josh Aas
4e23705cc3
Bug 579516: Patch contains a number of fixes to nsPluginStreamListenerPeer memory management. Also moves storage of the stream array for cache lookups to the plugin instance rather than the instance tag. Also stops adding streams to the cached list that shouldn't be there. r=benwa
2010-07-17 19:47:29 -04:00
Jonathan Kew
4532b376c3
bug 579414 - use sans-serif font and modify text to avoid Win7 random orange due to clipped antialiasing pixels [test-only fix]
2010-07-17 13:38:36 +01:00
Michael Ventnor ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
d512b62fb4
Bug 566480 - Make dragging the menubar drag the window on GTK themes where that should work (and also fix GTK resize drags to initialize drag better). r=karlt,dbaron,enn,dao
2010-07-17 10:11:54 +02:00
Mounir Lamouri
c2a6183ea7
Bug 565272: Implement the accept attribute for audio/*, video/*. r=sicking
2010-07-17 00:00:28 -07:00
L. David Baron
b2810df4d9
Append style sheets from binding manager when ensuring unique inner on all sheets. (Bug 578810) r=bzbarsky
2010-07-16 22:36:34 -07:00
L. David Baron
cb0b167ba1
Fix typo in comment as followup from bug 531344.
2010-07-16 22:36:34 -07:00
Daniel Holbert
224e9637ed
Bug 579414: Revert attempted randomorange test-fix, since it didn't completely fix the sporadic failure. [tests only]
2010-07-16 22:07:06 -07:00
John Daggett
cb61376976
Bug 578022. Cleanup font deactivation code on Windows. r=jkew
2010-07-17 10:32:18 +09:00
Daniel Holbert
7326fc5be2
Bug 579414: Use sans-serif font to work around win7 randomorange due to clipped serif-antialiasing. Test-only fix, a=dholbert_sheriff for landing on a CLOSED TREE
2010-07-16 16:25:49 -07:00
Jonathan Watt
fe8a477f84
Bug 515116. DeCOMify SVG length-list, and implement SMIL animation of length-list. r=longsonr, r=dholbert, sr=roc
2010-07-16 22:42:12 +01:00