Brendan Dahl
0dd6b2e3a8
Bug 827591 - Be more careful changing declarations on page rules. r=dbaron
2013-01-09 10:33:09 -08:00
Anthony Jones
7cc38ffb42
Bug 825808 - Fix animations by marking transforms as not fixed. r=roc
2013-01-12 15:48:55 -05:00
Seth Fowler
2a183d535a
Bug 825720 - Don't use GetRootLayoutFrame to calculate the size of SVG images. r=joe
2013-01-10 19:38:34 -08:00
Seth Fowler
48088dc93b
Bug 811391 - Part 2: Tests. r=dbaron
2013-01-09 16:05:19 -08:00
Seth Fowler
a45a8ce8df
Bug 811391 - Part 1: Ignore @page declarations involving viewport units. r=dbaron
2013-01-09 16:03:55 -08:00
Daniel Holbert
f03386ee5e
Bug 829168: Mark layout/style as FAIL_ON_WARNINGS, on non-MSVC compilers. r=bz
2013-01-12 10:49:12 -08:00
Ehsan Akhgari
47319c37e6
Merge mozilla-central into mozilla-inbound
2013-01-12 09:27:31 -05:00
Daniel Holbert
ca0da46939
Bug 829369: Cast pointer-subtraction to a size_t (after ensuring it'll be nonnegative) when comparing it to a nsTArray's size, to fix signed/unsigned comparison build warning. r=dbaron
2013-01-12 01:56:15 -08:00
Mike Connor
dbf5df186f
Bug 804745 - Unified notification for application data reporting; r=gavin
2013-01-11 19:05:35 -08:00
Ms2ger
fea92580b3
Merge latest PGO-green m-i changeset to m-c.
2013-01-11 14:48:33 +01:00
Ms2ger
023389df36
Bug 825749 - Convert SVG gradient elements to WebIDL; r=bz
...
--HG--
rename : content/svg/content/src/nsSVGGradientElement.cpp => content/svg/content/src/SVGGradientElement.cpp
rename : content/svg/content/src/nsSVGGradientElement.h => content/svg/content/src/SVGGradientElement.h
2013-01-11 09:43:01 +01:00
Ms2ger
41958008fc
Bug 825407 - Get rid of GetElementParent; r=mounir
2013-01-11 09:43:01 +01:00
L. David Baron
82a355217b
Back out bug 588237, patches 2 through 5.
2013-01-10 22:20:16 -08:00
L. David Baron
569efd78bf
Bug 827687, patch 2: Be more careful walking segments. r=bzbarsky
2013-01-10 21:14:51 -08:00
L. David Baron
c5a674d40c
Bug 827687: Fix edge case in calculation of whichIteration. r=bzbarsky
2013-01-10 21:14:51 -08:00
L. David Baron
848bcb296f
Bug 827717: Change record of CSS animation start to be before delay so that dynamic changes to animation-delay are honored. r=bzbarsky
...
This matches the CSS Working Group consensus recorded in
http://lists.w3.org/Archives/Public/www-style/2012Nov/0261.html , though
the spec hasn't yet been updated.
2013-01-10 21:14:51 -08:00
L. David Baron
66aeda3cc1
Bug 827698: Use the length of the 'animation-name' list when determining how many animations to run. r=bzbarsky
...
NOTE: The tests in test_animations.html fail without the patch; the
tests in test_shorthand_property_getters.html are only tangentially
related and pass both with and without the patch.
2013-01-10 21:14:51 -08:00
L. David Baron
da6afc11ff
Bug 588237, patch 5: remove the optimization of skipping FlowAndPlaceFloat for some pushed floats, simply because the optimization looks fishy to me. r=roc
2013-01-10 21:14:51 -08:00
L. David Baron
411ecc3706
Bug 588237, patch 4: Pull pushed floats back from the next-in-flow at the start of reflow. r=roc
2013-01-10 21:14:51 -08:00
L. David Baron
7ec7e73c43
Bug 588237, patch 3: Remove the pushed floats list when it is empty. r=roc
2013-01-10 21:14:51 -08:00
L. David Baron
77b95720c9
Bug 588237, patch 2: Fix comment that is now incorrect due to work in bug 563584 or followups. r=roc
2013-01-10 21:14:51 -08:00
Ed Morley
41d5ac5eff
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2013-01-10 16:00:09 +00:00
Olli Pettay
18bc6b766a
Bug 817342, delay script runners when making static clones, r=roc
2013-01-10 11:59:36 +02:00
Robert O'Callahan
16b3473563
Bug 828207: Wallpaper over not being able to find a layer manager on the main thread when initializing a remote render frame. That's OK, we'll find one on the compositor thread. r=cjones
2013-01-10 11:02:21 +01:00
Trevor Saunders
36f6c1227a
bug 829288 - fix layout/ warnings on mingw r=dholbert
2013-01-10 02:04:09 -05:00
David Zbarsky
9893a04134
Bug 825147: Convert SVGAElement to WebIDL r=bz
...
--HG--
rename : content/svg/content/src/nsSVGAElement.cpp => content/svg/content/src/SVGAElement.cpp
rename : content/svg/content/src/nsSVGAElement.h => content/svg/content/src/SVGAElement.h
2013-01-10 00:30:13 -05:00
David Zbarsky
94935ac489
Bug 827119: Convert SVGSVGElement to WebIDL r=bz
2013-01-09 18:02:47 -05:00
David Zbarsky
f95b0f0bde
Bug 827119: Move SVGSVGElement to mozilla::dom r=bz
...
--HG--
rename : content/svg/content/src/nsSVGSVGElement.cpp => content/svg/content/src/SVGSVGElement.cpp
rename : content/svg/content/src/nsSVGSVGElement.h => content/svg/content/src/SVGSVGElement.h
2013-01-09 18:02:45 -05:00
L. David Baron
68375e8af0
Bug 822721 followup: remove bogus assertion to fix orange.
2013-01-09 08:51:14 -08:00
Mounir Lamouri
af0ede0616
Bug 777283 - Adds <input type='time'> behind "dom.experimental_forms" pref. r=smaug
2013-01-08 17:10:00 +00:00
Andrea Marchesini
aef0354f7d
Bug 827050 - Clear cookies and stored data in the browser clears remember my choice permissions for PROMPT_ACTION WebAPIs, r=mounir
...
--HG--
rename : dom/tests/mochitest/localstorage/frame_clear_browser_data.html => extensions/cookie/test/frame_clear_browser_data.html
rename : extensions/cookie/test/test_app_uninstall_permissions.html => extensions/cookie/test/test_app_cleardata_permissions.html
2013-01-07 18:37:01 +01:00
Nicholas Cameron
70fc748166
Bug 824454; use the resolution scale in OMTA transforms. r=cjones; a=blocking-basecamp
...
--HG--
extra : rebase_source : 8f045dd319418b771c5f31ca2f3477ab5673a5ad
2013-01-08 10:39:12 +01:00
L. David Baron
8555193fdf
Fix bustage from bug 822721.
2013-01-08 20:53:16 -08:00
L. David Baron
6200a3ff50
Bug 827704: Fix 'visibility' animation so that it doesn't animate between values when one of them is not 'visibile'. r=bzbarsky
2013-01-08 20:37:29 -08:00
L. David Baron
849ba06bc2
Bug 827579: Remove post-resolve callback concept from style system. r=bzbarsky
2013-01-08 20:37:29 -08:00
L. David Baron
2999d152c3
Bug 822721: Call CalcStyleDifference and process the style change list resulting from the miniflush we do to update throttled animations prior to seeing if we need to start transitions. r=bzbarsky
...
The CalcStyleDifference call is absolutely necessary even if we didn't
need to process the change list, because it causes the new style
context to have cached structs that we might need for a later
comparison. This is important because, as an optimization, we only
compare structs that have been retrieved. This optimization requires
that when we replace a style context, we fetch all the structs on the
new style context that had been fetched on the old style context (which
is normally necessary anyway in order to do comparison so we can process
the changes appropriately).
However, actually processing the change list is also necessary to fix
the bug; it's the actual change from the miniflush that matters here.
Based on dholbert's debugging information, I think it's mostly likely
because we were failing to process the UpdateOverflow hint.
2013-01-08 20:37:29 -08:00
Trevor Saunders
e400fe7845
bug 828138 - GetCurrentSelection() should return Selection* r=smaug
2012-12-19 17:55:44 -05:00
Trevor Saunders
6700f68171
bug 828138 - remove out arg from Selection::GetPresContext() r=ehsan
2012-12-19 13:44:58 -05:00
Trevor Saunders
bfcd97256d
bug 828138 - make Selection::GetPresShell() return the pres shell instead of use an out arg r=ehsan
2012-12-18 19:55:11 -05:00
Trevor Saunders
f36115e135
bug 828138 - remove nsISelectionPrivate::SetPresShell() r=ehsan
2012-12-18 17:30:11 -05:00
L. David Baron
b838fd5e48
Add crashtest for bug 621424 / bug 588237.
2013-01-11 14:51:21 -08:00
L. David Baron
26d1df7fef
Bug 588237, patch 5: remove the optimization of skipping FlowAndPlaceFloat for some pushed floats, simply because the optimization looks fishy to me. r=roc
2013-01-11 14:51:21 -08:00
L. David Baron
28fa8b3991
Bug 588237, patch 4: Pull pushed floats back from the next-in-flow at the start of reflow. r=roc
2013-01-11 14:51:21 -08:00
L. David Baron
0f7b642d48
Bug 588237, patch 2: Fix comment that is now incorrect due to work in bug 563584 or followups. r=roc
2013-01-11 14:51:21 -08:00
Robert Longson
6d76cd33e9
Bug 828246 - Prevent stroke from drawing, on SVG text with a stroke-width of 0. r=dholbert
2013-01-11 22:08:37 +00:00
Neil Deakin
455dd28e45
Bug 685191, don't fire an extra DOMMenuItemActive event when switching menus on a menubar, r=neil
2013-01-11 15:21:48 -05:00
Chris Peterson
b483c0b61c
Bug 829344 - Part 4: Fix gcc -Wlogical-op warnings from PRBool/bool conversion. r=ehsan
2013-01-10 17:56:51 -08:00
L. David Baron
647e6ccc5a
Bug 822891: Make animationiteration events fire when we're running off-main-thread animations and throttling style changes. r=nrc
2013-01-11 09:53:14 -08:00
Zack Weinberg
02d54c729f
Bug 413958: report the text of the offending line in CSS error messages. r=dbaron
2013-01-11 12:27:43 -05:00
Ms2ger
00396c39c9
Merge m-c to m-i.
2013-01-11 15:11:42 +01:00
Cervantes Yu
c64b44eb24
Bug 820571: Don't show remote frame on restyles until reflow finished. r=roc
...
Original work from :roc.
Add check in nsFrameLoader::ShowRemoteFrame() so restyle of subdocument frames
doesn't resize remote content until first reflow finished and size is decided.
--HG--
extra : rebase_source : 24959ad409eb4e8993ae9eb0a82f5d670866ba54
2013-01-10 15:23:55 +08:00
Robert O'Callahan
0a7fb44e77
Bug 827577. Be a lot more careful about saving and restoring frame constructor state for fixed-pos descendants of CSS-transformed elements. r=bzbarsky
...
--HG--
extra : rebase_source : b78a8cb774b961696e59c2c27a8ade56d629b78f
2013-01-11 00:47:33 +13:00
Masatoshi Kimura
d192591303
Bug 829388 - Remove unused functions and macros from nsCoord.h. r=roc
2013-01-11 20:37:52 +09:00
Ed Morley
01d7c333be
Backout 7f4f96dbf94f (bug 827172), 661847c6e48b (bug 827724), 00e357dd1458 (bug 827149) to fix the build on a CLOSED TREE
2013-01-11 11:13:17 +00:00
David Zbarsky
0aa732fee1
Bug 827172: Move SVGPathElement to mozilla::dom r=bz
...
--HG--
rename : content/svg/content/src/nsSVGPathElement.cpp => content/svg/content/src/SVGPathElement.cpp
rename : content/svg/content/src/nsSVGPathElement.h => content/svg/content/src/SVGPathElement.h
2013-01-11 02:15:05 -05:00
David Zbarsky
b3e656ecac
Bug 827149 - Remove some uses of nsIDOMHTMLBodyElement r=bz
2013-01-11 02:15:05 -05:00
Andrew Halberstadt
3a19a47088
Bug 811779 - Enable larger set of reftests on B2G emulators, r=jgriffin
2013-01-03 15:35:01 -05:00
Daniel Holbert
bccf9d2a1a
Bug 829112: Fix "comparison between signed and unsigned integer expressions" warnings in nsStyleSet.cpp. r=bz
2013-01-10 10:40:53 -08:00
Ed Morley
e42d00f491
Merge mozilla-central to mozilla-inbound
2013-01-10 16:02:04 +00:00
Daniel Holbert
e9aa0c7b1f
Bug 828838: Fix nsCSSRuleProcessor init-list order. r=heycam
2013-01-10 07:55:43 -08:00
Ed Morley
fa5da5e080
Bug 791480 - Mark printing/745025-1.html as fuzzy-if on Windows7 due to too many intermittent failures
2013-01-10 14:59:27 +00:00
Dave Hylands
0b3918ce04
Bug 785124 - Pt 1 - Add VolumeMountLock which allows SDCard to be locked. r=dougt
...
From 8e39b8e5f3ab7e6344b0a8a5eeabdcf672de8fb4 Mon Sep 17 00:00:00 2001
---
dom/ipc/ContentChild.cpp | 18 +++-
dom/ipc/ContentChild.h | 5 +-
dom/ipc/ContentParent.cpp | 22 +++-
dom/ipc/ContentParent.h | 2 +
dom/ipc/PContent.ipdl | 6 +-
dom/system/gonk/AutoMounter.cpp | 19 +++-
dom/system/gonk/Makefile.in | 4 +-
dom/system/gonk/Volume.cpp | 62 ++++++++++-
dom/system/gonk/Volume.h | 11 +-
dom/system/gonk/VolumeServiceIOThread.cpp | 11 +-
dom/system/gonk/VolumeServiceIOThread.h | 7 +-
dom/system/gonk/nsIVolume.idl | 21 +++-
dom/system/gonk/nsIVolumeMountLock.idl | 12 +++
dom/system/gonk/nsIVolumeService.idl | 9 +-
dom/system/gonk/nsVolume.cpp | 96 ++++++++++++++++-
dom/system/gonk/nsVolume.h | 43 ++++++--
dom/system/gonk/nsVolumeMountLock.cpp | 157 +++++++++++++++++++++++++++
dom/system/gonk/nsVolumeMountLock.h | 55 ++++++++++
dom/system/gonk/nsVolumeService.cpp | 168 +++++++++++++++++++++++------
dom/system/gonk/nsVolumeService.h | 20 +++-
layout/build/nsLayoutModule.cpp | 5 +-
layout/build/nsLayoutStatics.cpp | 9 ++
22 files changed, 684 insertions(+), 78 deletions(-)
create mode 100644 dom/system/gonk/nsIVolumeMountLock.idl
create mode 100644 dom/system/gonk/nsVolumeMountLock.cpp
create mode 100644 dom/system/gonk/nsVolumeMountLock.h
2012-12-14 16:01:34 -08:00
Cameron McCormack
03ad54f88e
Bug 508725 - Part 11: Tests for <style scoped>. rs=dbaron
2013-01-09 10:25:49 +11:00
Cameron McCormack
a7697e7d05
Bug 508725 - Part 7: Optimize restyling when a scoped style sheet changes. r=dbaron
2013-01-09 10:25:48 +11:00
Cameron McCormack
e94d9ec2e9
Bug 508725 - Part 6: Modify selector matching to take style scopes into account. r=dbaron
2013-01-09 10:25:48 +11:00
Cameron McCormack
f318d9c354
Bug 508725 - Part 5: Record the <style scoped> elements in scope in preparation for selector matching. r=dbaron
2013-01-09 10:25:48 +11:00
Cameron McCormack
1e351dcb1e
Bug 508725 - Part 4: Add a content flag representing whether an element is a scoped style root. r=dbaron
2013-01-09 10:25:47 +11:00
Cameron McCormack
343037880d
Bug 508725 - Part 3: Create a rule processor for each style scope. r=dbaron
2013-01-09 10:25:47 +11:00
Cameron McCormack
ecfc7c3212
Bug 508725 - Part 2: Record on nsCSSStyleSheets whether they are for a <style scoped>. r=dbaron
2013-01-09 10:25:47 +11:00
Cameron McCormack
9549910503
Bug 508725 - Part 1: Add content flag representing whether an element is in a style scope. r=dbaron
2013-01-09 10:25:47 +11:00
Jonathan Watt
e2220cf6e6
Bug 820506 - Problem selecting image node in SVG when used with clip-path in certain condition. r=roc.
...
--HG--
extra : rebase_source : 874ed2a13f51dc5381909502f030cb4ca6c2a41e
2013-01-04 11:48:12 +00:00
Jonathan Watt
f60c6cd6a7
Testcase for bug 779029 (Mask region ignored when rendering with Direct2D). DONTBUILD (disabled for now). r=me.
2012-12-28 13:02:51 +00:00
Mats Palmgren
e52fde4597
Bug 823041 - Destroy the pres shell before the document. r=roc
2012-12-09 23:31:54 +01:00
Robert Longson
f255dce3a2
Bug 825411 - clipPaths, masks, etc. with failing conditional processing attributes cause referencing elements not to be rendered r=cam
2013-01-08 13:14:04 +00:00
Ed Morley
8032921282
Merge mozilla-central to mozilla-inbound
2013-01-08 12:35:50 +00:00
Olli Pettay
128cd62dcf
Bug 821991, prevent unexpected results in printing by keeping the setup stuff alive, r=roc, a=dveditz
...
--HG--
extra : rebase_source : 0d6001647eae7db48589a69c3dbd96a4dfb8df3f
2013-01-08 14:03:49 +02:00
Phil Ringnalda
a3a5c77746
Back out 6737ce4d3ce6:599c37ed628c (bug 785124) for b2g Arm xpcshell orange in update tests
2013-01-07 22:59:32 -08:00
Phil Ringnalda
070ec313da
Back out fef358e6d5e6 (bug 827050) for Linux/Windows xpcshell orange in test_cache_jar_wrap.js
2013-01-07 22:01:41 -08:00
David Zbarsky
5f2db29ba0
Bug 827197 - Remove some uses of nsIDOMSVGElement subclasses r=longsonr
2013-01-07 22:22:41 -05:00
David Zbarsky
6ce48d9fe8
Bug 825834 - Move SVGViewElement to mozilla:::dom r=bz
...
--HG--
rename : content/svg/content/src/nsSVGViewElement.cpp => content/svg/content/src/SVGViewElement.cpp
rename : content/svg/content/src/nsSVGViewElement.h => content/svg/content/src/SVGViewElement.h
2013-01-07 22:22:41 -05:00
Daniel Holbert
e07d93e3a1
Bug 826149 - Add IsFrameTreeTooDeep() early-return in flex container reflow. r=dbaron
2013-01-07 21:29:22 -05:00
Shih-Chiang Chien
115ee3c4ea
Bug 820660 - Test case for prevent selection on mouse event and touch event. r=smaug
2013-01-07 21:29:21 -05:00
Ehsan Akhgari
129c4cd7fd
Bug 579517 follow-up: Remove NSPR types that crept in
2013-01-07 18:21:50 -05:00
Edwin Flores
dd8f473d13
Bug 798839 - Fix scaling of SVG glyphs inheriting outer object pattern under zooming r=roc
2013-01-08 11:03:44 +13:00
Cameron McCormack
4129a6997c
Backout bug 508725 (d267bb4b58b5, 50f71edffeb9, 6aec8e22fe60, e62e1f33958a, 0f146c435249, eb959b9f4862, 2b0ee42f3aa0, 02db01cd6796, 2ef0e517d43d, b650588e05c9 and a3c916829d56) for build failure on a CLOSED TREE.
2013-01-08 19:36:21 +11:00
John Daggett
7a54f7601a
Bug 605231 - Don't parse unquoted reserved keywords 'initial' or 'default' in font family names. r=dbaron
2013-01-08 17:13:17 +09:00
John Daggett
7363e4e19c
Bug 605231 - Move transform parsing code out of font property parsing code. r=dbaron
2013-01-08 17:13:17 +09:00
John Daggett
abf9663034
Bug 605231 - Tests for font family name parsing. r=dbaron
2013-01-08 17:13:16 +09:00
Cameron McCormack
40c817ffda
Bug 508725 - Part 11: Tests for <style scoped>. rs=dbaron
2013-01-08 19:09:24 +11:00
Cameron McCormack
973ec44abf
Bug 508725 - Part 7: Optimize restyling when a scoped style sheet changes. r=dbaron
2013-01-08 19:09:23 +11:00
Cameron McCormack
3a91b6b9fc
Bug 508725 - Part 6: Modify selector matching to take style scopes into account. r=dbaron
2013-01-08 19:09:23 +11:00
Cameron McCormack
e48c81d4fd
Bug 508725 - Part 5: Record the <style scoped> elements in scope in preparation for selector matching. r=dbaron
2013-01-08 19:09:23 +11:00
Cameron McCormack
51af9cdaa4
Bug 508725 - Part 4: Add a content flag representing whether an element is a scoped style root. r=dbaron
2013-01-08 19:09:23 +11:00
Cameron McCormack
d0727939f7
Bug 508725 - Part 3: Create a rule processor for each style scope. r=dbaron
2013-01-08 19:09:22 +11:00
Cameron McCormack
df56da34c4
Bug 508725 - Part 2: Record on nsCSSStyleSheets whether they are for a <style scoped>. r=dbaron
2013-01-08 19:09:22 +11:00
Cameron McCormack
2113f619d0
Bug 508725 - Part 1: Add content flag representing whether an element is in a style scope. r=dbaron
2013-01-08 19:09:22 +11:00
Andrea Marchesini
8cee541032
Bug 827050 - Clear cookies and stored data in the browser clears remember my choice permissions for PROMPT_ACTION WebAPIs, r=mounir
...
--HG--
rename : dom/tests/mochitest/localstorage/frame_clear_browser_data.html => extensions/cookie/test/frame_clear_browser_data.html
rename : extensions/cookie/test/test_app_uninstall_permissions.html => extensions/cookie/test/test_app_cleardata_permissions.html
2013-01-07 18:37:01 +01:00
Dave Hylands
78d09607c8
Bug 785124 - Pt 1 - Add VolumeMountLock which allows SDCard to be locked. r=dougt
...
From 8e39b8e5f3ab7e6344b0a8a5eeabdcf672de8fb4 Mon Sep 17 00:00:00 2001
---
dom/ipc/ContentChild.cpp | 18 +++-
dom/ipc/ContentChild.h | 5 +-
dom/ipc/ContentParent.cpp | 22 +++-
dom/ipc/ContentParent.h | 2 +
dom/ipc/PContent.ipdl | 6 +-
dom/system/gonk/AutoMounter.cpp | 19 +++-
dom/system/gonk/Makefile.in | 4 +-
dom/system/gonk/Volume.cpp | 62 ++++++++++-
dom/system/gonk/Volume.h | 11 +-
dom/system/gonk/VolumeServiceIOThread.cpp | 11 +-
dom/system/gonk/VolumeServiceIOThread.h | 7 +-
dom/system/gonk/nsIVolume.idl | 21 +++-
dom/system/gonk/nsIVolumeMountLock.idl | 12 +++
dom/system/gonk/nsIVolumeService.idl | 9 +-
dom/system/gonk/nsVolume.cpp | 96 ++++++++++++++++-
dom/system/gonk/nsVolume.h | 43 ++++++--
dom/system/gonk/nsVolumeMountLock.cpp | 157 +++++++++++++++++++++++++++
dom/system/gonk/nsVolumeMountLock.h | 55 ++++++++++
dom/system/gonk/nsVolumeService.cpp | 168 +++++++++++++++++++++++------
dom/system/gonk/nsVolumeService.h | 20 +++-
layout/build/nsLayoutModule.cpp | 5 +-
layout/build/nsLayoutStatics.cpp | 9 ++
22 files changed, 684 insertions(+), 78 deletions(-)
create mode 100644 dom/system/gonk/nsIVolumeMountLock.idl
create mode 100644 dom/system/gonk/nsVolumeMountLock.cpp
create mode 100644 dom/system/gonk/nsVolumeMountLock.h
2012-12-14 16:01:34 -08:00
Andrew Halberstadt
0dc82f61d7
Bug 812012 - (Part 1) Add busybox arg to b2g reftest/mochitest harnesses, r=jgriffin, DONTBUILD a=NPOTB,test-only
2013-01-07 10:29:43 -05:00
Boris Zbarsky
cae5a1d2b0
Back out bug 810644 for now to fix bug 827035, until we manage to fix bug 765780. r=stuff-is-broken
2013-01-07 10:29:00 -05:00