Mounir Lamouri
8ab72ab455
Bug 762092 - Remove MPL 1.1 boilerplate from meter-related files. rs=Ms2ger
2012-06-07 20:47:44 +02:00
Ehsan Akhgari
245cb2b12f
Bug 762546 - Make sure to register the callback after the document has loaded; r=dbaron
2012-06-07 13:18:07 -04:00
Aryeh Gregor
b36b8ee24e
Bug 757771 part 4 - Create new nsContentUtils::GetSelectionInTextControl method; r=ehsan
2012-06-07 18:00:58 +03:00
Aryeh Gregor
43b3bdf8ac
Bug 757771 part 3 - Include nsRange.h from nsTypedSelection.h
2012-06-07 18:00:58 +03:00
Aryeh Gregor
a99a079932
Bug 757771 part 1 - Make NS_NewContentIterator and friends infallible; r=bz
2012-06-04 20:42:00 +03:00
Robert O'Callahan
c94736b8a6
Bug 753329. Share ThebesLayerInvalidRegion for a given ContainerLayer across all the frames that are sharing that layer as their ContainerLayer. r=mattwoodrow
...
* * *
Bug 753329. Followup: put ThebesLayerInvalidRegionProperty in display-list-builder coordinates so it can be shared by frames with different coordinate systems. r=mattwoodrow
2012-06-07 22:07:32 +12:00
Robert O'Callahan
fc2e9d6bd1
Bug 761572. Allow click and dblclick events to be sent to an element even if it's made display:none during the mouseup event. r=smaug
2012-06-07 22:06:39 +12:00
L. David Baron
311a0652e5
Make scroll frames (i.e., overflow != visible) be font size inflation flow roots again, to fix www.youtube.com. Except for the test changes, this reverts 9620f50be9fa8be44931decf1e57ce25f51da812 (Bug 747720, patch 7) which in turn reverted part of 9499f6b28addcbcd9c480eb80cfe6c4c63a4a3a1 (Bug 706193, patch 2). (Bug 760098) r=roc
2012-06-06 22:11:42 -07:00
Phil Ringnalda
88011f8d12
Back out 30e441f7ad9d (bug 759755) and 08286f4e696b (bug 760098) for orange
2012-06-06 22:51:58 -07:00
L. David Baron
f0aa0d13a0
Do the necessary reflow when our font inflation data changes. (Bug 759755) r=roc
2012-06-06 22:11:42 -07:00
L. David Baron
2918c27b5e
Make scroll frames (i.e., overflow != visible) be font size inflation flow roots again, to fix www.youtube.com. Except for the test changes, this reverts 9620f50be9fa8be44931decf1e57ce25f51da812 (Bug 747720, patch 7) which in turn reverted part of 9499f6b28addcbcd9c480eb80cfe6c4c63a4a3a1 (Bug 706193, patch 2). (Bug 760098) r=roc
2012-06-06 22:11:42 -07:00
Mounir Lamouri
8c421a5c03
Bug 760848 - Make select.size reflection follow the specifications. r=smaug
2012-06-07 01:27:53 +02:00
Boris Zbarsky
ab8e684ada
Bug 761086. Throw if someone passes an invalid argument to inDOMUtils::GetCSSStyleRules. r=smaug
2012-06-06 15:59:57 -04:00
Ehsan Akhgari
48c0134086
Bug 762180 - Disable tests added by bug 157681 on native Android for now, until our infrastructure can handle running them; r=jmaher
2012-06-06 15:15:52 -04:00
Ehsan Akhgari
599e843894
Bug 761980 - Make sure to register the callback after the document has loaded; r=dbaron
2012-06-06 09:28:00 -04:00
Ehsan Akhgari
c6218431ee
Merge mozilla-central into mozilla-inbound
2012-06-06 12:46:50 -04:00
Mounir Lamouri
7918a94d90
Bug 686886 - Port bug 680747 and bug 680518 to nsMeterFrame. r=roc
2012-06-05 22:15:46 +02:00
Arnaud Bienner
327842ee1f
Bug 565274 - Implement the accept attribute for the form and file upload controls for custom MIME types; r=sicking,mounir
2012-06-06 14:16:58 +02:00
Ed Morley
7e31e8cfac
Merge mozilla-central to mozilla-inbound
2012-06-06 10:24:28 +01:00
Ed Morley
22d9b9afc4
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-06-06 09:20:35 +01:00
Ms2ger
1a2d55bdac
Bug 760047 - Don't handle a null aDocument in nsGlobalWindow::SetNewDocument; r=mounir
2012-06-06 09:36:58 +02:00
Ms2ger
19f060907a
Bug 629882 - Support currentColor in the 2D canvas context; r=dbaron
...
This changes nsCSSParser::ParseColorString to fill in an nsCSSValue instead
of an nscolor, and exposes nsRuleNode::ComputeColor to turn this nsCSSValue
into an nscolor.
Because gradients can be used with different canvas elements in different
documents, these cannot pass useful values for nsRuleNode::ComputeColor's
aPresContext and aStyleContext arguments. This patch also changes SetColor
to deal with those parameters being null.
2012-06-06 09:36:38 +02:00
Ehsan Akhgari
5682d40581
Bug 157681 - Part 2: Optimize positioned frame offset changes by moving the frame as opposed to reflowing it in case we know that the size of the frame will not change; r=dbaron
...
This patch adds a change hint to signal that one of the offsets on a
frame has been changed. When processing the hint, we do one of the
following things based on the position property of the frame.
* For static frames, we ignore the offset changes completely, as they
will not change the layout.
* For relative positioned frames, this patch refactors the
nsHTMLReflowState::ComputeRelativeOffsets function so that it can be
used from other callers, and it uses that to compute the new relative
offsets, and uses the offsets computed previously to compute the new
position of the frame.
* For absolute positioned frames, we set up a fake parent reflow state
object, and then we create a new reflow state object for the frame in
question. This setup is similar to what nsFrame::BoxReflow does.
Once we have the new reflow state object, we use it to compute the
absolute offsets, and then we use the computed offsets to set the new
position of the frame. The offset computation is similar to what
nsAbsoluteContainingBlock::ReflowAbsoluteFrame does. In some cases
where it is possible for the dimensions of the frame to change based
on the offset changes, we fall back to a full reflow.
2012-06-06 00:53:48 -04:00
Ehsan Akhgari
14d4122730
Bug 157681 - Part 1: Add a test suite to make sure that dynamic changes to the position CSS properties work correctly; r=dbaron
...
These series of tests attempt to ensure conformance to the CSS 2.1
sections 10.3.7 and 10.6.4.
2012-06-06 00:53:33 -04:00
Scott Johnson
c1eb117478
Bug 749186, Followup 2: Crashtest for bug 749186 [r=dbaron].
...
--HG--
extra : rebase_source : 8fd8b01b46c9150f8ba14f87b8b34aa6fa9da11c
2012-06-05 22:47:38 -05:00
Scott Johnson
6c704020bd
Bug 749186, Followup Patch 1: Cache font inflation settings in pres shell to prevent crash. [r=dbaron]
...
--HG--
extra : rebase_source : dc8b8f66bcd49c54ecefdf94793100b7901e6f3b
2012-06-05 22:47:33 -05:00
Geoff Lankow
bdc2b4bb58
Merge m-c to m-i
2012-06-06 15:13:51 +12:00
L. David Baron
27336e662d
Fix two pieces of cached information that were preventing font size inflation from applying correctly during intrinsic width calculation when intrinsic width calculation had already been done without font size inflation. (Bug 748434) r=roc
...
The first of these pieces of information is the intrinsic widths cached
on a block.
The second of them is the font inflation cached on a text frame (which
might be set to 1.0 at this point if a text frame has previously had
intrinsic width calculation done on it, but hasn't been reflowed).
2012-06-05 19:13:41 -07:00
Geoff Lankow
00f3a215c9
Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg
2012-06-06 14:08:30 +12:00
Phil Ringnalda
3f534fee74
Merge mozilla-central to mozilla-inbound
2012-06-04 19:09:19 -07:00
L. David Baron
c0710aeffc
Restore application of font size inflation to radios and checkboxes. (Bug 757937) r=roc
2012-06-04 16:26:30 -07:00
Simon Montagu
1f9e221241
Bug 760954 - Fix the performance regression in the View Source windows; r=ehsan
2012-06-03 05:00:01 -07:00
L. David Baron
3a7a762826
Back out changeset 81f6b1cfbba5627425837ff993ca7012db22b23b (bug 748434) due to reftest failures.
2012-06-05 16:55:48 -07:00
L. David Baron
42b30ed346
Fix two pieces of cached information that were preventing font size inflation from applying correctly during intrinsic width calculation when intrinsic width calculation had already been done without font size inflation. (Bug 748434) r=roc
...
The first of these pieces of information is the intrinsic widths cached
on a block.
The second of them is the font inflation cached on a text frame (which
might be set to 1.0 at this point if a text frame has previously had
intrinsic width calculation done on it, but hasn't been reflowed).
2012-06-05 15:52:28 -07:00
L. David Baron
88c9e5abd4
Remove unused member variable from nsGfxButtonControlFrame. No bug.
2012-06-05 15:52:28 -07:00
Phil Ringnalda
5ddd25896a
Merge mozilla-central to mozilla-inbound
2012-06-03 12:10:59 -07:00
Phil Ringnalda
d576312c34
Merge last PGO-green changeset from mozilla-inbound to mozilla-central
2012-06-03 12:04:40 -07:00
Cedric Vivier
3f0c09d4b0
Bug 727834 - Add an API to (re)parse a style sheet in place. r=bz
...
---
layout/inspector/public/inIDOMUtils.idl | 12 ++-
layout/inspector/src/inDOMUtils.cpp | 11 +++
layout/inspector/tests/chrome/Makefile.in | 2 +
layout/inspector/tests/chrome/test_bug727834.css | 7 ++
layout/inspector/tests/chrome/test_bug727834.xul | 88 +++++++++++++++++++
layout/style/nsCSSStyleSheet.cpp | 99 +++++++++++++++++++---
layout/style/nsCSSStyleSheet.h | 2 +
7 files changed, 207 insertions(+), 14 deletions(-)
create mode 100644 layout/inspector/tests/chrome/test_bug727834.css
create mode 100644 layout/inspector/tests/chrome/test_bug727834.xul
2012-06-03 12:54:38 -04:00
Jan Varga
6e3e5ab48b
Bug 726593 - Implement FileHandle. r=bent
2012-06-03 18:33:52 +02:00
Mats Palmgren
37020cf426
Back out bug 575294, bug 726264. (cset 1727de7d26ec, 6bcea3a628d8, 011c1c8e9cc7, 0be261a5042b, d51338c5cd0c)
2012-06-03 18:05:00 +02:00
Mats Palmgren
1b70f71e59
Bug 575294 - s/mFocused/sFocused/. part=4/4 r=smaug
2012-06-02 01:41:54 +02:00
Mats Palmgren
2e6a4d1853
Bug 575294. part=3/4 r=roc
2012-06-02 01:41:54 +02:00
Mats Palmgren
b5a9cb7c4a
Bug 575294. part=2/4 r=smaug,roc
2012-06-02 01:41:54 +02:00
Mats Palmgren
9e1fb04d65
Bug 726264. r=smaug
2012-06-02 01:41:54 +02:00
Frank Yan
db047ca5bd
Bug 760696 - Use :fullscreen to detect HTML5 video/audio state for controls visibility. r=jaws,dbaron
2012-06-01 15:10:37 -07:00
Mats Palmgren
37fd0ed7aa
Bug 759249. r=bz
2012-06-01 21:56:33 +02:00
Mats Palmgren
28ae1b8cb6
Bug 759249. r=bz
2012-06-01 21:56:33 +02:00
Boris Zbarsky
4057bff59a
Disable the test on Windows, since it just can't pass there. Followup for bug 731447.
2012-06-01 15:24:44 -04:00
Mats Palmgren
f6ef5d662d
Bug 760072 - Move RemoveFinishDependency() after the ok() so that the last test result comes before SimpleTest.finish(). r=dbaron
2012-06-01 20:52:37 +02:00
Boris Zbarsky
10521aa8fb
Attempt to fix reftest failure on android XUL, where buttons seem to use a non-block color for some reason. Followup for bug 731447
2012-06-01 13:32:09 -04:00
Ben Turner
b072e01d8f
Bug 666693 - 'Remote IndexedDB for multiple IndexedDB-using processes'. r=cjones+sicking.
2012-06-01 10:21:12 -07:00
Boris Zbarsky
0d03951986
Bug 759997. Break out the three branches of SurfaceFromElement into separate functions so that we can call the one that matches the kind of element we have directly. r=roc
2012-05-31 14:16:49 -04:00
Ed Morley
092d819417
Merge mozilla-central to mozilla-inbound
2012-06-01 16:58:27 +01:00
Ed Morley
f5fef940b6
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-06-01 15:27:36 +01:00
Mounir Lamouri
62cddd341e
Bug 759770 - Fix build error when warnings-as-errors in nsSVGUtils.cpp. r=dholbert
2012-06-01 11:48:39 +02:00
Boris Zbarsky
a02b7fa275
Bug 748692. Don't reparse inline stylesheets on random attribute changes. r=sicking
2012-06-01 00:30:42 -04:00
Boris Zbarsky
f13a1c00de
Bug 731447. Make buttons display:inline-block by default so that underlines don't reach into them. r=dbaron
2012-06-01 11:45:37 -04:00
Andreas Gal
1518859a5b
Bug 714408 Part 2 - Media plugin support for libstagefright - r=doublec
...
--HG--
extra : rebase_source : 308d1aab3cfffbb7ddeb0602a3991565603e6212
2012-06-01 12:54:23 +12:00
Chris Double
1695b48a48
Bug 714408 Part 1 - Add configure/link features to enable media plugins and omx-plugin for libstagefright support - r=mh
...
--HG--
extra : rebase_source : 51e850e4dec9a53569c0c6991145c5e070781f95
2012-06-01 12:52:09 +12:00
Jeff Muizelaar
90cf6fdec4
Bug 759457. Don't fast path shadows with negative scale. r=roc
...
We don't support this yet, so don't bother trying.
2012-05-31 18:22:28 -04:00
Joel Maher
d63c5a0460
Bug 748088 - Native android reftest are not testing OMTC+OGL. r=ajuma
2012-06-01 08:42:38 -04:00
Jonathan Kew
b9bcf7710f
bug 758236 - reftests for basic Indic shaping features in harfbuzz. r=jdaggett
2012-06-01 08:19:28 +01:00
Boris Zbarsky
1e390de796
Backed out changeset 6a46906eb017 (bug 759997) because the bug it depends on got backed out.
2012-05-31 17:05:03 -04:00
Boris Zbarsky
2cf407dadc
Bug 759997. Break out the three branches of SurfaceFromElement into separate functions so that we can call the one that matches the kind of element we have directly. r=roc
2012-05-31 14:16:49 -04:00
Shriram Kunchanapalli
8e90a26e8d
Bug 219767: Move font size functions in nsStyleUtil into nsRuleNode. r=dbaron
2012-05-31 10:09:46 +05:30
L. David Baron
ef7ec688e3
Unprefix the border-image-* properties and add a temporary alias for -moz-border-image (but not for its subproperties, which we haven't shipped prefixed). (Bug 713643, patch 5) r=bzbarsky
2012-05-30 22:19:49 -07:00
L. David Baron
06fa5d4558
Rename nsStyleBorder::GetActualBorderWidth to GetComputedBorderWidth. (Bug 713643, patch 4) r=bzbarsky
2012-05-30 22:19:49 -07:00
L. David Baron
09d883079b
Remove nsStyleBorder::GetActualBorder, since it now does the same thing as nsStyleBorder::GetComputedBorder. (Bug 713643, patch 3) r=bzbarsky
2012-05-30 22:19:49 -07:00
L. David Baron
35df3733f2
Make the serialization of the 'border' shorthand fail when we have a 'border-image' subproperty or a '-moz-border-*-colors' property with a non-default value. (Bug 713643, patch 2) r=bzbarsky
2012-05-30 22:19:49 -07:00
L. David Baron
33ccc9bd8a
Serialize border-image shorthand to shortest form, with the exception that we'll always serialize 'border-image-source'. (Bug 713643, patch 1) r=bzbarsky
2012-05-30 22:19:49 -07:00
Cameron McCormack
5dfd7a42c3
Bug 759640 - Fix typo in feBlend reftest. r=longsonr
2012-05-31 10:32:39 +10:00
Cameron McCormack
01598062ac
Bug 759681 - Fix some typos in <clipPath> reftests. r=longsonr
2012-05-31 10:32:33 +10:00
Diogo Golovanevsky Monteiro
2c5bc979b5
Bug 713608 - HTML5 Video controls are missing in Fullscreen. f=fryn r=jaws,dbaron
2012-05-30 17:04:43 -07:00
Anant Narayanan
beefeb5f37
Bug 752353: DOM bindings for getUserMedia; r=jst
...
--HG--
rename : content/media/nsIDOMMediaStream.idl => dom/media/nsIDOMMediaStream.idl
2012-06-03 00:35:15 -07:00
Mounir Lamouri
db5564d5d2
Bug 663365 - Implement the rules for the fallback to the default rendering for the meter element. r=roc
...
--HG--
rename : widget/reftests/progressbar-fallback-default-style-ref.html => widget/reftests/meter-fallback-default-style-ref.html
rename : widget/reftests/progressbar-fallback-default-style.html => widget/reftests/meter-fallback-default-style.html
2012-05-16 18:31:01 +02:00
Laurent Dulary
3617fe008d
Bug 662251 (2/2) - Tests. r=mounir
2012-06-05 22:17:08 +02:00
Laurent Dulary
0bbaa121db
Bug 662251 - Default style and colors for the meter element. f=mounir r=bz,davidb
2012-05-16 12:26:42 +02:00
Yoan TEBOUL
72e9bc2b32
Bug 659999 - Add a meterbar and meterchunk appearances. f=mounir r=roc
2012-05-16 12:24:55 +02:00
Laurent Dulary
402e40ba9d
Bug 660238 (2/3) - Add pseudo-class to access optimal, sub-optimal and sub-sub-optimal meter elements. f=mounir r=smaug
2012-05-16 13:23:31 +02:00
Shriram Kunchanapalli
52a4aa2063
Bug 743581: Removes nsCRT::strlen(const PRUnichar*). f=sgautherie r=dougt
2012-05-30 18:43:39 +01:00
Ed Morley
da18754c01
Merge mozilla-central to mozilla-inbound
2012-05-30 18:24:56 +01:00
Kartikaya Gupta
d9f987bb7f
Bug 759421 - Handle image load errors in the reftest analyzer more gracefully. r=heycam
2012-05-30 09:59:42 -04:00
Gervase Markham
d4eb7d5782
Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
...
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Ed Morley
7b41eeb233
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-05-30 12:20:57 +01:00
Neil Rashbrook
17e6cbec1e
Bug 757330 Don't activate an empty menubar r=Enn
2012-05-30 08:33:20 +01:00
Simon Montagu
400c97a750
Prevent line numbers in view-source from participating in bidi reordering. Bug 751841, r=ehsan
2012-05-30 09:51:00 +03:00
Bas Schouten
a234c6836a
Bug 758432: Fix SetScaleToSize call for plugins. r=roc
2012-05-30 07:14:30 +02:00
Boris Zbarsky
6e136586b6
Bug 464758. Don't try to check for :before/:after pseudos for frames that can't have them. r=dbaron
2012-05-29 23:45:17 -04:00
Phil Ringnalda
7b9a678b28
Back out deac5d31bc12, 8622c5680fb3, 205d2e0d297c (bug 575294), 5ba42170426e (bug 726264), a5444e23c668 (bug 575294) for bug 759243
2012-05-28 22:48:52 -07:00
Phil Ringnalda
a99daa8529
Back out 6d605438199c (bug 758589) for bug 759243
2012-05-28 22:44:57 -07:00
Boris Zbarsky
89e50f89ed
Bug 758885. Don't apply the dynamic :hover reresolution skipping optimization to selectors which can match on mutable state other than :hover. r=dbaron
2012-05-29 00:17:45 -04:00
Mats Palmgren
200d6fe317
Bug 758589 - Make Selection.toString() return early (with empty result string) if the shell is destroyed. r=smaug
2012-05-30 15:03:19 +02:00
Phil Ringnalda
df7a7d5e53
Bug 668849 - give up on testing spellcheck with text-overflow on WinXP
2012-05-28 19:37:14 -07:00
Trevor Saunders
3b1f9183dc
bug 759033 - nsAccessible -> Accessible and nsAccessibleWrap -> AccessibleWrap r=surkov
...
--HG--
rename : accessible/src/atk/nsAccessibleWrap.cpp => accessible/src/atk/AccessibleWrap.cpp
rename : accessible/src/atk/nsAccessibleWrap.h => accessible/src/atk/AccessibleWrap.h
rename : accessible/src/base/nsAccessible.cpp => accessible/src/generic/Accessible.cpp
rename : accessible/src/base/nsAccessible.h => accessible/src/generic/Accessible.h
rename : accessible/src/mac/nsAccessibleWrap.h => accessible/src/mac/AccessibleWrap.h
rename : accessible/src/mac/nsAccessibleWrap.mm => accessible/src/mac/AccessibleWrap.mm
rename : accessible/src/msaa/nsAccessibleWrap.cpp => accessible/src/msaa/AccessibleWrap.cpp
rename : accessible/src/msaa/nsAccessibleWrap.h => accessible/src/msaa/AccessibleWrap.h
rename : accessible/src/other/nsAccessibleWrap.cpp => accessible/src/other/AccessibleWrap.cpp
rename : accessible/src/other/nsAccessibleWrap.h => accessible/src/other/AccessibleWrap.h
2012-05-28 21:18:45 -04:00
Nicholas Cameron
87a457843f
Bug 758561 - Don't build a mask for an empty layer. r=roc
2012-05-28 21:10:08 -04:00
Frédéric Wang
a281bdf650
Bug 757125 - Make more MathML operators mirrorable. r=karlt
2012-05-28 21:09:43 -04:00
Frédéric Wang
55ee39d0ef
Bug 757125 - Make updateOperatorDictionary.pl read mirrorable property. r=karlt
2012-05-28 21:09:25 -04:00
Mats Palmgren
1b8ec5b694
Bug 758589 - Make Selection.toString() return early (with empty result string) if the shell is destroyed. r=smaug
2012-05-29 02:50:42 +02:00
Mats Palmgren
72c9b49158
Bug 575294 - s/mFocused/sFocused/. part=4/4 r=smaug
2012-05-29 02:50:42 +02:00
Mats Palmgren
ab42326d3a
Bug 575294. part=3/4 r=roc
2012-05-29 02:50:42 +02:00