Commit Graph

5166 Commits

Author SHA1 Message Date
Jonathan Kew
4247cb99b0 bug 955957 - pt 1 - reimplement gfxSkipChars and gfxSkipCharsIterator to perform better with huge text runs. r=roc 2014-01-10 07:48:01 +00:00
Daniel Holbert
225d516338 (no bug) fix typo in code comment (s/it's prev continuation/its prev continuation). Comment-only, so DONTBUILD 2014-01-09 17:44:58 -08:00
Cameron McCormack
f2c3027ca6 Bug 945074 - Give continuing nsFirstLetterFrame child a style context that inherits from what the nsFirstLetterFrame inherits from. r=dbaron 2014-01-09 10:12:42 +11:00
Daniel Holbert
84bbf5a65a Bug 956046: Allow adjacent anonymous flex items if we've reordered items with the "order" property. r=dbaron 2014-01-08 14:37:13 -08:00
Markus Stange
c1ee39df36 Bug 941887. r=roc 2014-01-08 10:30:03 +01:00
Daniel Holbert
3ea9bcc426 Bug 807565: Don't let border/padding push minimum content-box size for themed flex items below 0. r=mats 2014-01-06 19:17:26 -08:00
Daniel Holbert
57fe219e9b Bug 893496: Avoid doing bogus infinity*0 multiplication when producing a flex weight from huge flex-shrink and 0 flex-basis. r=mats 2014-01-05 20:18:12 -08:00
Mats Palmgren
1a854bc937 Bug 956447 - Make it possible to get frame dumps in non-DEBUG builds. r=roc 2014-01-05 23:31:14 +00:00
Ehsan Akhgari
ac73237d97 Merge m-c into inbound 2014-01-04 12:14:57 -05:00
Ehsan Akhgari
eaa7491d77 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
Robert Longson
74757f31d9 Bug 956311 - Remove nsSVGGeometryFrame. r=dholbert 2014-01-04 08:29:02 +00:00
Mats Palmgren
fa3f0fcd88 Bug 950411 - Initialize mNCAWidth to zero. r=roc 2014-01-03 21:08:50 +00:00
Mats Palmgren
843fe45a3d Bug 949294 - Mark the delegating frame as being IN_REFLOW while reflowing abs.pos. children. r=roc 2014-01-03 21:08:50 +00:00
Timothy Nikkel
b02f4fee51 Bug 942189. Only avoid creating scroll info layers for root scroll frames in display root documents (not root content documents) because those have already had RecordFrameMetrics on them. r=roc 2014-01-03 14:48:57 -06:00
Cameron McCormack
48666bbe8b Bug 897763 - Take into account nsChangeHint_{NeedReflow,ClearAncestorIntrinsics} never being inherited for difference calculations on certain style structs. r=dbaron 2014-01-03 13:39:54 +11:00
Robert O'Callahan
234a2eae9c Bug 953438 - Change nsIFrame::HasTerminalNewline to HasSignificantTerminalNewline since it doesn't make sense to check for a newline that gets converted to regular whitespace. r=jfkthame 2014-01-02 16:22:12 -05:00
Daniel Holbert
740f1de274 Bug 944909, part 3: add crashtest. (test-only) 2013-12-31 08:47:49 -08:00
Daniel Holbert
d2258e012d Bug 944909 part 2: add comment noting that assertion can be upgraded later. (comment-only) 2013-12-31 08:47:47 -08:00
Mats Palmgren
1165cdeb80 Bug 944909 part 1: On the final call to FreezeOrRestoreEachFlexibleSize, assert (and enforce) that each flex item ends up frozen. r=dholbert 2013-12-31 08:47:43 -08:00
Ms2ger
98586cdbc1 Bug 950143 - Remove the implicit conversion operator from nsIntSize to IntSize; r=roc 2013-12-31 10:06:12 +01:00
David Zbarsky
a574e57920 Bug 952977: Switch GetBBoxContribution to gfx::Matrix r=nical 2013-12-30 01:50:07 -05:00
Robert O'Callahan
67dd0d7a70 Bug 945203. Part 4: Add nsDisplayEventRegions and build it when painting. r=mats
--HG--
extra : rebase_source : 26b71b6a18681e8fc48c6082c8df6263c1bd3739
2013-12-17 00:22:11 +13:00
David Zbarsky
71ac1019d5 Bug 952977: Switch IsSVGTransformed to gfx::Matrix r=nical 2013-12-29 18:35:53 -05:00
Jonathan Kew
5b57b958d7 backout changeset 8b6f20bda157 (bug 735577 followup 1) for build failure 2013-12-29 22:48:13 +00:00
Jonathan Kew
eb1cfcc097 bug 735577 - followup 2 - additional comments describing ISize/BSize in nsHTMLReflow{Metrics,State}.h. r=roc 2013-12-29 22:04:28 +00:00
Jonathan Kew
f4958b2b4b bug 735577 - followup 1 - allow reflow-state to be passed to the reflow-metrics constructor to get the writing mode. r=roc 2013-12-29 22:04:02 +00:00
Jonathan Kew
1f1bd46acb bug 953247 - use binary search instead of linear scan to find tab-width records. r=roc 2013-12-29 11:32:21 +00:00
Jonathan Kew
3f1fa4aeb5 bug 735577 - pt 4.2 - convert width and height fields in nsHTMLReflowMetrics to logical coordinates. r=smontagu 2013-12-27 18:00:04 +00:00
Jonathan Kew
1598f60cbd bug 735577 - pt 4.1 - use accessor functions for some physical-coordinate fields in nsHTMLReflowMetrics, in preparation for logicalization. r=smontagu 2013-12-27 17:59:52 +00:00
Jonathan Kew
9bd905dbd2 bug 735577 - pt 3.3 - provide logical-coordinate APIs in nsHTMLReflowState, parallel to the existing physical APIs. r=smontagu 2013-12-27 17:59:38 +00:00
Jonathan Kew
58325cd45d bug 735577 - pt 3.2 - update the rest of layout code to use the new accessors on nsHTMLReflowState. r=smontagu 2013-12-27 17:59:21 +00:00
Jonathan Kew
8e08dce845 bug 735577 - pt 3.1 - make width/height/offset/margin fields in nsHTMLReflowState private, and provide accessor functions. r=smontagu 2013-12-27 17:59:02 +00:00
Jonathan Kew
842a81b91f bug 735577 - pt 2 - add GetWritingMode() method to nsIFrame. r=smontagu 2013-12-27 17:58:46 +00:00
Jonathan Kew
99941f00c3 bug 735577 - pt 1 - introduce mozilla::WritingMode and logical-coordinate Point/Size/Margin/Rect classes. r=smontagu 2013-12-27 17:58:37 +00:00
Martijn Wargers
64212a4480 Bug 374420 - crashtest. 2013-12-23 16:51:58 +00:00
Martijn Wargers
1eb0893fc6 Bug 374090 - crashtest. 2013-12-23 16:51:57 +00:00
Martijn Wargers
54eeaa85ea Bug 370174 - crashtests. 2013-12-23 16:51:57 +00:00
Patrick Reiter Horn
5dc74e2ea8 Bug 255468 - crashtest. 2013-12-23 16:51:56 +00:00
Robert Longson
2ae7c3bcad Bug 940193 - rename nsSVGTextFrame2 to SVGTextFrame. r=dholbert
--HG--
rename : layout/svg/nsSVGTextFrame2.cpp => layout/svg/SVGTextFrame.cpp
rename : layout/svg/nsSVGTextFrame2.h => layout/svg/SVGTextFrame.h
2013-12-20 16:38:51 +00:00
Kartikaya Gupta
1f672e8b96 Bug 946408 - Always layerize a scrollable element if it's focused. r=kats,tn 2013-12-16 14:53:06 -05:00
Kartikaya Gupta
594fc17902 Bug 946408 - Small refactoring for readability. r=tn 2013-12-16 14:53:02 -05:00
Robert O'Callahan
c227b8935c Bug 950427. Don't descend into subdocuments at all in elementFromPoint. r=mats
--HG--
extra : rebase_source : 59ce23c3ab81afc624921e4543fe48dd7ae47ce2
2013-12-18 18:37:24 +13:00
Daniel Holbert
6630b0ea02 Bug 934123: When measuring flex items, pass the same flags into ReflowChild and FinishReflowChild. r=mats 2013-12-18 10:34:46 -08:00
Phil Ringnalda
29350e47dd Back out f55504b0184f (bug 950427) for mochitest-4 and mochitest-oth bustage (at least)
CLOSED TREE
2013-12-17 23:22:20 -08:00
Robert O'Callahan
5e9047d2fe Bug 950427. Don't descend into subdocuments at all in elementFromPoint. r=mats 2013-12-18 18:37:24 +13:00
Gregory Szorc
461b5aef7e Bug 774572 - Part 2: Define JAR_MANIFESTS in moz.build files; r=glandium
Every directory with a jar.mn now has JAR_MANIFESTS defined in its
moz.build file.

We also removed the may_skip special consideration of jar.mn files
because this information is now available during tier traversal by the
reader courtesy of the variables being present in moz.build files.

--HG--
extra : rebase_source : 21049b15e6bd9cf65b0805ccaccc4ba5aae93c98
extra : amend_source : 0b1ea866d725beef92d37c6f6d475369ac002e19
2013-12-10 16:18:11 +09:00
Ehsan Akhgari
e363f2fa61 Bug 949445 - Part 2: Move Selection to WebIDL; r=bzbarsky 2013-12-17 09:12:33 -05:00
Mats Palmgren
9c162501e2 Bug 947158 - Implement DrainSelfOverflowList for nsInlineFrame and nsFirstLineFrame. r=bz 2013-12-17 13:30:24 +00:00
Ryan VanderMeulen
1afb369d7b Merge inbound to m-c. 2013-12-16 16:58:27 -05:00
Kartikaya Gupta
330e915734 Bug 949132 - Add a flag to FrameMetrics indicating a non-APZ scroll (original patch by mstange). r=tn 2013-12-16 12:04:45 -05:00