Daniel Holbert
192af6695e
Bug 783470 part 3: Use the strut metadata we've saved to actually build special "strut" FlexItems on our second pass through reflow. r=mats
2014-01-21 14:52:27 -08:00
Daniel Holbert
24178bf4de
Bug 783470 part 2: Create an array with information about each visibility:collapse "strut" that we need to build. r=mats
2014-01-21 14:51:58 -08:00
Daniel Holbert
8b3fd15df6
Bug 783470 part 1: Split most of flex reflow into a helper-function, so that we can easily restart it by reinvoking that helper. r=mats
2014-01-21 14:51:57 -08:00
Daniel Holbert
aa243cb603
Bug 961354 part 2: Don't consider absolutely-positioned elements to be flex items, since they don't participate in normal flex layout. r=mats
2014-01-20 14:02:20 -08:00
Daniel Holbert
43532411b0
Bug 961354 part 1: Move nsCSSOffsetState constructor definition to .cpp file. r=mats
2014-01-20 14:02:18 -08:00
Peiyong Lin
e0dbe148bc
Bug 959874 - Reorder two parameters in nsContainerFrame::FinishReflowChild(), for consistency with nsContainerFrame::ReflowChild(). r=dholbert
2014-01-16 17:34:44 -08:00
Vivien Nicolas
34b64b76cb
Bug 942246 - Event fluffing fails to generate a click under certain conditions. r=smaug
2014-01-16 15:52:27 +01:00
Cameron McCormack
7e8cb6aa8a
Bug 960312 - Rename TEXT_IS_IN_SINGLE_CHAR_MI to NS_FRAME_IS_IN_SINGLE_CHAR_MI to make it clear it's global. r=roc
2014-01-16 16:10:09 +11:00
Cameron McCormack
8342768703
Backout rev 994659cbc145 (bug 960312) for various test failures.
2014-01-16 14:45:01 +11:00
Cameron McCormack
74b5546df5
Bug 960312 - Move TEXT_IS_IN_SINGLE_CHAR_MI to a class specific frame state bit value. r=roc
2014-01-16 13:55:19 +11:00
Robert O'Callahan
35d96f3fe3
Bug 157846. Part 0.1: When reflowing a non-rootframe reflow root, preserve its used padding in case that differs from its CSS computed padding for some reason. r=mats
...
--HG--
extra : rebase_source : 15631dc5a5f40dc2d95b1eaa7698fba635763626
2014-01-15 22:47:36 +13:00
James Kitchener
dbd39cd286
Bug 442637 - Apply ssty font feature setting to appropriate MathML elements. r=roc
...
--HG--
rename : layout/generic/MathVariantTextRunFactory.cpp => layout/generic/MathMLTextRunFactory.cpp
rename : layout/generic/MathVariantTextRunFactory.h => layout/generic/MathMLTextRunFactory.h
2014-01-15 09:49:20 -05:00
Wes Kocher
4feb8dd8e3
Merge b2g-inbound to m-c
2014-01-14 15:44:06 -08:00
Ed Morley
07bc93cb43
Bug 916143 - Disable test_movement_by_words.html on Windows for intermittent failures
2014-01-14 16:38:26 +00:00
Botond Ballo
6d1f87d7a1
Bug 957835 - Move operator|(FrameChildListID, FrameChildListID) to mozilla::layout. r=mats
...
--HG--
extra : rebase_source : 25fe8f29a6c826a5181e18880c393df9930f9d5c
2014-01-02 16:28:19 -05:00
Cameron McCormack
da173575ba
Bug 959016 - Add lldb Python command handlers for debugging Gecko, starting with frametree and frametreelimited. (DONTBUILD) r=ehsan
2014-01-14 09:24:22 +11:00
Robert Longson
2880ca117f
Bug 889235 - Make text-shadow work on SVG text. r=cam
2014-01-13 12:21:42 +00:00
Robert O'Callahan
c611107fa5
Bug 917416. Force the background color of an <iframe> with a remote subdocument into its own layer. r=tnikkel
...
--HG--
extra : rebase_source : 41692d16014209430fa68973dfa0296921083aae
2014-01-10 15:59:59 +13:00
Mats Palmgren
3ff4319718
Bug 958249 - The first ::first-letter continuation should display all sides of the border, the following continuations none. r=dholbert
2014-01-12 04:05:49 +00:00
Mats Palmgren
17490e8b74
Bug 943249 - Make <[i]frame scrolling> compatible with IE/Chrome; that is scrolling="no" (and synonyms) suppress scrollbars (as before), anything else has no effect. r=bz
2014-01-12 04:05:49 +00:00
Cameron McCormack
b6432d5b09
Bug 957770 - Take SVG font size scaling into account when vertically aligning text. r=roc
2014-01-11 12:13:09 +11:00
Benoit Jacob
38c78765b2
Bug 958375 - 9/9 - NS_SIDE_TOP was inadvertently used as the (1<<NS_SIDE_TOP) bit - r=roc
2014-01-10 14:06:17 -05:00
Benoit Jacob
535a216635
Bug 958375 - 4/9 - Make SurfaceFormat a typed enum - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Jonathan Kew
54f21ce0a4
bug 955957 - pt 1 - reimplement gfxSkipChars and gfxSkipCharsIterator to perform better with huge text runs. r=roc
2014-01-10 09:42:05 +00:00
Carsten "Tomcat" Book
e30f5ec866
Backed out changeset 4b54755de2a7 (bug 955957) for Build Bustage on a CLOSED TREE
2014-01-10 09:30:28 +01:00
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
Morris Tseng
92e492567a
Bug 930056 - Force invalidate frame when displayitem is remote type. r=mattwoodrow
2013-12-16 08:37:34 -05:00
Mats Palmgren
fdf58ed14b
Bug 949932 - Null-check the new StickyScrollContainer in case we don't have any scroll frame ancestors, e.g. in a position:fixed sub-tree. r=roc
2013-12-13 12:46:59 -05:00
Quentin Headen
4cd0aa7229
Bug 731667 - Rewrite mtable implementation to avoid use of _moz-* attributes - implement parsing and rendering. r=karlt, r=bz
2013-12-13 12:42:43 -05:00
Tor Arvid Lund
944f0d6f3b
Bug 929513 - Replace some instances of gfxIntSize with gfx::IntSize r=nical
2013-12-13 18:32:02 +01:00
Wes Kocher
3b7fc0a192
Merge inbound to m-c
2013-12-12 19:12:51 -08:00
Kartikaya Gupta
ea5edff9a1
Bug 933264 - Add functions to print nsDisplayListSet instance. r=tn
2013-12-12 13:27:07 -05:00
Bobby Holley
0443d74313
Bug 937317 - Remove unnecessary AutoSystemCaller usage. r=bz
...
See bug 937317 comment 38.
2013-12-11 17:51:58 -08:00
Bobby Holley
c2e3e33a71
Bug 937317 - Replace all instance of null cx pushing with AutoSystemCaller. r=bz
...
This is an easy bonus chunk of the work to phase out cx pushing in the browser.
2013-12-11 17:51:58 -08:00
Jonathan Watt
7196f2ef59
Bug 946184 - Make sure that we reframe the nsIAnonymousContentCreator if any nsIAnonymousContentCreator::ContentInfo created content needs reframing. r=bz
2013-12-11 11:41:51 +00:00
Cameron McCormack
373bbf7210
Bug 947082 - List parent style context in frame tree dumps. r=mats
2013-12-11 17:13:20 +11:00
Ehsan Akhgari
d9cd92fa17
Bug 947736 - Build modules/libpref/ in unified mode; r=bsmedberg
2013-12-10 18:10:01 -05:00
Ryan VanderMeulen
a762d43c40
Merge m-c to inbound.
2013-12-10 15:48:16 -05:00
Kartikaya Gupta
d174e6cdb8
Bug 814435 - Always layerize overlay scrollbars on B2G. r=tn
2013-12-09 22:14:54 -05:00
Kartikaya Gupta
cb968a6256
Bug 814435 - Annotate layers for scrollbars as such. r=tn, BenWa
2013-12-09 22:14:53 -05:00
Birunthan Mohanathas
58325c73be
Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
...
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Birunthan Mohanathas
bd0f161288
Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo
2013-12-08 21:52:33 -05:00
Masayuki Nakano
73db2aa3c7
Bug 930374 part.4 Fix new orange of test_bug448987.html on Mac since it doesn't set tab navigation setting r=smaug
2013-12-09 00:51:17 +09:00
Mats Palmgren
1a42a53a7b
Bug 942017 - Only let the bullet frame affect the line height when line-height:normal. r=jfkthame
2013-12-08 01:11:50 +00:00
Martin Stransky
f09c774110
Bug 941595 - Build with system-cairo is broken. r=glandium
2013-12-10 10:37:03 -05:00
Phil Ringnalda
acb7391a6b
Merge m-c to m-i
2013-12-07 11:21:52 -08:00
Phil Ringnalda
d1ba8751f2
Back out 35371620801a:bf2019278b77 (bug 937317) for gaia-ui-test bustage and frequent timeouts in its own test
2013-12-07 11:08:56 -08:00
Daniel Holbert
998d998b20
Bug 946269: Rename nsFlexContainerFrame::ComputeFlexContainerCrossSize to ComputeCrossSize. implicit-rs=mats
2013-12-06 13:38:49 -08:00
Robert O'Callahan
a133335804
Bug 938772. Don't give the anonymous poster <img> an empty 'src' attribute if we don't have a 'poster' attribute. r=cpearce
2013-12-04 14:06:16 +13:00
Trevor Saunders
c2b2fcd3d4
bug 949821 - use MOZ_UTF16 more and NS_LITERAL_STRING less r=froydnj
2013-12-12 20:50:01 -05:00
Trevor Saunders
1e02452a1d
bug 947022 - type nsIPresShell::mForwardingContainer and nsPresContext::mContainer r=bz
2013-11-20 14:18:25 -05:00