Commit Graph

3891 Commits

Author SHA1 Message Date
David Zbarsky
d103f0c491 Bug 789960 - Fix crash in nsLayoutUtils::HasAnimationsForCompositor r=roc 2012-09-10 23:13:35 -04:00
Jim Mathies
0eb28a561b Bug 783531 - Implement a 'select word at point' text selection routine in nsIDOMWindowUtils. r=roc 2012-09-10 16:02:23 -05:00
Robert Longson
6f3a540d19 Bug 783995 - enable animation of view element attributes. r=dholbert 2012-09-09 12:44:03 +01:00
Boris Zbarsky
3de0423419 Bug 601912. Implement <ol reversed>. r=dholbert 2012-09-07 22:30:24 -04:00
Mats Palmgren
5e3cd8af49 Bug 765409 - Make sure we reparent all child frames on our principal list (when lazily setting the parent), and no other frames. r=bz 2012-09-08 02:33:58 +02:00
Yu-Sian (Thomasy) Liu
3ca4f03c02 Bug 688382 - Add some logic for text-transform checking to avoid merging the first-letter text-frame with the rest. r=roc 2012-09-07 16:23:01 -04:00
Boris Zbarsky
0afd621df9 Bug 786946. Don't propagate text-decoration to <select> by default. r=dbaron
--HG--
rename : layout/reftests/text-decoration/underline-button-1-ref.html => layout/reftests/text-decoration/underline-select-1-ref.html
rename : layout/reftests/text-decoration/underline-button-1.html => layout/reftests/text-decoration/underline-select-1.html
rename : layout/reftests/text-decoration/underline-button-1-ref.html => layout/reftests/text-decoration/underline-select-2-ref.html
rename : layout/reftests/text-decoration/underline-button-1.html => layout/reftests/text-decoration/underline-select-2.html
2012-09-07 10:51:34 -04:00
Cameron McCormack
09aeb61301 Bug 655877 - Part 23a: Add white-space:-moz-pre-discard-newlines value with white space collapsing behavior like SVG's xml:space="preserve". r=roc,dbaron 2012-09-07 15:42:19 +10:00
Ehsan Akhgari
51966b80a6 Bug 579517 follow-up: Remove NSPR types that crept in
--HG--
extra : rebase_source : 3fc28d51fcb5c63e417b0fe2b90fb6e1eb0cac63
2012-09-06 10:11:28 -04:00
Ryan VanderMeulen
559bc624f6 Merge m-c to inbound. 2012-09-05 17:52:28 -04:00
Scott Johnson
32391cde9d Bug 780258: Add an interface to set the maximum line box width, accessible from chrome script. [r=dbaron] 2012-09-05 16:39:34 -05:00
bdahl@mozilla.com
d78b5c5a7f Bug 788639 - crash in GetPrintCanvasElementsInFrame @ mozilla::layout::FrameChildListIterator::FrameChildListIterator, r=smaug 2012-09-05 12:02:27 -07:00
Daniel Holbert
7f5f15b6bd Bug 666041 patch 6: Ignore min/max main-size properties when computing the main size of a flex item (since those properties are honored later in the flexbox algorithm). r=dbaron 2012-09-05 14:13:37 -07:00
Daniel Holbert
89dfb7e636 Bug 666041 patch 5: Use flex-basis in place of main-size property, when computing the main size of a flex item. r=dbaron 2012-09-05 14:13:37 -07:00
Robert O'Callahan
b3739ebb38 Bug 787089. Rip out mUpdatePluginGeometryForFrame optimization. It's not known to be a significant win, and creates problems when prescontext ancestor chains are broken; the complexity probably isn't worthwhile. Also, soon (or now) we can rework plugin bounds computation to be use the display list built for rendering. r=matspal
--HG--
extra : rebase_source : 0394fcb5111b8b96b5f8ce48e20d6e5503f9ccf7
2012-09-05 22:30:10 +12:00
Robert O'Callahan
9cdb4ee0d8 Bug 785588. Perform asynchronous scroll operations before firing requestAnimationFrame callbacks. r=tnikkel
--HG--
extra : rebase_source : 3c1439773981db4ea1b957db4351f50899229130
2012-09-05 22:29:15 +12:00
Brendan Dahl
f36e3d9c21 Bug 745025 - Part 2 - Adds layout/printing support for mozPrintCallback. r=roc 2012-08-30 17:24:35 -07:00
Boris Zbarsky
4596d4afa2 Bug 787131. Move management of primary content state stuff from the nsSubDocumentFrame into the nsFrameLoader, so it works on display:none elements. r=jlebar 2012-09-04 23:00:26 -04:00
Daniel Holbert
16ff96590f Bug 763689 patch 3: Support min-height:auto in computed style, and add special cases as necessary wherever it's read. r=dbaron 2012-09-04 16:26:11 -07:00
Daniel Holbert
b0926860ac Bug 763689 patch 2: Support min-width:auto in computed style, and add special cases as necessary wherever it's read. r=dbaron 2012-09-04 16:26:10 -07:00
Mats Palmgren
c099b899df Bug 785555. r=roc 2012-09-04 02:00:38 +02:00
Aryeh Gregor
5cb11391e0 Bug 782594 - Use NS_FAILED instead of boolean test (content/, js/xpconnect/, layout/); r=bz 2012-08-07 17:58:47 +03:00
Randell Jesup
29ac5c0b8c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Josh Matthews
1c909a96b0 Bug 722861 - Add privacy information to image requests, and use a separate cache for private requests. r=joe 2012-06-26 00:20:12 -04:00
Ehsan Akhgari
3c78f81f54 Bug 785720 - Move the MathML token frame leading/trailing whitespace trimming logic to nsTextFrame; r=roc 2012-08-30 21:32:02 -04:00
Masayuki Nakano
f0eaecb549 Bug 674477 Don't scroll around axis whose overflow is hidden by wheel events r=smaug 2012-08-30 10:05:16 +09:00
Robert O'Callahan
ac552f7834 Bug 784410. Don't target bubbling scroll commands at an element unless we have at least one device pixel to scroll to. r=mats 2012-08-29 23:21:40 +12:00
Jonathan Watt
d64aea9f27 Bug 786387 - Add comments to document the subtleties of nsFrame::Reflow and better document the main dirty frame bits. r=bz. 2012-08-29 09:01:09 +01:00
Daniel Holbert
ca5399b74e Bug 786031: Add parens around "&&" within "||" in nsFrame.cpp to fix GCC -Wparentheses build warnings. r=heycam 2012-08-28 11:14:52 -07:00
Mats Palmgren
e6fabaffe9 Bug 785324 - Return a FrameTarget with 'empty' flag set true when clicking on an empty block (also in the non-editable case). r=roc 2012-08-28 03:55:30 +02:00
Josh Matthews
9992fafc63 Back out bug 722861. 2012-08-27 15:31:29 -04:00
Josh Matthews
081b3a0cda Bug 722861 - Add privacy information to image requests, and use a separate cache for private requests. r=joe 2012-06-26 00:20:12 -04:00
Chris Pearce
76f2fb0490 Bug 781279 - Forget update plugin geometry frame when presentation detaches. r=roc 2012-08-24 23:12:21 +12:00
Jonathan Kew
7059ab1905 bug 784837 - call SetPrimaryFrame earlier during nsSubDocumentFrame::Init. r=roc 2012-08-24 10:16:15 +01:00
Bobby Holley
d806bf9ec7 Bug 784560 - Fix more tests. r=mccr8 2012-08-23 11:45:28 -07:00
Cameron McCormack
e623346898 Bug 782591 - Ensure needPaddingProp is always initialized in nsHTMLReflowState::InitOffsets. r=roc 2012-08-23 11:24:19 +10:00
Ehsan Akhgari
8c296bbcd4 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Ehsan Akhgari
61746bbaf1 Bug 768503 follow-up: fix the comment to match what the code does now
DONTBUILD
2012-08-21 17:09:10 -04:00
Chris Pearce
20bd89e05b Bug 783824 - Don't stash the presentation (discard it if it was stashed) when subdoc frames are destroyed if the presentation is being destroyed. r=roc 2012-08-21 17:07:03 +12:00
David Zbarsky
b27894f902 Bug 784004 - Don't include Layers.h everywhere Part 3 r=nical 2012-08-21 00:06:46 -04:00
L. David Baron
b7240dcf1a Only do hyphenation when the language was specified explicitly, rather than using an encoding-inferred language. (Bug 702121, patch 2) r=jfkthame 2012-08-20 19:23:32 -07:00
Nicolas Silva
54dd2bf57f Bug 782372 - Splits ImageLayers.h into ImageLayers.h ImageContainer.h and ImageTypes.h, r=bgirard 2012-08-19 15:33:25 -04:00
Masayuki Nakano
278ebaf46b Bug 422132 part.1 Store unused fractional scroll amount for later wheel events r=smaug 2012-08-20 01:46:21 +09:00
Charly Molter
4bba69d18c Bug 776265 - changing the way ComputeHeightValue works to make it work just
like ComputeWidthValue already does. this fixes {min,max}-height + adding
  reftests for {min,max}-{height,width} r=mats
2012-08-08 17:58:26 +02:00
Ed Morley
96e1689d08 Backout 41722f2e0c33 (bug 422132), 69da5f098237 (bug 782903), 5c601428c70b (bug 422132) for bug 782903 2012-08-18 23:29:13 +01:00
Daniel Holbert
d63af71024 Bug 783700: Switch nsColumnSetFrame::BuildDisplayList() to use nsFrameList::Enumerator for walking its child frames. r=dbaron 2012-08-17 18:12:01 -07:00
Daniel Holbert
4444c8b8b0 Bug 781869: Remove redundant "NS_FRAME_NO_MOVE_VIEW" bit in a few places where it's already implied from NS_FRAME_NO_MOVE_FRAME. r=dbaron 2012-08-17 12:04:06 -07:00
Ehsan Akhgari
8fbfc92703 Bug 768503: Only disable selection on non-editable content. r=roc 2012-08-16 11:51:46 -04:00
Chris Pearce
2d417c57f9 Bug 775965 - Store root pres context used to register plugins on nsObjectFrame. r=roc 2012-08-17 16:25:19 +12:00
Chris Pearce
23bfa1c21b Bug 775965 - Ensure presentation persists across nsSubDocumentFrame reframes. r=roc 2012-08-14 16:06:44 +12:00