Commit Graph

1170 Commits

Author SHA1 Message Date
Mats Palmgren
93a6cff703 Bug 508665 - part 3, Change GetContentInsertionFrame() to return a nsContainerFrame*, and return null for leaf frames. Deal with GetContentInsertionFrame() returning null in a couple of places. r=roc 2014-05-24 22:20:39 +00:00
Jonathan Watt
c747311c5f Bug 1011806 - Stop loading user-agent and user style sheets for SVG-as-an-image (the main UA sheets svg.css, html.css, etc. will still load on demand). r=bz CLOSED TREE 2014-05-24 21:37:48 +01:00
Jonathan Watt
f95a2d8259 Bug 1013936, part 2 - Only load the html.css UA style sheet on-demand for SVG documents. r=bz CLOSED TREE 2014-05-24 20:29:11 +01:00
Jonathan Watt
fd67923bd1 Bug 1008455 - Avoid loading the xul.css UA style sheet when possible. r=bz CLOSED TREE 2014-05-24 19:51:06 +01:00
Boris Zbarsky
4cdadb09a2 Bug 999456. Page load events should not be cancelable. r=smaug 2014-05-22 00:23:51 -04:00
Karl Tomlinson
7c9679f5c0 backout bug 1096132 for Mac build failure 2014-11-12 16:02:34 +13:00
Karl Tomlinson
109558977b bug 1096132 rename UnscaledAppUnitsPerDevPixel() to AppUnitsPerDevPixelAtUnitFullZoom() r=tn 2014-11-08 17:48:14 +13:00
Ms2ger
32f2651d21 Bug 1004202 - Stop calling PrepareToStartLoad in nsDocumentViewer::LoadStart; r=smaug
Before bug 968805, none of the callers would reach this branch. The callers in
nsContentDLF.cpp call LoadStart immediately after constructing the
nsDocumentViewer, so they hit the !mDocument case, and the comparison was
always false for the caller in nsHTMLDocument::Open, as it passed an
nsIHTMLDocument pointer, so the nsISupports pointers being compared were
always different. (XPCOM rules require SameCOMIdentity in this case, to avoid
exactly this issue.)

I tested that the removed code was never reached after a backout of bug 968805.
2014-05-03 09:34:00 +02:00
Birunthan Mohanathas
eeb9aaaa94 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Daniel Holbert
58e4797429 Bug 996351: Rename nsPresShell::GetReferenceRenderingContext() to CreateReferenceRenderingContext(), to reduce implication of fallibility. r=roc 2014-04-14 21:30:25 -07:00
Tim Taubert
6f21c2e47b Bug 616853 - Make the beforeunload prompt tab-modal r=dao,bz 2014-04-02 08:21:14 +02:00
Neil Deakin
ea0e3c7ffa Bug 982734, make nsIWidget::GetWindowType and nsIWidget::GetZIndex return their values, remove some unused colour-related widget methods, r=tn 2014-03-19 12:48:08 -04:00
Masayuki Nakano
2eb2bd8616 Bug 983049 part.5 Rename nsEventDispatcher to mozilla::EventDispatcher r=smaug 2014-03-18 13:48:21 +09:00
Kearwood (Kip) Gilbert
623c044b53 Bug 687297 - The per-presentation base minimum font size is now propagated without being max’ed with the language-specific global minimum font size preference, r=dbaron
A separate accessor has been added to nsPresContext to enable TransferZoomLevels and nsDocumentViewer::GetMinFontSize to access the minimum font size that has not been max’ed against the language specific minimum font size preset.

nsPresContext::mMinFontSize, its getter, and its setter have been renamed to more clearly distinguish them from minFontSize used elsewhere.
2014-02-25 11:07:47 -08:00
Carsten "Tomcat" Book
5b564a846e Backed out changeset 27f21343ffe5 (bug 687297) for mochitest-1 perma fail 2014-02-27 10:21:55 +01:00
Kearwood (Kip) Gilbert
cdbbf1bd08 Bug 687297 - The per-presentation base minimum font size is now propagated without being max’ed with the language-specific global minimum font size preference, r=dbaron
A separate accessor has been added to nsPresContext to enable TransferZoomLevels and nsDocumentViewer::GetMinFontSize to access the minimum font size that has not been max’ed against the language specific minimum font size preset.

nsPresContext::mMinFontSize, its getter, and its setter have been renamed to more clearly distinguish them from minFontSize used elsewhere.
2014-02-25 11:07:47 -08:00
Blake Kaplan
05044bbe0a Bug 956704 - Introduce a mechanism for only suppressing animation frames. r=smaug 2014-02-26 15:58:21 -08:00
Jonathan Watt
846ee3f456 Bug 974430 - Put the |input[type=number]| rule in forms.css into a separate sheet so we can make it respect the dom.forms.number pref. r=dbaron 2014-02-26 12:26:14 +00:00
Arnaud Sourioux
fe6152ac7a Bug 974687 - Part 1: Add about 300 MOZ_OVERRIDE in layout/. r=dholbert 2014-02-24 09:41:56 -05:00
Olli Pettay
d0ac6a87af Bug 969671 - Warn about use of sync XHR in the main thread, r=sicking/ehsan 2014-02-10 20:35:25 +02:00
Ms2ger
4a7d2a5344 Bug 968805 - Pass nsIDocument to nsIContentViewer.loadStart; r=smaug 2014-02-09 09:04:40 +01:00
Ms2ger
a3f3f97ea7 Bug 969035 - Outparamdel NS_NewContentViewer; r=bz 2014-02-09 09:04:40 +01:00
Daniel Holbert
b670751599 Bug 967871: Wrap nsDocumentViewer.cpp's sPrintOptionsContractID variable in #ifdef DEBUG, to fix 'unused variable' build warning in opt builds. r=mats 2014-02-05 18:39:56 -08:00
Mats Palmgren
c669f3d5d1 Bug 946929 - Part 1, Don't schedule paint related events in a detached pres context. r=roc 2014-02-03 23:47:57 +00:00
Oskar Eisemuth
6ff3ba3518 Bug 844473 - Honor mozdisallowselectionprint and moznomarginboxes in print preview and use child document. r=roc 2014-02-02 17:17:28 +01:00
Chris Peterson
c9d272b28c Bug 965693 - Remove annoying "Printing XUL documents is not supported" error dialog. r=roc 2014-01-29 20:40:34 -08:00
Oskar Eisemuth
e2d9a8c6db Bug 844473: Honor mozdisallowselectionprint and moznomarginboxes in print preview as well as print. r=roc 2014-01-24 17:18:54 -05:00
Ms2ger
582319fb44 Bug 956015 - Add an infallible nsIDocShellTreeItem::ItemType; r=bz 2014-01-20 08:58:26 +01:00
Tom Schuster
7ef847756a Bug 691614 - Make content zooming work with e10s Firefox. r=felipe 2014-01-13 18:36:26 +01:00
Gijs Kruitbosch
cebaebcedf Bug 956524 2014-01-16 16:57:13 +01:00
Trevor Saunders
c5bbaf6b46 bug 331376 - merge nsIDocShellTreeNode into nsIDocShellTreeItem r=smaug 2014-01-06 17:34:15 -05:00
Neil Rashbrook
6b33f9e055 Bug 952087 Anchor scroll fails if the anchor is created between DOMContentLoaded and onload r=smaug 2014-01-10 08:35:46 +00:00
Ryan VanderMeulen
16ad3a80a6 Backed out changeset d1b5408d946f (bug 952087) for Android reftest failures. 2014-01-07 15:46:15 -05:00
Neil Rashbrook
8580272cd7 Bug 952087 Anchor scroll fails if the anchor is created between DOMContentLoaded and onload r=smaug 2014-01-07 18:34:21 +00:00
Gijs Kruitbosch
5f7da39efb Bug 636374 - don't show multiple onbeforeunload prompts, r=bz 2013-12-18 18:36:12 +00:00
Ehsan Akhgari
68bfe70f09 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Scott Johnson
707cfa8be8 Bug 878935, Part 2: Pause painting while reflow-on-zoom is in progress to provide a better user experience. [r=kats,dbaron] 2013-10-01 14:52:13 -05:00
Carsten "Tomcat" Book
4912d2115b Backed out changeset 70befb4cf2f4 (bug 878935) for mochitest -4 and bc test failures 2013-12-20 12:42:54 +01:00
Scott Johnson
c8f7a867be Bug 878935, Part 2: Pause painting while reflow-on-zoom is in progress to provide a better user experience. [r=kats,dbaron] 2013-10-01 14:52:13 -05:00
Brad Lassey
9e6e384747 Backed out changeset 93d8c8703f4d 2013-12-19 17:49:05 -05:00
Scott Johnson
6058580114 Bug 878935, Part 2: Pause painting while reflow-on-zoom is in progress to provide a better user experience. r=kats,dbaron 2013-10-01 14:52:13 -05:00
Gijs Kruitbosch
74535028ff Bug 950336 - add a pref to disable onbeforeunload, r=bz 2013-12-18 14:56:40 +00:00
Trevor Saunders
f538844f26 bug 947022 - type nsIPresShell::mForwardingContainer and nsPresContext::mContainer r=bz 2013-11-20 14:18:25 -05:00
Henri Sivonen
24f13eea6e Bug 946647 - Remove bidi options from nsIMarkupDocumentViewer as dead code. r=smontagu. 2013-12-11 15:47:50 +02:00
Trevor Saunders
547b6b0f8f bug 931399 - shutdown DocAccessibles in nsDocumentViewer::Destroy r=bz 2013-12-06 16:03:40 -05:00
Irakli Gozalishvili
28ae49dde9 Bug 843910 - Expose document state changes via observer service r=mrbkap 2013-12-05 15:10:06 -08:00
Mats Palmgren
88ed1cf178 Bug 507728 - Initialize the pres-shell/context with the correct width/height with zooming taken into account. r=bz 2013-12-05 04:37:03 +00:00
John Daggett
ef5b1e71eb Bug 934710 - log text perf metrics at reflow end, load complete and presshell teardown. r=heycam 2013-11-25 14:00:00 +09:00
Trevor Saunders
4ef73ce6d0 bug 939049 - staticly type nsIDocument::mDocumentContainer and nsDocumentViewerContainer::mContainer r=smaug 2013-11-15 02:12:43 -05:00
Dongie Agnir
269abf3af5 Bug 940825 - Initialize dialogsWereEnabled to false. r=roc 2013-11-20 09:40:32 -05:00