Jonathan Watt
ce0451f1da
Bug 1025553, part 2 - Change gfxMatrix from a struct to a class. r=Bas
2014-06-25 12:59:46 +01:00
Mats Palmgren
a83d5d9a7e
Bug 1025669 - part 2, some minor cleanup. r=roc
2014-06-24 17:52:19 +00:00
Mats Palmgren
2572f3ffbd
Bug 1025669 - part 1, Implement layout of block margins for box-decoration-break:clone. r=roc
2014-06-24 17:52:19 +00:00
Mats Palmgren
4afee6639d
Bug 1025669 - part 0.5, Add LogicalMargin::ApplySkipSides. r=jfkthame
2014-06-24 17:52:19 +00:00
Mats Palmgren
01d6c4f07f
Bug 1025669 - part 0, Add BaseMargin::ApplySkipSides, remove nsIFrame::Apply*SkipSides, and change call sites to use the former. r=roc
2014-06-24 17:52:19 +00:00
Benoit Jacob
0c5dc76161
Bug 1028588 - Fix dangerous public destructors in layout/ - r=dbaron
2014-06-23 18:40:01 -04:00
Benoit Jacob
4d8d1e305a
Bug 1028420 - Non-unified build fails when using --enable-warnings-as-errors - bustage fix, no review
2014-06-23 14:49:09 -04:00
Ehsan Akhgari
5a7ac81876
Undo more windows.h damage by undef-ing RemoveDirectory, no bug
2014-06-21 22:17:44 -04:00
Simon Montagu
64e7db84ac
Bug 789096 patch 8: use logical coordinates in nsBlockReflowState. r=jfkthame
2014-06-20 02:55:35 -07:00
Jonathan Watt
7ba2839a4a
Bug 1027645 - Eliminate all nsRenderingContext::AppUnitsPerDevPixel() callers and all non-propagating nsRenderingContext::DeviceContext() callers. r=roc
2014-06-20 07:42:30 +01:00
Kyle Huey
c46bed2510
Bug 737976: Remove nsINodeInfo. r=smaug
...
--HG--
rename : content/base/src/nsNodeInfo.cpp => dom/base/NodeInfo.cpp
rename : content/base/public/nsINodeInfo.h => dom/base/NodeInfo.h
rename : content/base/src/nsNodeInfo.h => dom/base/NodeInfoInlines.h
2014-06-19 19:01:40 -07:00
Benoit Girard
2c957e7952
Bug 1027496 - Stream display list and layers dump. r=mattwoodrow
2014-06-19 18:36:25 -04:00
Benjamin Chen
8bffd58059
Bug 969372: part1: Change the prototype of FreezableElementEnumerator in nsIDocument from nsIContent to nsISupports, and rename it to ActivityObservers. r=roc
2014-06-19 10:09:35 +08:00
Birunthan Mohanathas
617866f602
Bug 1026535 - Fix mismatched class/struct tags. r=ehsan
2014-06-18 17:57:51 -07:00
Susanna Bowen
61669b1069
Bug 727125 - Update overflow areas for text frames on text-decoration change to ensure text-decoration on hover is visible. r=dbaron
2014-06-17 10:32:00 -04:00
Susanna Bowen
fa2e35634d
Bug 727125 - Lazily compute LineBaselineOffset when needed so it is present after a dynamic change of 'text-decoration'. r=dbaron
...
This fixes the positioning of underlines set on a block or its ancestor
when drawn on children of a block that have a vertical-align !=
baseline.
The lazy computation is done all at once for all children of a block to
avoid O(N^2) searches for the line containing a frame.
2014-06-18 12:55:00 -04:00
Jonathan Watt
d8f30cbd1f
Bug 1025553, part 1 - Change the names of the members of gfxMatrix to match the names of the members of Moz2D's Matrix. r=Bas
2014-06-17 18:35:51 +01:00
Simon Montagu
63e075a39d
Bug 789096 patch 7: Use logical coordinates in nsBlockReflowContext. r=jfkthame
2014-06-17 07:41:35 -07:00
Simon Montagu
458f761ae7
Bug 789096: make method names in nsLineLayout correspond to the respective CSS properties. r=jfkthame
2014-06-17 07:41:33 -07:00
Simon Montagu
759b949444
Replace GetBaseline with GetLogicalBaseline and use logical coordinates in the line position and baseline getters in nsLayoutUtils. Bug 789096, r=jfkthame
2014-06-17 05:19:38 -07:00
Martin Stransky
1b61f13108
Bug 957396 - Enlarge container constraints when MinSize is bigger than MaxSize. r=enndeakin
2014-06-11 05:03:00 +02:00
Wes Kocher
a72efc4487
Backed out 2 changesets (bug 727125) for reftest bustage on an otherwise CLOSED TREE
...
Backed out changeset 443361e2724a (bug 727125)
Backed out changeset 16c8d78df86e (bug 727125)
2014-06-16 13:34:50 -07:00
Susanna Bowen
6511578652
Bug 727125 - Update overflow areas for text frames on text-decoration change to ensure text-decoration on hover is visible. r=dbaron
2014-06-16 11:58:29 -07:00
Susanna Bowen
49c99c035b
Bug 727125 - Lazily compute LineBaselineOffset when needed so it is present after a dynamic change of 'text-decoration'. r=dbaron
...
This fixes the positioning of underlines set on a block or its ancestor
when drawn on children of a block that have a vertical-align !=
baseline.
The lazy computation is done all at once for all children of a block to
avoid O(N^2) searches for the line containing a frame.
2014-06-16 11:58:25 -07:00
Xidorn Quan
14eff79f0c
Bug 982355 - Support disclosure-{open,closed} counter styles. r=jfkthame
2014-06-13 17:34:00 +02:00
Andrew McCreight
29f73928fd
Bug 1025170 - Selection::Modify should return on failure. r=bz
2014-06-14 16:43:46 -07:00
Mats Palmgren
6a32467840
Bug 427928 - part 2, Add NS_THEME_FOCUS_OUTLINE to support drawing a native themed focus outline. r=roc
2014-06-14 12:48:07 +00:00
Daniel Holbert
1aa2afe367
Bug 1024875: Make reflow-related functions in nsFlexContainerFrame return void, now that Reflow returns void. r=mats
2014-06-13 08:37:02 -07:00
Ryan VanderMeulen
3dae04272f
Backed out changesets d0ee7053aaf3 and c83f17cd74be (bug 727125) for B2G reftest failures.
...
CLOSED TREE
2014-06-12 14:45:40 -04:00
Susanna Bowen
221c0f8ea0
Bug 727125 - Update overflow areas for text frames on text-decoration change to ensure text-decoration on hover is visible. r=dbaron
2014-06-09 15:00:00 -04:00
Susanna Bowen
092b9e2243
Bug 727125 - Lazily compute LineBaselineOffset when needed so it is present after a dynamic change of 'text-decoration'. r=dbaron
...
This fixes the positioning of underlines set on a block or its ancestor
when drawn on children of a block that have a vertical-align !=
baseline.
The lazy computation is done all at once for all children of a block to
avoid O(N^2) searches for the line containing a frame.
2014-06-06 11:32:00 -04:00
Xidorn Quan
792d567136
Bug 966166 - Part 5: Move computation code with minor changes. r=dbaron
...
In addition to moving the code, this patch also:
* changes the square character from U+25AA to U+25FE to match the spec
* changes all the generating functions from using append to using assign
* removes negative handling from CJKIdeographicToText since it is no longer used there
* fixes indentation and naming conventions
* changes buffer size in DecimalToText
2014-06-11 21:13:00 -04:00
Xidorn Quan
fc0b9b51b4
Bug 966166 - Part 4: Rewrite some builtin counter styles. r=dbaron
2014-06-11 21:12:00 -04:00
Xidorn Quan
9755c01032
Bug 966166 - Part 3: Link to other parts. r=dbaron
2014-06-11 21:12:00 -04:00
Xidorn Quan
ceea63d7cb
Bug 966166 - Part 2: Computation of counter style. r=dbaron
2014-06-11 21:11:00 -04:00
Simon Montagu
30b9d24621
Replace Get/SetTopAscent with Get/SetBlockStartAscent. Bug 789096, r=jfkthame
2014-06-11 02:45:31 -07:00
Geoff Brown
7b2da1059b
Bug 982961 - Use different expected assertion range for layout/generic/crashtests/847209.html on Android; r=dholbert
2014-06-10 19:10:10 -06:00
Geoff Brown
bca7f1009b
Bug 891347 - Disable layout/generic/crashtests/385526.html on Android 2.3, again, for intermittent failures
2014-06-10 09:44:02 -06:00
Geoff Brown
09dccb5e7a
Bug 1021998 - Broaden expected assertion range for layout/generic/crashtests/1015563-1(2).html; r=dholbert
2014-06-10 09:44:01 -06:00
Geoff Brown
e6d725da88
Bug 982958 - Change expected assertion range for layout/generic/crashtests/798020-1.html on Android; r=dholbert
2014-06-10 09:44:01 -06:00
Daniel Holbert
2f1de78ef7
Bug 1021992: Drop decl for never-defined function 'NS_NewVideoFrame'. r=cpearce
2014-06-08 15:36:58 -07:00
Timothy Nikkel
db463ec37a
Bug 1002992. Part 6. Rename ExpandRect to ExpandToNearlyVisibleRect. r=addressingreviewcomment
2014-06-06 21:23:22 -05:00
Timothy Nikkel
22019f0144
Bug 1002992. Part 5. Use a custom frame tree walker to find visible and almost visible images instead of using the heavier weight display list infrastructure. r=mats
...
This is about 3 or 4 times faster.
2014-06-06 21:23:21 -05:00
Timothy Nikkel
3d1560e2fc
Bug 1002992. Part 4. Factor out the code that gets the presshell to use for painting of subdocuments. r=mats
2014-06-06 21:23:21 -05:00
Timothy Nikkel
415fbefe7d
Bug 1002992. Part 2. Handle display ports and ignore viewport scrolling for image visibility display lists the same way we do for painting display lists. r=mats
2014-06-06 21:23:20 -05:00
Timothy Nikkel
23be8f7934
Bug 1002992. Part 1. Don't bother to do text-overflow clipping when building display lists for image visibility. r=mats
...
It's not important to do and simplifies things.
2014-06-06 21:23:20 -05:00
Daniel Holbert
176e414851
Bug 1018449: Don't opportunistically stretch flex items to container's cross-size if the container is multi-line. r=mats
2014-06-06 15:55:58 -07:00
Cameron McCormack
f954679900
Bug 1019555 - Treat newlines and tabs as space characters in SVG xml:space="preserve" text. r=roc
2014-06-05 13:25:15 +10:00
Morris Tseng
3ed6a2adc9
Bug 987718 - Part 6: Hooks up SelectionCaret; r=roc
2014-06-04 22:58:00 +02:00
Morris Tseng
4dfb8172cb
Bug 987718 - Part 2: Expose GetHintForPosition to nsFrameSelection; r=roc
2014-06-04 22:53:00 +02:00
Simon Montagu
16eca1809b
Add a WritingMode argument to nsHTMLReflowMetrics::ISize() and BSize(). Bug 789096, r=jfkthame
2014-06-05 02:39:36 -07:00
Markus Stange
424efcd477
Bug 1019737 - Only layerize the scrollbar thumb if the target scroll frame has active scrolling. r=roc
2014-06-04 14:44:26 +02:00
Markus Stange
f8e81b15d7
Bug 1013392 - Put APZ scrollbar annotations on the scrollbar thumb. r=roc
2014-06-04 14:44:26 +02:00
Jonathan Kew
557964c02c
bug 1019470 - restore space after list-style-image bullet. r=mats
2014-06-04 10:18:52 +01:00
Susanna Bowen
d6e4d34022
Bug 1019287 - Use accessor instead of private variable in ifdef'ed logging code. r=dholbert
2014-06-02 16:26:00 -04:00
Kartikaya Gupta
7d6eb03f73
Bug 1019888 - Log canvas background color when dumping display items. r=tn
2014-06-03 16:21:39 -04:00
Mats Palmgren
6539559550
Bug 1015844 - part 2, Add a call to ReflowOverflowContainerChildren() to reflow abs.pos. overflow containers. r=roc
...
nsColumnSetFrame puts true overflow containers on the principal child list
(which may then get pushed to the overflow list), but overflow containers
for abs.pos. children still go on the kOverflowContainersList and
kExcessOverflowContainersList lists as usual.
2014-06-03 14:17:14 +00:00
Mats Palmgren
37941c64b7
Bug 1015844 - part 1, Only force the search to normal flow child lists for true overflow containers. r=roc
2014-06-03 14:17:14 +00:00
Markus Stange
c58035b973
Bug 1018461 - Allow active scrolling inside SVG. Should give a big tscrollx win. r=roc
2014-06-03 15:55:58 +02:00
Markus Stange
596dea468a
Bug 1018309 - Make the forced scrollbar layerization from bug 1016535 really only kick in for actual overlay scrollbars. r=roc
...
--HG--
extra : rebase_source : 525c4e242f28af85ad7c0f6cae8f2f4083b01d7d
2014-06-03 14:47:27 +02:00
Phoebe Chang
2204a7ac2f
Bug 924692 - Part 4: Hooks up event handling to TouchCaret; r=roc, bugs
2014-06-03 15:08:54 +08:00
Phoebe Chang
4d2bf9e76b
Bug 924692 - Part 1: Add touch caret rendering support; r=roc
2014-06-03 15:08:25 +08:00
Daniel Holbert
7f8577fcb8
Bug 1015563: Soften flexbox assertion that can fail from integer overflow. r=mats
2014-06-02 15:15:23 -07:00
Robert O'Callahan
915297325e
Bug 1015664. Part 1: Remove NS_HIDDEN_() usage. r=bsmedberg
2014-06-03 00:08:21 +12:00
Jonathan Kew
479784d443
bug 1018805 - implement custom lowercasing behavior for Irish. r=smontagu
2014-06-02 12:48:01 +01:00
Jonathan Kew
c3e098822d
bug 1014639 - part 2 - use IrishCasing in nsCaseTransformTextRunFactory::TransformString to provide correct Irish uppercasing. r=smontagu
2014-06-01 23:18:03 +01:00
Jonathan Kew
a1fec56f72
bug 1014639 - part 0 - (preliminary cleanup) split GreekCasing out into its own file to reduce clutter in nsUnicharUtils.cpp. r=smontagu
2014-06-01 23:17:41 +01:00
Phil Ringnalda
cb35da9c6d
Merge f-t to m-c
2014-05-31 20:31:07 -07:00
Victor Porof
928e1cef59
Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj
2014-05-23 17:12:29 -04:00
Xidorn Quan
eb6dcbb235
Bug 1013160 - Remove padding suppressing mechanism of bullet. r=jfkthame,surkov
2014-05-30 09:00:26 +01:00
Matt Woodrow
d8b4a1cd0a
Bug 854421 - Part 11: Use rAF instead of setTimeout in a test. r=roc
2014-05-29 09:45:23 +12:00
Markus Stange
0d63828eeb
Bug 1016971 - Remove unncessary clipping to the displayport. r=tn
2014-05-29 14:12:58 +02:00
Ed Morley
8a6ec0b21c
Backed out changeset efff1d901dca (bug 854421)
2014-05-29 10:55:37 +01:00
L. David Baron
8ed1115e06
Back out changeset 9bd21ab86f78 (bug 1013160) due to regression (bug 1017335).
2014-05-28 18:11:41 -07:00
Mats Palmgren
ad335236f4
Bug 1015562 - [css-grid] Add a missing grid container check. Add a convenience function to check for flex/grid container frames and use that throughout this file. r=dholbert
2014-05-28 23:16:18 +00:00
Matt Woodrow
d885f6f084
Bug 854421 - Part 11: Use rAF instead of setTimeout in a test. r=roc
2014-05-29 09:45:23 +12:00
Xidorn Quan
1bca0056af
Bug 1013160 - Remove padding suppressing mechanism of bullet. r=surkov, r=jfkthame
2014-05-27 18:09:00 -04:00
Mats Palmgren
b4c312216c
Bug 1015781 - part 7, Remove code for handling kAbsoluteList in nsBlockFrame::AppendFrames/InsertFrames/RemoveFrame (it's dead code). Make AppendFrames also handle kNoReflowPrincipalList, for symmetry with InsertFrames/RemoveFrame. r=roc
2014-05-28 19:36:59 +00:00
Mats Palmgren
29cc644e2a
Bug 1015781 - part 6, Make nsViewportFrame::SetInitialChildList/AppendFrames/InsertFrames/RemoveFrame DEBUG only. r=roc
2014-05-28 19:36:59 +00:00
Mats Palmgren
4b24598b55
Bug 1015781 - part 5, Make nsCanvasFrame::SetInitialChildList/AppendFrames/InsertFrames/RemoveFrame DEBUG only. r=roc
2014-05-28 19:36:59 +00:00
Mats Palmgren
12dd57fd5c
Bug 1015781 - part 4, Make nsColumnSetFrame::SetInitialChildList/AppendFrames/InsertFrames/RemoveFrame DEBUG only and assert that the latter three are not called. r=roc
2014-05-28 19:36:58 +00:00
Mats Palmgren
9ec14c5bc9
Bug 1015781 - part 3, Fix whitespace and comments, and move some SetInitialChildList/AppendFrames/InsertFrames/RemoveFrame methods so that they are together in the file. r=roc
2014-05-28 19:36:58 +00:00
Mats Palmgren
77c587f250
Bug 1015781 - part 1+2, Make the SetInitialChildList/AppendFrames/InsertFrames/RemoveFrame methods return void (scripted change). Remove code handling the return values. r=roc
2014-05-28 19:36:58 +00:00
Ed Morley
f36e5c58d7
Backed out changeset 827fe00eecc7 (bug 1013392) for reftest failures on Windows; CLOSED TREE
2014-05-28 18:20:09 +01:00
Markus Stange
2a7d8b0ce0
Bug 1013392 - Put APZ scrollbar annotations on the scrollbar thumb. r=roc
2014-05-28 16:14:43 +02:00
John Schoenick
1fc235049e
Bug 870021 - Part 5.3 - nsImageFrame should take orientation into account when getting natural size from content. r=roc
2014-05-30 13:03:07 -07:00
John Schoenick
1e69a6e978
Bug 870021 - Part 5.2 - Ask content to compute its intrinsic size in nsImageFrame. r=roc
2014-05-30 13:03:07 -07:00
Markus Stange
f21f2bc24c
Bug 1016535 - Always give overlay scrollbars their own layers, even for subframes. r=roc
2014-05-28 11:46:10 +02:00
Robert O'Callahan
2124e37b3a
Bug 1014252. Optimize clearing of textruns via RemoveInFlows. r=matspal
...
We're keeping the core idea that, before we remove the frames-to-be-destroyed
from the continuation chain, their textruns need to be disconnected/destroyed.
However, nsContinuingTextFrame::DestroyFrom tries to optimize when the
destroying frames that aren't mentioned in the userdata for the textrun, and
certain other conditions are met; we need a similar optimization here. It's
simpler here because the other conditions are definitely met, since all the
text for the frames being deleted has already been consumed and reflowed by
previous frames.
We don't need the TEXT_STYLE_MATCHES_PREV_CONTINUATION state bit anymore
because nsContinuingTextFrame::DestroyFrom will never see any textruns when
called via RemoveEmptyInFlows.
--HG--
extra : rebase_source : 6544f923499ef604d48ec15961716549dd25d279
2014-05-28 15:39:25 +12:00
Trevor Saunders
b10bab3da1
bug 966084 - don't QI the result of win->GetFrameElementInternal() when its not required r=smaug
2014-01-23 16:14:29 -05:00
Geoff Brown
faf93f7632
Bug 979921 - Enable some crashtests on Android 2.3; r=dminor
2014-05-27 06:46:15 -06:00
Birunthan Mohanathas
2779282281
Bug 869836 - Part 12: Use Assign('c')
instead of AssignLiteral("c")
. r=ehsan
...
--HG--
extra : rebase_source : a6b15019cee452973dd8bf3112c15e14175855a9
2014-05-26 21:55:08 +03:00
Jonathan Kew
b1992acebf
bug 1015603 part 6 - remove nsFontVariantTextRunFactory from layout, leaving gfx to handle small-caps. r=roc
2014-05-26 14:23:32 +01:00
Jonathan Kew
2d910b717f
bug 1015603 part 5 - implement fake small-caps in gfx using a reduced-size clone of the font. r=roc
2014-05-26 14:23:32 +01:00
Jonathan Kew
3721023208
bug 1015603 part 2 - move the special Greek uppercasing code from nsTextRunTransformations to intl/unicharutil. r=roc
2014-05-26 14:23:31 +01:00
Jonathan Kew
6c26d89005
bug 1015603 part 1 - factor out case transformation from nsCaseTransformTextRunFactory::RebuildTextRun into a separate function. r=roc
2014-05-26 14:23:30 +01:00
Simon Montagu
352872b697
Backout 38b25d5e6cf9 because assertions
2014-05-25 03:15:00 -07:00
Simon Montagu
036f3f407e
Add a WritingMode argument to nsHTMLReflowMetrics::ISize() and BSize(). Bug 789096, r=jfkthame
2014-05-24 23:47:04 -07:00
Mats Palmgren
93993a34ba
Bug 508665 - part 16, Change the type of nsIFrame::mParent to nsContainerFrame* and make it private. r=roc
2014-05-24 22:20:41 +00:00
Mats Palmgren
fdbe7e5aad
Bug 508665 - part 15, s/mParent/GetParent()/ in a bunch of nsIFrame sub-classes. r=roc
2014-05-24 22:20:41 +00:00