Commit Graph

3746 Commits

Author SHA1 Message Date
Mats Palmgren
d1fcc7c337 Bug 752953 - Typo in calculation of 'allowExpansion' (result will always be an empty rect) in nsDisplayScrollLayer::ComputeVisibility. r=roc 2012-05-09 21:53:15 +02:00
Ehsan Akhgari
2be6b796b2 Bug 612128 - Prevent the editor from modifying nodes which are not under an editing host; r=roc,bzbarsky
This patch ensures that the NODE_IS_EDITABLE flag is only set on nodes living
under an editing host.  Things like text controls which used to have that flag
previously will not have it any more.  The flag would be set on their anonymous
div node instead.  Note that if text controls actually fall under an editing
host, they will get the NODE_IS_EDITABLE flag.

This patch also makes nsHTMLEditor::IsEditable return sane results (text nodes
are always considered to be editable).
2010-11-16 15:45:49 -05:00
Nathan Froyd
b55f7f45cf Bug 747508 - Count PresContexts in about:memory; r=njn 2012-05-07 16:09:11 -04:00
Simon Montagu
3c6ba27d3b Make unicode-bidi: [-moz-]plaintext apply to inline elements. Bug 746987, r=roc 2012-05-09 11:44:52 +03:00
Jeff Muizelaar
3efeae39c6 Bug 753058. Add SAMPLE_LABELS for shadows. r=ehsan
This will make this things more obvious on the profile.
2012-05-08 18:10:02 -04:00
Chris Pearce
cad06a23d5 Bug 716107 part 3 - Don't dispatch 'MozShowFullScreenWarning' event upon keypress in DOM fullscreen mode. r=smaug 2012-05-09 09:47:18 +12:00
Chris Pearce
43c670b220 Bug 716107 part 2 - Remove full-screen-api.key-input-restricted keys pref. r=smaug 2012-05-09 09:47:18 +12:00
Simon Montagu
9962f91da3 Fix some cases where a bidi-isolated element was never going through bidi resolution. Bug 731594, r=roc 2012-05-08 09:22:38 -07:00
Makoto Kato
6bbd48cb4a Bug 249159 - Part 2 Implement CSS3 Text word-break property. r=dbaron, smontagu 2012-05-07 12:18:23 -07:00
L. David Baron
7adc6bba00 Reflow for screen size change when font.size.inflation.minTwips is set. (Bug 747231, patch 4) r=roc
--HG--
extra : transplant_source : %B2c%F2%B9%E0%1DL%DD%AF%A2%842R%F3%BB%60R%1B%9EI
2012-05-05 15:28:06 +02:00
L. David Baron
d875dda857 Expose DocumentViewerImpl::CallChildren with an API that fills an array. (Bug 747231, patch 3) r=roc
--HG--
extra : transplant_source : %FFc%40%AE%D6%22%40%1D%7F%F7%A8%BC%1A%ECG%98G%DCFf
2012-05-05 15:25:45 +02:00
L. David Baron
0b46653dbb Cache the last device width we used for font inflation on the pres context so that we can track when it changes. (Bug 747231, patch 2) r=roc
--HG--
extra : transplant_source : %19%A1%9B%BC%FD_H%5C%60%BB%88%1E%F6%D1%D5%85%24%F7%26%1B
2012-05-05 15:25:45 +02:00
Scott Johnson
77bfda7fb2 Bug 749186: Make the root frame always be an inflation container to prevent a crash during font inflation. [r=dbaron] 2012-05-04 12:08:23 -05:00
Ed Morley
01d2ddd5d5 Backout 5c35cd6f3ea4 & ba39b0822992 (bug 607417) for native Android R1 failures 2012-05-04 14:26:09 +01:00
Robert O'Callahan
8d789110c9 Bug 607417. Improve definition of the 'fixed layer' flag. r=tnikkel
--HG--
extra : rebase_source : f68d53736e65c21a30a6248abe6b2b9ec32cdb17
2012-05-04 17:00:57 +12:00
Robert O'Callahan
65e34332be backing out patches for bug 607417 due to build bustage 2012-05-04 17:29:05 +12:00
Robert O'Callahan
9367097525 Bug 607417. Improve definition of the 'fixed layer' flag. r=tnikkel 2012-05-04 17:00:57 +12:00
Phil Ringnalda
5d8ce3ee63 Bug 738803 - Annotate the Windows assertions in 736924-1.html now that compartment-per-global has made them permanent on Win7 2012-05-03 19:48:06 -07:00
Mats Palmgren
6c78ae7c6b Bug 751227 - Remove nsPresShell::mStackArena, make it a separate stack class. r=roc 2012-05-04 02:14:02 +02:00
Mats Palmgren
dbb5859abd Bug 750745 - Allocate nsLineBoxes from their own presshell arena list. part=3/3 r=roc 2012-05-04 02:14:02 +02:00
Mats Palmgren
8582ded41c Bug 750745 - Introduce AllocateByObjectID/FreeByObjectID for allocating non-frame objects from per-type lists in the PresArena. part=2/3 r=roc 2012-05-04 02:14:02 +02:00
Mats Palmgren
125932d5d4 Bug 750745 - Rename nsPresArena::AllocateByCode/FreeByCode to AllocateByFrameID/FreeByFrameID. part=1/3 r=roc 2012-05-04 02:14:02 +02:00
Andreas Gal
407c0b936a Do background image scaling on the GPU. Part 2: Support turning simple background images into image layers (bug 750172, r=roc). 2012-05-03 13:13:12 -07:00
Andreas Gal
5d949cc38a Do background image scaling on the GPU. Part 1: Refactor nsCSSRendering to expose helpers we need in nsDisplayBackground::GetLayerState (bug 750172, r=roc). 2012-05-03 13:11:57 -07:00
Andreas Gal
dceb01a952 Do image scaling on the GPU (bug 650988, r=roc,cjones). 2012-05-03 07:05:55 -07:00
Nicholas Cameron
5cc1397fe6 Bug 716439; load a mask texture in the OGL backend. r=BenWa 2012-03-19 09:08:49 +13:00
Nicholas Cameron
7d91b411ee Bug 716439; creating mask layers. r=roc 2012-02-08 11:27:44 +13:00
Nicholas Cameron
3256b79a37 Bug 716439; recycling mask layers. r=roc 2012-02-08 11:26:40 +13:00
Nicholas Cameron
5c54eddf89 Bug 716439; User data for mask layers. r=roc 2012-02-08 11:26:33 +13:00
Robert O'Callahan
cb8220ad18 Bug 749075. Part 2: Skip the guts of Accumulate if we're adding a display item in an area of the layer that's already opaque and visible. r=mattwoodrow
This patch moves some stuff that needs to be done for every item up to the front of the function, then checks to
see if the item is being added in an area that's already opaque and visible. If so (and assuming the
color-layer optimization has already been disabled), none of the rest of the method would do anything so we
can exit early. In particular we avoid calling IsUniform and GetOpaqueRegion on the item, and we also avoid
some expensive region manipulation.
2012-05-03 16:29:05 +12:00
Robert O'Callahan
3e0ac701ac Bug 749075. Part 1: Refactor the nsDisplayItem API for testing whether the item needs to be rendered to a transparent surface. r=mattwoodrow
Currently we return an extra out parameter on GetOpaqueRegion. This is ugly and it's also going to be inefficient
because in a followup patch I'm going to avoid calls to GetOpaqueRegion, but we still need to know whether the item
needs a transparent surface. So this patch removes that out parameter. Instead, we rely on the fact that only
Windows' glass-window-background display item needs to force a transparent surface, and there can only be one
of those per window. So we store a reference to it in the nsDisplayListBuilder if there is one, and then we can
efficiently tell if any leaf display item is the one that forces a transparent surface. For display items that
wrap a list, we continue to store whether they need to force a transparent surface in a boolean in the list.
2012-05-03 16:29:05 +12:00
Timothy Nikkel
a68e973cdb Bug 749816. When setting the display port for an element We only need to discard layer contents when we are hiding a document with a widget. r=roc 2012-05-01 01:43:59 -05:00
Thomas Powell
8938ffc81e Bug 742736 - Change box shadows to match rounded or sharp corners of shadowed object when round/sharp alternate corners; r=dbaron 2012-04-29 22:37:04 -04:00
Andreas Gal
ef9beb1ab9 Render active layers at full resolution and transform them on the GPU (bug 750006, r=roc). 2012-04-29 14:41:13 -07:00
Matt Woodrow
86a700a6ae Bug 747718 - Disable ColorLayer optimizations when we have rounded-rect clipping. r=roc 2012-04-27 12:24:53 +12:00
Matt Woodrow
c3bd0c4533 Bug 740072 - Make perspective-origin check the style parent instead of frame parent. r=roc 2012-04-27 12:24:53 +12:00
Wes Johnston
c547164cd0 Bug 741247 - Dispatch touch events to the active tabs presShell. r=smaug 2012-04-26 14:40:05 -07:00
Chris Lord
ab68da5d27 Bug 745177 - Retain and re-use uploaded GL tiles. r=ajuma
Rather than discarding uploaded tiles once they fall outside of the valid
region, shuffle them off into a separate tile-store with all the metadata they
need to render them, and render them in the areas that our current valid
region doesn't cover in TiledThebesLayerOGL::RenderLayer.
2012-04-24 22:48:33 -04:00
Matt Brubeck
cd95a32e35 Back out 4114c654f5d0 (bug 745177) because of Mac build errors 2012-04-24 20:18:50 -07:00
Masayuki Nakano
e089b336f8 Bug 630811 part.2 Replace nsInputEvent::isShift, nsInputEvent::isControl, nsInputEvent::isAlt and nsInputEvent::isMeta r=smaug 2012-04-25 12:00:02 +09:00
Masayuki Nakano
4d9504c5e9 Bug 731878 part.1 Implement D3E initMouseEvent() and getModifierState() but they shouldn't be public r=smaug 2012-04-25 12:00:01 +09:00
Chris Lord
6ecd30a481 Bug 745177 - Retain and re-use uploaded GL tiles. r=ajuma
Rather than discarding uploaded tiles once they fall outside of the valid
region, shuffle them off into a separate tile-store with all the metadata they
need to render them, and render them in the areas that our current valid
region doesn't cover in TiledThebesLayerOGL::RenderLayer.
2012-04-24 22:48:33 -04:00
Patrick Wong
15df25098f Bug 745659 - Removed the nsPrintfCString constructor which takes a length and all corresponding instances that call that particular constructor. This is accomplished by removing the length component from the instantiation. r=jlebar 2012-04-24 14:43:00 -04:00
Timothy Nikkel
b9a7468478 Bug 732016 Allow override of the scroll port size used for clamping scroll positions. r=roc 2012-04-24 13:52:35 -05:00
Simon Montagu
5f367810bd bug 738101 - Use the new mozilla::unicode::GetBidiCat instead of the old GetBidiCat. r=jfkthame 2012-04-18 21:54:54 -07:00
Jeff Muizelaar
4c6a9736de Bug 745864. Add SAMPLE_LABELs to layout code. r=roc, a=joe
--HG--
extra : rebase_source : d826780c34692d333442b6bf563791b53bf3aa3d
2012-04-16 14:37:59 -04:00
George Wright
ce694a1b63 Bug 747274 - Add a pref (default to true on Android) to forcible use nearest pixel filtering for background drawing. r=jrmuizel,ajuma a=blassey 2012-04-24 10:28:46 -04:00
Ehsan Akhgari
bbd5739974 Backout 190fc7cd65c6 (bug 747274) for breaking Android R1; a=bustage 2012-04-23 19:06:10 -04:00
Joe Drew
3019e4b61c Backout 492d12fa8b65 (bug 732016) for regressions. a=regression
--HG--
extra : rebase_source : cda0401baa2c3e5f6192f76c1cd25eca8187a9a0
2012-04-23 11:13:33 -07:00
George Wright
2f29a81ded Bug 747274 - Add a pref (default to true on Android) to forcibly use nearest pixel filtering for background drawing. r=jrmuizel,ajuma a=blassey 2012-04-23 11:50:29 -04:00
Jeff Muizelaar
75f19e9b5e Bug 744901 - Store the page size in FrameMetrics in CSS pixels in addition to device pixels. r=cjones
--HG--
extra : rebase_source : ac38e2ff9dda55bd5dc44d757b67cb1550da1eaa
2012-04-12 15:55:26 -04:00
Mike Conley
a8153c1d5e Bug 746993 - Fix editor caret behaviour when pressing RETURN after a BR node. r=ehsan, a=tracking-firefox 2012-04-20 12:57:17 -04:00
Timothy Nikkel
e472248f52 Bug 732016 Allow override of the scroll port size used for clamping scroll positions. r=roc 2012-04-19 20:54:54 -05:00
Robert O'Callahan
d80b8c7095 Bug 745934. Update bounds of nsDisplayOpacity after we've mutated its list. r=mattwoodrow,a=blocking-fennec 2012-04-19 14:40:43 +12:00
Ehsan Akhgari
b7a2142579 Backout changeset 0b25ccd32a49 (bug 745934) for reftest failures; a=bustage 2012-04-18 23:52:59 -04:00
Ehsan Akhgari
7d3551ed83 Backout changeset 5f1b5ab7afb5 (bug 735898) for reftest failures 2012-04-18 23:52:23 -04:00
Robert O'Callahan
c50d1ac412 Bug 735898. Part 8: Speed up SortByZOrder. r=dbaron,a=blocking-fennec 2012-04-19 14:40:43 +12:00
Robert O'Callahan
54470c0981 Bug 745934. Update bounds of nsDisplayOpacity after we've mutated its list. r=mattwoodrow,a=blocking-fennec 2012-04-19 14:40:43 +12:00
Robert O'Callahan
e2b8881b6e Bug 735898. Part 7: Remove expensive nsIFrame::HasBorder checks, just check style instead. r=dbaron,a=blocking-fennec 2012-04-18 17:14:31 +12:00
Robert O'Callahan
709a687eeb Bug 735898. Part 6: Avoid nsIFrame::GetOffsetTo calls by caching a frame/offset pair in nsDisplayListBuilder, using the cache from nsDisplayListBuilder::ToReferenceFrame, and having BuildDisplayListForChild efficiently update the cached frame from parent to child when possible. Also, use display items' precalculated ToReferenceFrame() instead of calling nsDisplayListBuilder::ToReferenceFrame where possible. r=mattwoodrow,a=blocking-fennec 2012-04-18 17:14:14 +12:00
Robert O'Callahan
a2f616b216 Bug 735898. Part 5.9: Remove nsDisplaySVGEffects::mEffectsFrame since it's always the same as mFrame. r=mattwoodrow,a=blocking-fennec 2012-04-18 17:12:53 +12:00
Ali Juma
c29ceb0a68 Bug 733941 - Let callers of imgIContainer::draw choose to clamp instead of tile. r=roc a=blocking-fennec 2012-04-17 18:04:15 -04:00
Wes Johnston
9d43831eef Bug 732016 - Don't call GetFrameFromPoint for non touchstart touch events. r=smaug 2012-04-17 10:08:23 -07:00
Daniel Holbert
f5e19aafd6 Bug 745991: In nsCSSFrameConstructor::MaybeRecreateContainerForFrameRemoval, add explicit parenthesis around '&&' within '||' to silence GCC warning. r=smontagu 2012-04-17 09:56:15 -07:00
Timothy Nikkel
c512b3f366 Bug 728284. Don't try to paint an opaque background for widgets that do it themselves. r=roc 2012-04-17 01:04:05 -05:00
Robert O'Callahan
e1a9548573 Bug 728983. Part 2: When display items for multiple frames are merged, track the merged frames and mark them all as having an associated container layer. This ensures that invalidations are processed correctly. r=mattwoodrow 2012-04-17 17:45:04 +12:00
Robert O'Callahan
a172ec5e66 Bug 728983. Part 1: Add nsDisplayItem::GetMergedFrames. r=mattwoodrow 2012-04-17 17:44:32 +12:00
L. David Baron
49760f2add Use the font inflation data to disable font inflation for small pieces of text. (Bug 706193, patch 4) r=roc
This merely hooks up the computation done in the previous patches for
this bug to the decision on whether to do font size inflation.
2012-04-16 15:32:12 -07:00
L. David Baron
e0255c8170 Add a preference for the threshold at which we have enough text within a BFC to use font size inflation. (Bug 706193, patch 1) r=roc
The basic principle behind this preference is that we don't want to use
font size inflation when all the text that we would have inflated would
fit within a line or two.  We're better off preserving the layout than
inflating a small amount of text.  However, we don't want the inflation
decision to vary between adjacent paragraphs, so this decision needs to
be made once for each block formatting context.

Once the later patches for this bug cause this preference to be honored,
this will be a change in behavior.  The old behavior can be obtained by
setting the preference to 0.
2012-04-16 15:32:11 -07:00
Mounir Lamouri
ecd83fe5c1 Bug 745495 - Fix crash when using screen object from removed iframe. r=smaug 2012-04-16 11:33:35 +02:00
Mats Palmgren
7c5f8ba182 Bug 740743 - Implement CSS overflow for <legend>. r=bz 2012-04-13 17:52:13 +02:00
Robert O'Callahan
52ce726c72 Bug 735898. Part 3: In DisplayBorderBackgroundOutline, when we have created an nsDisplayBackground item and it's themed, don't bother checking to create an nsDisplayBorder item. r=mattwoodrow
It turns out that calling HasBorder() is especially expensive for themed frames since we call into the theme engine to compute the border, so avoiding it is a nice win.
2012-04-13 23:44:06 +12:00
Robert O'Callahan
bce7c6d862 Bug 735898. Part 1: Cache bounds (union of all child item bounds) in nsDisplayWrapList. r=mattwoodrow 2012-04-13 23:44:06 +12:00
Robert O'Callahan
d97a81aaec Bug 744607. Intersect a display item's layer-pixels draw-rect with the snapped clip rect. r=tnikkel 2012-04-13 23:44:05 +12:00
Scott Johnson
d0c9228876 Bug 708175: Disable font inflation for fixed-width or fixed-height input controls. [r=dbaron]
--HG--
rename : layout/reftests/font-inflation/input-text-1-ref.html => layout/reftests/font-inflation/input-text-1-height-ref.html
rename : layout/reftests/font-inflation/input-text-1.html => layout/reftests/font-inflation/input-text-1-height.html
rename : layout/reftests/font-inflation/input-text-1-ref.html => layout/reftests/font-inflation/input-text-1-noheight-ref.html
rename : layout/reftests/font-inflation/input-text-1.html => layout/reftests/font-inflation/input-text-1-noheight.html
rename : layout/reftests/font-inflation/input-text-2-ref.html => layout/reftests/font-inflation/input-text-2-height-ref.html
rename : layout/reftests/font-inflation/input-text-2.html => layout/reftests/font-inflation/input-text-2-height.html
rename : layout/reftests/font-inflation/input-text-2-ref.html => layout/reftests/font-inflation/input-text-2-noheight-ref.html
rename : layout/reftests/font-inflation/input-text-2-ref.html => layout/reftests/font-inflation/input-text-2-noheight.html
rename : layout/reftests/font-inflation/input-text-3-ref.html => layout/reftests/font-inflation/input-text-3-height-ref.html
rename : layout/reftests/font-inflation/input-text-3.html => layout/reftests/font-inflation/input-text-3-height.html
rename : layout/reftests/font-inflation/input-text-3-ref.html => layout/reftests/font-inflation/input-text-3-noheight-ref.html
rename : layout/reftests/font-inflation/input-text-3.html => layout/reftests/font-inflation/input-text-3-noheight.html
2012-04-13 02:21:39 -05:00
Mark Capella
1839be84c0 Bug 740688 - Use uintptr_t instead of PRUword, and intptr_t instead of PRWord. r=jwalden
--HG--
extra : rebase_source : 648a581323d2c2893df780f71fe34dadcc4bbaab
2012-04-11 17:17:44 -07:00
Matt Brubeck
2ffa728ac6 Back out 6d41ddb6b9bc (bug 708175) because of Android test failures 2012-04-11 20:08:54 -07:00
Scott Johnson
ccb35b333d Bug 708175: Disable font inflation for fixed-width or fixed-height input controls. [r=dbaron]
--HG--
rename : layout/reftests/font-inflation/input-text-1-ref.html => layout/reftests/font-inflation/input-text-1-height-ref.html
rename : layout/reftests/font-inflation/input-text-1.html => layout/reftests/font-inflation/input-text-1-height.html
rename : layout/reftests/font-inflation/input-text-1-ref.html => layout/reftests/font-inflation/input-text-1-noheight-ref.html
rename : layout/reftests/font-inflation/input-text-1.html => layout/reftests/font-inflation/input-text-1-noheight.html
rename : layout/reftests/font-inflation/input-text-2-ref.html => layout/reftests/font-inflation/input-text-2-height-ref.html
rename : layout/reftests/font-inflation/input-text-2.html => layout/reftests/font-inflation/input-text-2-height.html
rename : layout/reftests/font-inflation/input-text-2-ref.html => layout/reftests/font-inflation/input-text-2-noheight-ref.html
rename : layout/reftests/font-inflation/input-text-2-ref.html => layout/reftests/font-inflation/input-text-2-noheight.html
rename : layout/reftests/font-inflation/input-text-3-ref.html => layout/reftests/font-inflation/input-text-3-height-ref.html
rename : layout/reftests/font-inflation/input-text-3.html => layout/reftests/font-inflation/input-text-3-height.html
rename : layout/reftests/font-inflation/input-text-3-ref.html => layout/reftests/font-inflation/input-text-3-noheight-ref.html
rename : layout/reftests/font-inflation/input-text-3.html => layout/reftests/font-inflation/input-text-3-noheight.html
2012-04-11 18:12:19 -05:00
David Humphrey (:humph)
5f9892f336 Bug 633602 - Implement Pointer Lock (Mouse Lock) API. r=roc,smaug 2012-04-11 17:55:21 -04:00
Robert O'Callahan
540be00480 Backing out changesets ef599d7f3f11, 70ef464f50e3 and 1a204c38918e (bug 735898) due to test failures. 2012-04-12 00:34:23 +12:00
Robert O'Callahan
a66d3252b3 Bug 735898. Part 3: In DisplayBorderBackgroundOutline, when we have created an nsDisplayBackground item and it's themed, don't bother checking to create an nsDisplayBorder item. r=mattwoodrow
It turns out that calling HasBorder() is especially expensive for themed frames since we call into the theme engine to compute the border, so avoiding it is a nice win.
2012-04-11 16:49:34 +12:00
Robert O'Callahan
b235b954de Bug 735898. Part 1: Cache bounds (union of all child item bounds) in nsDisplayWrapList. r=mattwoodrow 2012-04-11 16:48:47 +12:00
Robert O'Callahan
806fb44d82 Bug 735898. Part 0: Fix comment. 2012-04-11 16:48:37 +12:00
L. David Baron
9672d4d588 Run font inflation reftests with the reftest harness rather than inside of mochitest. (Bug 743817) r=sjohnson
--HG--
rename : layout/base/tests/font-inflation/bug707855-innerFrame-ref.html => layout/reftests/font-inflation/bug707855-innerFrame-ref.html
rename : layout/base/tests/font-inflation/bug707855-innerFrame.html => layout/reftests/font-inflation/bug707855-innerFrame.html
rename : layout/base/tests/font-inflation/bug707855-ref.html => layout/reftests/font-inflation/bug707855-ref.html
rename : layout/base/tests/font-inflation/bug707855.html => layout/reftests/font-inflation/bug707855.html
rename : layout/base/tests/font-inflation/bullet-1-ref.html => layout/reftests/font-inflation/bullet-1-ref.html
rename : layout/base/tests/font-inflation/bullet-1.html => layout/reftests/font-inflation/bullet-1.html
rename : layout/base/tests/font-inflation/bullet-2-ref.html => layout/reftests/font-inflation/bullet-2-ref.html
rename : layout/base/tests/font-inflation/bullet-2.html => layout/reftests/font-inflation/bullet-2.html
rename : layout/base/tests/font-inflation/consecutive-inline-ref.html => layout/reftests/font-inflation/consecutive-inline-ref.html
rename : layout/base/tests/font-inflation/consecutive-inline.html => layout/reftests/font-inflation/consecutive-inline.html
rename : layout/base/tests/font-inflation/container-with-clamping-innerFrame-ref.html => layout/reftests/font-inflation/container-with-clamping-innerFrame-ref.html
rename : layout/base/tests/font-inflation/container-with-clamping-innerFrame.html => layout/reftests/font-inflation/container-with-clamping-innerFrame.html
rename : layout/base/tests/font-inflation/container-with-clamping-ref.html => layout/reftests/font-inflation/container-with-clamping-ref.html
rename : layout/base/tests/font-inflation/container-with-clamping.html => layout/reftests/font-inflation/container-with-clamping.html
rename : layout/base/tests/font-inflation/css-transform-1-ref.html => layout/reftests/font-inflation/css-transform-1-ref.html
rename : layout/base/tests/font-inflation/css-transform-1.html => layout/reftests/font-inflation/css-transform-1.html
rename : layout/base/tests/font-inflation/css-transform-2-ref.html => layout/reftests/font-inflation/css-transform-2-ref.html
rename : layout/base/tests/font-inflation/css-transform-2.html => layout/reftests/font-inflation/css-transform-2.html
rename : layout/base/tests/font-inflation/decoration-1-ref.html => layout/reftests/font-inflation/decoration-1-ref.html
rename : layout/base/tests/font-inflation/decoration-1.html => layout/reftests/font-inflation/decoration-1.html
rename : layout/base/tests/font-inflation/disable-fontinfl-on-mobile-2.html => layout/reftests/font-inflation/disable-fontinfl-on-mobile-2.html
rename : layout/base/tests/font-inflation/disable-fontinfl-on-mobile-3.html => layout/reftests/font-inflation/disable-fontinfl-on-mobile-3.html
rename : layout/base/tests/font-inflation/disable-fontinfl-on-mobile-4.html => layout/reftests/font-inflation/disable-fontinfl-on-mobile-4.html
rename : layout/base/tests/font-inflation/disable-fontinfl-on-mobile-ref.html => layout/reftests/font-inflation/disable-fontinfl-on-mobile-ref.html
rename : layout/base/tests/font-inflation/disable-fontinfl-on-mobile.html => layout/reftests/font-inflation/disable-fontinfl-on-mobile.html
rename : layout/base/tests/font-inflation/fixed-height-body-child-ref.html => layout/reftests/font-inflation/fixed-height-body-child-ref.html
rename : layout/base/tests/font-inflation/fixed-height-body-child.html => layout/reftests/font-inflation/fixed-height-body-child.html
rename : layout/base/tests/font-inflation/fixed-height-body-ref.html => layout/reftests/font-inflation/fixed-height-body-ref.html
rename : layout/base/tests/font-inflation/fixed-height-body.html => layout/reftests/font-inflation/fixed-height-body.html
rename : layout/base/tests/font-inflation/input-checkbox.html => layout/reftests/font-inflation/input-checkbox.html
rename : layout/base/tests/font-inflation/input-radio.html => layout/reftests/font-inflation/input-radio.html
rename : layout/base/tests/font-inflation/input-text-1-ref.html => layout/reftests/font-inflation/input-text-1-ref.html
rename : layout/base/tests/font-inflation/input-text-1.html => layout/reftests/font-inflation/input-text-1.html
rename : layout/base/tests/font-inflation/input-text-2-ref.html => layout/reftests/font-inflation/input-text-2-ref.html
rename : layout/base/tests/font-inflation/input-text-2.html => layout/reftests/font-inflation/input-text-2.html
rename : layout/base/tests/font-inflation/input-text-3-ref.html => layout/reftests/font-inflation/input-text-3-ref.html
rename : layout/base/tests/font-inflation/input-text-3.html => layout/reftests/font-inflation/input-text-3.html
rename : layout/base/tests/font-inflation/intrinsic-fit-1a-ref.html => layout/reftests/font-inflation/intrinsic-fit-1a-ref.html
rename : layout/base/tests/font-inflation/intrinsic-fit-1a.html => layout/reftests/font-inflation/intrinsic-fit-1a.html
rename : layout/base/tests/font-inflation/intrinsic-fit-1b-ref.html => layout/reftests/font-inflation/intrinsic-fit-1b-ref.html
rename : layout/base/tests/font-inflation/intrinsic-fit-1b.html => layout/reftests/font-inflation/intrinsic-fit-1b.html
rename : layout/base/tests/font-inflation/intrinsic-fit-1c-ref.html => layout/reftests/font-inflation/intrinsic-fit-1c-ref.html
rename : layout/base/tests/font-inflation/intrinsic-fit-1c.html => layout/reftests/font-inflation/intrinsic-fit-1c.html
rename : layout/base/tests/font-inflation/intrinsic-fit-2a.html => layout/reftests/font-inflation/intrinsic-fit-2a.html
rename : layout/base/tests/font-inflation/intrinsic-fit-2b.html => layout/reftests/font-inflation/intrinsic-fit-2b.html
rename : layout/base/tests/font-inflation/intrinsic-fit-2c.html => layout/reftests/font-inflation/intrinsic-fit-2c.html
rename : layout/base/tests/font-inflation/intrinsic-max-1-ref.html => layout/reftests/font-inflation/intrinsic-max-1-ref.html
rename : layout/base/tests/font-inflation/intrinsic-max-1.html => layout/reftests/font-inflation/intrinsic-max-1.html
rename : layout/base/tests/font-inflation/intrinsic-min-1-ref.html => layout/reftests/font-inflation/intrinsic-min-1-ref.html
rename : layout/base/tests/font-inflation/intrinsic-min-1.html => layout/reftests/font-inflation/intrinsic-min-1.html
rename : layout/base/tests/font-inflation/preformatted-text-ref.html => layout/reftests/font-inflation/preformatted-text-ref.html
rename : layout/base/tests/font-inflation/preformatted-text.html => layout/reftests/font-inflation/preformatted-text.html
rename : layout/base/tests/font-inflation/select-combobox-1-ref.html => layout/reftests/font-inflation/select-combobox-1-ref.html
rename : layout/base/tests/font-inflation/select-combobox-1.html => layout/reftests/font-inflation/select-combobox-1.html
rename : layout/base/tests/font-inflation/select-combobox-2-ref.html => layout/reftests/font-inflation/select-combobox-2-ref.html
rename : layout/base/tests/font-inflation/select-combobox-2.html => layout/reftests/font-inflation/select-combobox-2.html
rename : layout/base/tests/font-inflation/select-listbox-1-ref.html => layout/reftests/font-inflation/select-listbox-1-ref.html
rename : layout/base/tests/font-inflation/select-listbox-1.html => layout/reftests/font-inflation/select-listbox-1.html
rename : layout/base/tests/font-inflation/select-listbox-2-ref.html => layout/reftests/font-inflation/select-listbox-2-ref.html
rename : layout/base/tests/font-inflation/select-listbox-2.html => layout/reftests/font-inflation/select-listbox-2.html
rename : layout/base/tests/font-inflation/text-1-ref.html => layout/reftests/font-inflation/text-1-ref.html
rename : layout/base/tests/font-inflation/text-1.html => layout/reftests/font-inflation/text-1.html
rename : layout/base/tests/font-inflation/text-2-ref.html => layout/reftests/font-inflation/text-2-ref.html
rename : layout/base/tests/font-inflation/text-2.html => layout/reftests/font-inflation/text-2.html
rename : layout/base/tests/font-inflation/text-3-ref.html => layout/reftests/font-inflation/text-3-ref.html
rename : layout/base/tests/font-inflation/text-3.html => layout/reftests/font-inflation/text-3.html
rename : layout/base/tests/font-inflation/text-4-ref.html => layout/reftests/font-inflation/text-4-ref.html
rename : layout/base/tests/font-inflation/text-4.html => layout/reftests/font-inflation/text-4.html
rename : layout/base/tests/font-inflation/textarea-1-ref.html => layout/reftests/font-inflation/textarea-1-ref.html
rename : layout/base/tests/font-inflation/textarea-1.html => layout/reftests/font-inflation/textarea-1.html
rename : layout/base/tests/font-inflation/textarea-2-ref.html => layout/reftests/font-inflation/textarea-2-ref.html
rename : layout/base/tests/font-inflation/textarea-2.html => layout/reftests/font-inflation/textarea-2.html
rename : layout/base/tests/font-inflation/textarea-3-ref.html => layout/reftests/font-inflation/textarea-3-ref.html
rename : layout/base/tests/font-inflation/textarea-3.html => layout/reftests/font-inflation/textarea-3.html
rename : layout/base/tests/font-inflation/video-1.html => layout/reftests/font-inflation/video-1.html
2012-04-10 10:56:59 -07:00
Robert O'Callahan
833e8a244f Bug 733607. Restructure logic to compute snapped bounds of display items in layer coordinates. Moves responsibility for computing snapped bounds from within the display items to callers of GetBounds/GetOpaqueRegion. r=tnikkel
Previously we snapped the results of nsDisplayItem::GetBounds and
nsDisplayItem::GetOpaqueRegion internally. By tracking which display items were
inside transforms, we disabled snapping quite conservatively whenever an ancestor
had a transform, which is undesirable.

With this patch, we don't snap inside GetBounds or GetOpaqueRegion, but just return
a boolean flag indicating whether the item will draw with snapping or not. This flag
is conservative so that "true" means we will snap (if the graphics context has a transform
that allows snapping), but "false" means we might or might not snap (so it's always safe
to return false).

FrameLayerBuilder takes over responsibility for snapping item bounds. When it converts
display item bounds to layer pixel coordinates, it checks the snap flag returned from
the display item and checks whether the transform when we draw into the layer will be
a known scale (the ContainerParameters scale factors) plus integer translation. If both
are true, we snap the item bounds when converting to layer pixel coordinates. With
this approach, we can snap item bounds even when the items have ancestors with active
transforms.
2012-04-10 23:24:18 +12:00
Wes Johnston
d605226018 Backed out changeset f5d6cc2e4726 2012-04-09 10:44:32 -07:00
Wes Johnston
19dd5922a5 Bug 740218 - Support transactions in sqlitebridge and use them. r=gcp,rnewman,lucasr 2012-04-09 10:08:37 -07:00
Kyle Huey
b9156a7e34 Back out Bug 679230 due to Android reftest failures. 2012-04-07 10:36:49 -07:00
Kyle Huey
803a05ad74 Bug 697230: Part 1 - Centralize style image observers. r=bz 2012-04-07 08:58:41 -07:00
Wes Johnston
e0627db572 Bug 741666 - Fix copying touchEvents if someone holds a reference. r=smaug 2012-04-04 10:08:53 -07:00
Marco Bonardo
047806e61c Merge last green PGO from inbound to central 2012-04-04 13:36:36 +02:00
Olli Pettay
14fb10f69b Bug 742183 - Handle MicroTasks correctly with showModalDialog, r=sicking 2012-04-04 09:23:45 +03:00
Mark Capella
4666038a24 Bug 712936 - Convert users of PR_STATIC_ASSERT to MOZ_STATIC_ASSERT. r=jwalden 2012-04-02 17:21:24 -07:00
Ryan VanderMeulen
8a1ce69485 Backout 17deb5f61b4d (bug 150073) due to build bustage. a=shouldausedtryfirst 2012-04-03 20:22:42 -04:00
Olli Pettay
f198500ad9 Bug 641821, MutationObserver, r=sicking
--HG--
extra : rebase_source : a680c883b22976edf38eea23fb516215e081084f
2012-03-31 09:30:13 -07:00
Phil Ringnalda
62e25bcddc Back out b00bf7f3869c (bug 737976) for apparently causing mochitest-1 leaks on a CLOSED TREE 2012-03-28 22:43:09 -07:00
Phil Ringnalda
b4da60b42d Back out 0cb85ff0f764 (bug 738568), 9949bb092303 (bug 730209), 095fd525afa7 (bug 729924), dcf8929a8115 (bug 633602) because of widely scattered and unclear bustage on a CLOSED TREE 2012-03-28 22:37:46 -07:00
Kyle Huey
5639dfdb41 Bug 737976: Remove nsINodeInfo. rs=bent 2012-03-28 19:07:37 -07:00
David Humphrey
03dc4eeeee Bug 633602 - Implement Pointer Lock (Mouse Lock) API. r=roc, smaug 2012-03-28 21:00:14 -04:00
Daniel Holbert
5f9dc21353 Bug 740067: Make nsCSSFrameConstructor::CreateNeededTablePseudos return void. r=bz 2012-03-28 12:43:15 -07:00